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.001693/0.001693, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.001976/0.001976, allocations: 213.9 kB / 22.25 MB, free: 3.582 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 1.816/1.816, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.538/1.538, allocations: 316.7 MB / 0.6144 GB, free: 92.93 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004009/0.004009, allocations: 69.73 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.149, allocations: 74 MB / 0.8473 GB, free: 4.91 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam): time 0.00448/0.1535, allocations: 2.717 MB / 0.8499 GB, free: 2.191 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2997/0.4531, allocations: 6.61 MB / 0.8564 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.4534, allocations: 3.312 kB / 0.8564 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.4535, allocations: 38.84 kB / 0.8564 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.4538, allocations: 116.8 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.454, allocations: 75.84 kB / 0.8566 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.4544, allocations: 373 kB / 0.857 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.4545, allocations: 49.19 kB / 0.857 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.4547, allocations: 151 kB / 0.8572 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.4549, allocations: 142.2 kB / 0.8573 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.455, allocations: 22 kB / 0.8573 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.631e-05/0.455, allocations: 26.09 kB / 0.8573 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.4551, allocations: 53.19 kB / 0.8574 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.4552, allocations: 134.9 kB / 0.8575 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.4555, allocations: 289 kB / 0.8578 GB, free: 21.68 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4555, allocations: 2.562 kB / 0.8578 GB, free: 21.68 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4555, allocations: 0 / 0.8578 GB, free: 21.68 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.4555, allocations: 0.875 kB / 0.8578 GB, free: 21.68 MB / 490.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.0009191/0.4564, allocations: 0.5958 MB / 0.8584 GB, free: 21.22 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.4565, allocations: 15.53 kB / 0.8584 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.4565, allocations: 30.25 kB / 0.8584 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.4568, allocations: 216.4 kB / 0.8586 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.4568, allocations: 17.83 kB / 0.8586 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.4568, allocations: 26.12 kB / 0.8587 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.4573, allocations: 287 kB / 0.8589 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.4573, allocations: 7.984 kB / 0.859 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.4573, allocations: 4.375 kB / 0.859 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4573, allocations: 6.938 kB / 0.859 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.4577, allocations: 232.7 kB / 0.8592 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009785/0.4587, allocations: 0.6746 MB / 0.8598 GB, free: 20.5 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.4592, allocations: 239.8 kB / 0.8601 GB, free: 20.41 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.4594, allocations: 147.3 kB / 0.8602 GB, free: 20.34 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.4594, allocations: 2.344 kB / 0.8602 GB, free: 20.34 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003913/0.4598, allocations: 367.4 kB / 0.8606 GB, free: 20.1 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.4598, allocations: 0 / 0.8606 GB, free: 20.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001881/0.4617, allocations: 1.077 MB / 0.8616 GB, free: 19.56 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/0.4617, allocations: 220.6 kB / 0.8618 GB, free: 19.31 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.462, allocations: 244.2 kB / 0.8621 GB, free: 19.2 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.462, allocations: 43.75 kB / 0.8621 GB, free: 19.16 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/0.4621, allocations: 156.8 kB / 0.8623 GB, free: 19.05 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/0.4622, allocations: 120.7 kB / 0.8624 GB, free: 18.98 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.845e-05/0.4623, allocations: 69.45 kB / 0.8624 GB, free: 18.97 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.4623, allocations: 342.9 kB / 0.8628 GB, free: 18.66 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.4626, allocations: 208.6 kB / 0.863 GB, free: 18.55 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.4629, allocations: 318.8 kB / 0.8633 GB, free: 18.32 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/0.4635, allocations: 430.3 kB / 0.8637 GB, free: 18.05 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4635, allocations: 1.594 kB / 0.8637 GB, free: 18.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000757/0.4642, allocations: 0.5491 MB / 0.8642 GB, free: 17.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.4643, allocations: 92.67 kB / 0.8643 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4643, allocations: 3.047 kB / 0.8643 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.4643, allocations: 7.531 kB / 0.8643 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.4646, allocations: 80.61 kB / 0.8644 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.4646, allocations: 6.234 kB / 0.8644 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.4649, allocations: 25.28 kB / 0.8644 GB, free: 17.69 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.4649, allocations: 17.61 kB / 0.8644 GB, free: 17.69 MB / 490.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.0002082/0.4651, allocations: 224.3 kB / 0.8647 GB, free: 17.51 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.4652, allocations: 32.39 kB / 0.8647 GB, free: 17.49 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.944e-05/0.4652, allocations: 30.53 kB / 0.8647 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4652, allocations: 2.781 kB / 0.8647 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4652, allocations: 2.219 kB / 0.8647 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4652, allocations: 5.25 kB / 0.8647 GB, free: 17.48 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.4663, allocations: 0.7653 MB / 0.8655 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4663, allocations: 5.906 kB / 0.8655 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.4666, allocations: 51.09 kB / 0.8655 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.4666, allocations: 0.9688 kB / 0.8655 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.4666, allocations: 15.91 kB / 0.8655 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.4666, allocations: 1.094 kB / 0.8655 GB, free: 17.11 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4666, allocations: 5.312 kB / 0.8655 GB, free: 17.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.4677, allocations: 0.7251 MB / 0.8663 GB, free: 16.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.4677, allocations: 29.2 kB / 0.8663 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.4678, allocations: 16.66 kB / 0.8663 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.468, allocations: 16.38 kB / 0.8663 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.4681, allocations: 31.11 kB / 0.8663 GB, free: 16.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.4681, allocations: 10.89 kB / 0.8664 GB, free: 16.73 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001702/0.4683, allocations: 181.3 kB / 0.8665 GB, free: 16.65 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4683, allocations: 0 / 0.8665 GB, free: 16.65 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003844/0.4687, allocations: 84.08 kB / 0.8666 GB, free: 16.65 MB / 490.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.0001198/0.4688, allocations: 127 kB / 0.8667 GB, free: 16.56 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007357/0.4695, allocations: 0.569 MB / 0.8673 GB, free: 16.2 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4695, allocations: 0 / 0.8673 GB, free: 16.2 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.4698, allocations: 296.1 kB / 0.8676 GB, free: 16 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.4704, allocations: 92 kB / 0.8677 GB, free: 16 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.4721, allocations: 0.938 MB / 0.8686 GB, free: 15.52 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.4722, allocations: 160.8 kB / 0.8687 GB, free: 15.44 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.4724, allocations: 34.16 kB / 0.8688 GB, free: 15.43 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.4725, allocations: 32.34 kB / 0.8688 GB, free: 15.42 MB / 490.8 MB Notification: Performance of SimCode: time 4.8e-07/0.4725, allocations: 0 / 0.8688 GB, free: 15.42 MB / 490.8 MB Notification: Performance of Templates: time 0.0109/0.4834, allocations: 4.984 MB / 0.8737 GB, free: 14.93 MB / 490.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: 8.748484618030488]