Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001644/0.002745, allocations: 435.8 kB / 10.31 MB, free: 384 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001666/0.002928, allocations: 463.6 kB / 11.65 MB, free: 2.516 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9834/0.9834, allocations: 177.1 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09386/1.077, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7416/0.7416, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03227/0.7739, allocations: 21.04 MB / 0.5431 GB, free: 31.94 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.974e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures): time 0.001116/0.001136, allocations: 0.6832 MB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.375e-05/0.001169, allocations: 19.91 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.001187, allocations: 0 / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.799e-06/0.001192, allocations: 0 / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.252e-05/0.001204, allocations: 3.938 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.733e-05/0.001232, allocations: 0 / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.001284, allocations: 15.98 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.001324, allocations: 4 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.361e-05/0.001378, allocations: 15.61 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.938e-05/0.001427, allocations: 11.92 kB / 0.5452 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.001447, allocations: 4 kB / 0.5452 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-06/0.001453, allocations: 0 / 0.5452 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.001463, allocations: 7.938 kB / 0.5452 GB, free: 29.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.00148, allocations: 0 / 0.5452 GB, free: 29.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.517e-05/0.001535, allocations: 8 kB / 0.5452 GB, free: 29.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.001548, allocations: 0 / 0.5452 GB, free: 29.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.001549, allocations: 0 / 0.5452 GB, free: 29.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.001559, allocations: 0 / 0.5452 GB, free: 29.8 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002557/0.001814, allocations: 243 kB / 0.5455 GB, free: 29.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.001843, allocations: 11.89 kB / 0.5455 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.86e-05/0.001861, allocations: 4.938 kB / 0.5455 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.546e-05/0.001917, allocations: 117.7 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.001926, allocations: 384 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-06/0.001933, allocations: 384 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.949e-05/0.001992, allocations: 38.25 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.001997, allocations: 192 / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.002003, allocations: 384 / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.002007, allocations: 4.375 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.656e-05/0.002024, allocations: 11.88 kB / 0.5456 GB, free: 29.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.953e-05/0.002093, allocations: 61.03 kB / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.002222, allocations: 46.59 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.002237, allocations: 12.86 kB / 0.5458 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.002243, allocations: 4 kB / 0.5458 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.137e-05/0.002255, allocations: 30.56 kB / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.002256, allocations: 3.984 kB / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 7.54e-05/0.002331, allocations: 45.72 kB / 0.5458 GB, free: 29.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/0.002349, allocations: 55.41 kB / 0.5459 GB, free: 29.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.985e-05/0.002379, allocations: 106.7 kB / 0.546 GB, free: 28.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-06/0.002382, allocations: 29.7 kB / 0.546 GB, free: 28.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.341e-06/0.002389, allocations: 80.14 kB / 0.5461 GB, free: 28.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.00241, allocations: 15.84 kB / 0.5461 GB, free: 28.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.00243, allocations: 21.7 kB / 0.5461 GB, free: 28.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.696e-05/0.002456, allocations: 318.8 kB / 0.5464 GB, free: 28.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.492e-06/0.002463, allocations: 4 kB / 0.5464 GB, free: 28.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-06/0.00247, allocations: 4 kB / 0.5464 GB, free: 28.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.054e-05/0.002491, allocations: 20.84 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.002493, allocations: 3.938 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.087e-05/0.002524, allocations: 37.69 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.002533, allocations: 8 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.002537, allocations: 0 / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/0.002543, allocations: 0 / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.255e-05/0.002576, allocations: 8 kB / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.002578, allocations: 4 kB / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-06/0.002587, allocations: 0 / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-06/0.00259, allocations: 0 / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.002618, allocations: 109.8 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-06/0.002622, allocations: 7.984 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.422e-05/0.002636, allocations: 11.62 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.002637, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.002639, allocations: 7.312 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.002642, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.757e-05/0.002679, allocations: 73.77 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-07/0.00268, allocations: 4 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.002694, allocations: 11.98 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.002699, allocations: 4 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.0027, allocations: 4 kB / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-06/0.002703, allocations: 0 / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.002704, allocations: 0 / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.002704, allocations: 0 / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.46e-05/0.002749, allocations: 65.06 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-06/0.002755, allocations: 0 / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.027e-05/0.002766, allocations: 0 / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.002776, allocations: 7.984 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.002777, allocations: 4 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.857e-06/0.002786, allocations: 12.86 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002786, allocations: 3.938 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.239e-05/0.002869, allocations: 4 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 4.993e-05/0.002919, allocations: 80.42 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.22e-05/0.002971, allocations: 21.22 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.002974, allocations: 4 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.924e-06/0.002982, allocations: 12.94 kB / 0.5469 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.561e-05/0.003037, allocations: 13.91 kB / 0.547 GB, free: 27.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001594/0.003197, allocations: 136.3 kB / 0.5471 GB, free: 27.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.205e-05/0.003219, allocations: 63.36 kB / 0.5472 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.278e-05/0.003232, allocations: 0 / 0.5472 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.00326, allocations: 55.36 kB / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.003261, allocations: 0 / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of Templates: time 0.001689/0.00495, allocations: 461.5 kB / 0.5476 GB, free: 27.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX14_Levetiracetam.Levetiracetam_Schoemaker2018_PD_seizures.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.982197867706418]