Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.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.0009278/0.0009278, allocations: 104.3 kB / 19.71 MB, free: 436 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.0009407/0.0009407, allocations: 219.9 kB / 23.01 MB, free: 2.965 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.038/1.038, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.746/0.746, allocations: 312.4 MB / 0.6109 GB, free: 97.74 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.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate") [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.001671/0.001671, allocations: 74.88 kB / 0.7699 GB, free: 20.29 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1522, allocations: 73.98 MB / 0.8422 GB, free: 10.43 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate): time 0.002686/0.1548, allocations: 2.304 MB / 0.8444 GB, free: 8.133 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006873/0.1617, allocations: 6.529 MB / 0.8508 GB, free: 1.602 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.1619, allocations: 0 / 0.8508 GB, free: 1.602 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.162, allocations: 28.25 kB / 0.8508 GB, free: 1.574 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.1622, allocations: 79.95 kB / 0.8509 GB, free: 1.496 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1624, allocations: 49.03 kB / 0.8509 GB, free: 1.449 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.1626, allocations: 262.7 kB / 0.8512 GB, free: 1.191 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.1628, allocations: 33.08 kB / 0.8512 GB, free: 1.16 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.163, allocations: 92.25 kB / 0.8513 GB, free: 1.07 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.1633, allocations: 104.1 kB / 0.8514 GB, free: 0.9688 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.1633, allocations: 16 kB / 0.8514 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.524e-05/0.1633, allocations: 16.62 kB / 0.8514 GB, free: 0.9375 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.1634, allocations: 35.84 kB / 0.8515 GB, free: 0.9023 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1635, allocations: 96.08 kB / 0.8516 GB, free: 0.8086 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.1638, allocations: 199.7 kB / 0.8518 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1638, allocations: 0 / 0.8518 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1638, allocations: 0.6875 kB / 0.8518 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1638, allocations: 0 / 0.8518 GB, free: 0.6133 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008841/0.1647, allocations: 0.491 MB / 0.8522 GB, free: 80 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1647, allocations: 8.031 kB / 0.8523 GB, free: 72 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.1648, allocations: 25.64 kB / 0.8523 GB, free: 48 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1651, allocations: 183.1 kB / 0.8525 GB, free: 15.84 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1651, allocations: 13.23 kB / 0.8525 GB, free: 15.83 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.1651, allocations: 20.42 kB / 0.8525 GB, free: 15.81 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.1655, allocations: 190.9 kB / 0.8527 GB, free: 15.61 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.1655, allocations: 4.562 kB / 0.8527 GB, free: 15.6 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.1655, allocations: 4 kB / 0.8527 GB, free: 15.6 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1655, allocations: 4.5 kB / 0.8527 GB, free: 15.59 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.1658, allocations: 147.5 kB / 0.8528 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008118/0.1666, allocations: 494 kB / 0.8533 GB, free: 14.93 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/0.167, allocations: 169.3 kB / 0.8535 GB, free: 14.75 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.1672, allocations: 102.1 kB / 0.8535 GB, free: 14.64 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.1672, allocations: 0 / 0.8535 GB, free: 14.64 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.1676, allocations: 225.6 kB / 0.8538 GB, free: 14.39 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.716e-06/0.1676, allocations: 0.5938 kB / 0.8538 GB, free: 14.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001284/0.1688, allocations: 0.6969 MB / 0.8544 GB, free: 13.64 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.1689, allocations: 145.1 kB / 0.8546 GB, free: 13.46 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1691, allocations: 211 kB / 0.8548 GB, free: 13.25 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.1692, allocations: 34.27 kB / 0.8548 GB, free: 13.21 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.1693, allocations: 132.5 kB / 0.8549 GB, free: 13.08 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.1693, allocations: 72.08 kB / 0.855 GB, free: 13.01 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.494e-05/0.1694, allocations: 54.28 kB / 0.8551 GB, free: 12.95 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1695, allocations: 342.8 kB / 0.8554 GB, free: 12.61 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.1697, allocations: 150 kB / 0.8555 GB, free: 12.44 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.17, allocations: 213.9 kB / 0.8557 GB, free: 12.19 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.1704, allocations: 285.9 kB / 0.856 GB, free: 11.87 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1704, allocations: 4 kB / 0.856 GB, free: 11.87 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.2891/0.4594, allocations: 382.9 kB / 0.8564 GB, free: 30.22 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/0.4595, allocations: 67.84 kB / 0.8564 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4595, allocations: 2.75 kB / 0.8564 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.4595, allocations: 2.406 kB / 0.8564 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.4597, allocations: 52.84 kB / 0.8565 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4597, allocations: 11.12 kB / 0.8565 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.4598, allocations: 18.48 kB / 0.8565 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.4598, allocations: 9.875 kB / 0.8565 GB, free: 30.16 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001788/0.46, allocations: 174.8 kB / 0.8567 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.46, allocations: 22.59 kB / 0.8567 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.4601, allocations: 25.94 kB / 0.8567 GB, free: 30.01 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4601, allocations: 2.844 kB / 0.8568 GB, free: 30.01 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4601, allocations: 3.375 kB / 0.8568 GB, free: 30.01 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4601, allocations: 3.469 kB / 0.8568 GB, free: 30.01 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.4606, allocations: 0.5357 MB / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4606, allocations: 0 / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.4607, allocations: 38.78 kB / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4607, allocations: 1.031 kB / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.4608, allocations: 6.812 kB / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4608, allocations: 0 / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4608, allocations: 6.875 kB / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.4612, allocations: 0.4907 MB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.4612, allocations: 27.19 kB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.4612, allocations: 7.625 kB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-05/0.4613, allocations: 14.33 kB / 0.8579 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.4614, allocations: 24.33 kB / 0.8579 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.4614, allocations: 10.45 kB / 0.8579 GB, free: 29.48 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.192e-05/0.4615, allocations: 154.9 kB / 0.858 GB, free: 29.41 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4615, allocations: 2.953 kB / 0.858 GB, free: 29.41 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002069/0.4617, allocations: 54.28 kB / 0.8581 GB, free: 29.41 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001016/0.4618, allocations: 117.3 kB / 0.8582 GB, free: 29.32 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003612/0.4622, allocations: 383.2 kB / 0.8586 GB, free: 29.1 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4622, allocations: 0 / 0.8586 GB, free: 29.1 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.4623, allocations: 168.9 kB / 0.8587 GB, free: 29 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.4626, allocations: 75.03 kB / 0.8588 GB, free: 29 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.4636, allocations: 0.7052 MB / 0.8595 GB, free: 28.7 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.951e-05/0.4637, allocations: 125.5 kB / 0.8596 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.4637, allocations: 24.48 kB / 0.8596 GB, free: 28.61 MB / 490.8 MB Notification: Performance of SimCode: time 4.61e-07/0.4637, allocations: 0 / 0.8596 GB, free: 28.61 MB / 490.8 MB Notification: Performance of Templates: time 0.004371/0.4681, allocations: 2.947 MB / 0.8625 GB, free: 28.42 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.303156300447881]