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.001298/0.001298, allocations: 112.3 kB / 19.71 MB, free: 432 kB / 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.001414/0.001414, allocations: 221.3 kB / 23 MB, free: 2.961 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.016/1.016, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.7153/0.7153, allocations: 312.3 MB / 0.6108 GB, free: 97.05 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.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.001398/0.001398, allocations: 81.02 kB / 0.7699 GB, free: 19.63 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1072, allocations: 73.99 MB / 0.8422 GB, free: 9.785 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam): time 0.002654/0.1099, allocations: 2.714 MB / 0.8448 GB, free: 7.07 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005297/0.1152, allocations: 6.602 MB / 0.8513 GB, free: 480 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.1154, allocations: 4.531 kB / 0.8513 GB, free: 476 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.1155, allocations: 39.62 kB / 0.8513 GB, free: 436 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.1158, allocations: 120.9 kB / 0.8514 GB, free: 316 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.116, allocations: 72.5 kB / 0.8515 GB, free: 244 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.1163, allocations: 382.1 kB / 0.8519 GB, free: 15.86 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.1164, allocations: 49.5 kB / 0.8519 GB, free: 15.82 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1166, allocations: 139.5 kB / 0.8521 GB, free: 15.68 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.1168, allocations: 140 kB / 0.8522 GB, free: 15.54 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.1168, allocations: 24.59 kB / 0.8522 GB, free: 15.52 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.341e-05/0.1168, allocations: 24.62 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.1169, allocations: 59.7 kB / 0.8523 GB, free: 15.44 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.422e-05/0.117, allocations: 136 kB / 0.8524 GB, free: 15.3 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.1172, allocations: 290.8 kB / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1172, allocations: 0.6875 kB / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1172, allocations: 0 / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1172, allocations: 4.688 kB / 0.8527 GB, free: 15.02 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.0007345/0.118, allocations: 0.5902 MB / 0.8533 GB, free: 14.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.118, allocations: 16.75 kB / 0.8533 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.118, allocations: 36.75 kB / 0.8533 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1183, allocations: 209.7 kB / 0.8535 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1183, allocations: 12.75 kB / 0.8535 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.1183, allocations: 28.56 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.1186, allocations: 288.5 kB / 0.8538 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1186, allocations: 12.53 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.1187, allocations: 8 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1187, allocations: 4.5 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.1189, allocations: 233.6 kB / 0.8541 GB, free: 13.49 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007549/0.1197, allocations: 0.6771 MB / 0.8548 GB, free: 12.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.12, allocations: 235.3 kB / 0.855 GB, free: 12.52 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.1202, allocations: 157 kB / 0.8551 GB, free: 12.35 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.1202, allocations: 0.5312 kB / 0.8551 GB, free: 12.35 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000289/0.1205, allocations: 358.8 kB / 0.8555 GB, free: 11.95 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.294e-06/0.1205, allocations: 4 kB / 0.8555 GB, free: 11.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2656/0.3861, allocations: 1.075 MB / 0.8565 GB, free: 21.04 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.3861, allocations: 217.5 kB / 0.8567 GB, free: 20.79 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.3863, allocations: 249.3 kB / 0.857 GB, free: 20.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3864, allocations: 39.7 kB / 0.857 GB, free: 20.65 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.3864, allocations: 155.8 kB / 0.8572 GB, free: 20.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.3865, allocations: 114.6 kB / 0.8573 GB, free: 20.49 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.3865, allocations: 74.89 kB / 0.8573 GB, free: 20.47 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.618e-05/0.3866, allocations: 339.7 kB / 0.8577 GB, free: 20.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.3868, allocations: 211.7 kB / 0.8579 GB, free: 20.05 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.387, allocations: 314.9 kB / 0.8582 GB, free: 19.82 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.3873, allocations: 439.1 kB / 0.8586 GB, free: 19.57 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3873, allocations: 4.562 kB / 0.8586 GB, free: 19.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004547/0.3878, allocations: 0.5457 MB / 0.8591 GB, free: 19.32 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.3878, allocations: 91.39 kB / 0.8592 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3878, allocations: 9.219 kB / 0.8592 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3878, allocations: 3.656 kB / 0.8592 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.388, allocations: 78.17 kB / 0.8593 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.388, allocations: 10.39 kB / 0.8593 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.3881, allocations: 21.73 kB / 0.8593 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.3882, allocations: 18.95 kB / 0.8593 GB, free: 19.23 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.0001959/0.3884, allocations: 227.8 kB / 0.8596 GB, free: 19.04 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.3884, allocations: 31.62 kB / 0.8596 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.3884, allocations: 33.86 kB / 0.8596 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3884, allocations: 2.625 kB / 0.8596 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.3884, allocations: 2 kB / 0.8596 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3884, allocations: 5.125 kB / 0.8596 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006834/0.3891, allocations: 0.7627 MB / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3891, allocations: 0.75 kB / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.3893, allocations: 53.14 kB / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3893, allocations: 0.75 kB / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.3893, allocations: 17.41 kB / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3893, allocations: 0.5 kB / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3893, allocations: 6.891 kB / 0.8605 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.3899, allocations: 0.7213 MB / 0.8612 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.3899, allocations: 24.89 kB / 0.8612 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.39, allocations: 15.41 kB / 0.8612 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3901, allocations: 14.33 kB / 0.8612 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.3902, allocations: 36.17 kB / 0.8612 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3902, allocations: 16.05 kB / 0.8613 GB, free: 18.29 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001085/0.3903, allocations: 179.3 kB / 0.8614 GB, free: 18.21 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3903, allocations: 0.5938 kB / 0.8614 GB, free: 18.21 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000229/0.3905, allocations: 82 kB / 0.8615 GB, free: 18.21 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.000105/0.3906, allocations: 124.2 kB / 0.8616 GB, free: 18.12 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004772/0.3911, allocations: 0.5623 MB / 0.8622 GB, free: 17.78 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3911, allocations: 1.781 kB / 0.8622 GB, free: 17.78 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.3913, allocations: 304.6 kB / 0.8625 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.3916, allocations: 88.22 kB / 0.8626 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.3928, allocations: 0.9714 MB / 0.8635 GB, free: 17.09 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.393, allocations: 159.2 kB / 0.8637 GB, free: 17 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.393, allocations: 28.8 kB / 0.8637 GB, free: 17 MB / 490.8 MB Notification: Performance of SimCode: time 7.22e-07/0.393, allocations: 0 / 0.8637 GB, free: 17 MB / 490.8 MB Notification: Performance of Templates: time 0.005731/0.3988, allocations: 4.012 MB / 0.8676 GB, free: 16.65 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AE01_Clonazepam.Clonazepam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.512092681601644]