Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.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.001795/0.001795, allocations: 76.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.002036/0.002036, allocations: 177.2 kB / 22.46 MB, free: 2.09 MB / 18.57 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 1.78/1.78, allocations: 177.1 MB / 202.8 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 178] 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 1.328/1.328, allocations: 292.9 MB / 0.5392 GB, free: 50.19 MB / 410.7 MB " [Timeout remaining time 178] 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.N03AE01_Clonazepam.Clonazepam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=950400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=950400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.255e-05, allocations: 10.22 kB / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam): time 0.003409/0.003432, allocations: 2.715 MB / 0.7026 GB, free: 5.801 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00596/0.009392, allocations: 6.619 MB / 0.709 GB, free: 15.17 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.009551, allocations: 0 / 0.709 GB, free: 15.17 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.009716, allocations: 43.56 kB / 0.7091 GB, free: 15.13 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.01004, allocations: 119 kB / 0.7092 GB, free: 15.01 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.01033, allocations: 71.89 kB / 0.7093 GB, free: 14.94 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004864/0.01081, allocations: 397.9 kB / 0.7096 GB, free: 14.55 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.01099, allocations: 56.83 kB / 0.7097 GB, free: 14.5 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.01129, allocations: 215.4 kB / 0.7099 GB, free: 14.29 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.01156, allocations: 111.7 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.01161, allocations: 24 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.353e-05/0.01166, allocations: 27.94 kB / 0.7101 GB, free: 14.13 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.305e-05/0.01173, allocations: 51.77 kB / 0.7101 GB, free: 14.08 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.01189, allocations: 119.7 kB / 0.7102 GB, free: 13.96 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.01231, allocations: 291.2 kB / 0.7105 GB, free: 13.68 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.01232, allocations: 0 / 0.7105 GB, free: 13.68 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01232, allocations: 4 kB / 0.7105 GB, free: 13.67 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.01232, allocations: 0 / 0.7105 GB, free: 13.67 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001226/0.01355, allocations: 0.5963 MB / 0.7111 GB, free: 13.02 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.01359, allocations: 11.97 kB / 0.7111 GB, free: 13.01 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.01369, allocations: 32.75 kB / 0.7111 GB, free: 12.98 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.01402, allocations: 212.7 kB / 0.7113 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.01405, allocations: 20.75 kB / 0.7113 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.0141, allocations: 28.31 kB / 0.7114 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.01464, allocations: 288.5 kB / 0.7117 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.01466, allocations: 7.953 kB / 0.7117 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.01469, allocations: 8 kB / 0.7117 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.01469, allocations: 8 kB / 0.7117 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005261/0.01522, allocations: 232.5 kB / 0.7119 GB, free: 12.13 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.01651, allocations: 0.6718 MB / 0.7126 GB, free: 11.42 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.01714, allocations: 245.3 kB / 0.7128 GB, free: 11.16 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.01747, allocations: 148.4 kB / 0.7129 GB, free: 11 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.01748, allocations: 4 kB / 0.7129 GB, free: 11 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005554/0.01804, allocations: 369.3 kB / 0.7133 GB, free: 10.59 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.01804, allocations: 0 / 0.7133 GB, free: 10.59 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002221/0.02026, allocations: 1.084 MB / 0.7143 GB, free: 9.414 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.02042, allocations: 225.6 kB / 0.7146 GB, free: 9.145 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.02071, allocations: 241.9 kB / 0.7148 GB, free: 8.902 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.02076, allocations: 37.7 kB / 0.7148 GB, free: 8.859 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.02091, allocations: 156.8 kB / 0.715 GB, free: 8.699 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.02101, allocations: 111.1 kB / 0.7151 GB, free: 8.59 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.02114, allocations: 74.19 kB / 0.7151 GB, free: 8.508 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.02133, allocations: 346.7 kB / 0.7155 GB, free: 8.16 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.02169, allocations: 207.9 kB / 0.7157 GB, free: 7.938 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.02213, allocations: 311.2 kB / 0.716 GB, free: 7.574 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007596/0.02289, allocations: 435.3 kB / 0.7164 GB, free: 7.082 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.02289, allocations: 0 / 0.7164 GB, free: 7.082 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009349/0.02383, allocations: 0.5457 MB / 0.7169 GB, free: 6.492 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.671e-05/0.02391, allocations: 89.11 kB / 0.717 GB, free: 6.387 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.02391, allocations: 4.344 kB / 0.717 GB, free: 6.383 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.02394, allocations: 11.98 kB / 0.717 GB, free: 6.371 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.02426, allocations: 79.83 kB / 0.7171 GB, free: 6.293 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.02427, allocations: 7.938 kB / 0.7171 GB, free: 6.285 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.02451, allocations: 23.98 kB / 0.7171 GB, free: 6.262 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.02454, allocations: 16 kB / 0.7171 GB, free: 6.246 MB / 426.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0002853/0.02483, allocations: 223 kB / 0.7174 GB, free: 6.004 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.02488, allocations: 31.81 kB / 0.7174 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.509e-05/0.02496, allocations: 34.95 kB / 0.7174 GB, free: 5.938 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.02496, allocations: 4 kB / 0.7174 GB, free: 5.934 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.02497, allocations: 0 / 0.7174 GB, free: 5.934 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.02497, allocations: 7.922 kB / 0.7174 GB, free: 5.926 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.02621, allocations: 0.76 MB / 0.7182 GB, free: 5.105 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.02621, allocations: 0 / 0.7182 GB, free: 5.105 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.02652, allocations: 55.91 kB / 0.7182 GB, free: 5.051 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.02652, allocations: 8 kB / 0.7182 GB, free: 5.043 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.02655, allocations: 11.98 kB / 0.7182 GB, free: 5.031 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.02655, allocations: 0 / 0.7182 GB, free: 5.031 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.02656, allocations: 7.938 kB / 0.7183 GB, free: 5.023 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.02775, allocations: 0.7191 MB / 0.719 GB, free: 4.246 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.02781, allocations: 31.86 kB / 0.719 GB, free: 4.215 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.02786, allocations: 8 kB / 0.719 GB, free: 4.207 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.02808, allocations: 19.98 kB / 0.719 GB, free: 4.188 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.02818, allocations: 31.89 kB / 0.719 GB, free: 4.156 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.02821, allocations: 15.98 kB / 0.7191 GB, free: 4.141 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001984/0.02841, allocations: 177.2 kB / 0.7192 GB, free: 3.969 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.02841, allocations: 3.938 kB / 0.7192 GB, free: 3.965 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003648/0.02877, allocations: 84 kB / 0.7193 GB, free: 3.883 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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 0.0001685/0.02894, allocations: 126.9 kB / 0.7194 GB, free: 3.754 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.1863/0.2152, allocations: 0.5588 MB / 0.72 GB, free: 37.07 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.2152, allocations: 0 / 0.72 GB, free: 37.07 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.2157, allocations: 298.1 kB / 0.7203 GB, free: 36.88 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006778/0.2163, allocations: 89.25 kB / 0.7203 GB, free: 36.88 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.2178, allocations: 0.7936 MB / 0.7211 GB, free: 36.48 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.2179, allocations: 156 kB / 0.7213 GB, free: 36.41 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.2181, allocations: 32.59 kB / 0.7213 GB, free: 36.4 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-05/0.2182, allocations: 33.02 kB / 0.7213 GB, free: 36.38 MB / 426.8 MB Notification: Performance of SimCode: time 1.152e-06/0.2182, allocations: 0 / 0.7213 GB, free: 36.38 MB / 426.8 MB Notification: Performance of Templates: time 0.01006/0.2282, allocations: 4.546 MB / 0.7258 GB, free: 35.96 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.9840294239111245]