Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide_Yajima1990_reference.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.001285/0.001285, allocations: 104.4 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.001454/0.001454, allocations: 215.5 kB / 23 MB, free: 2.938 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.009/1.009, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.7566/0.7566, allocations: 312.3 MB / 0.6108 GB, free: 97.62 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.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide_Yajima1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide_Yajima1990_reference") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide_Yajima1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide_Yajima1990_reference") [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.002648/0.002648, allocations: 77.44 kB / 0.7699 GB, free: 20.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1326, allocations: 73.97 MB / 0.8421 GB, free: 10.31 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide_Yajima1990_reference): time 0.002559/0.1351, allocations: 2.294 MB / 0.8443 GB, free: 8.016 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005916/0.141, allocations: 6.525 MB / 0.8507 GB, free: 1.488 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.1412, allocations: 8.562 kB / 0.8507 GB, free: 1.48 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.1414, allocations: 19.78 kB / 0.8507 GB, free: 1.461 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.1416, allocations: 80.73 kB / 0.8508 GB, free: 1.383 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1418, allocations: 56.5 kB / 0.8509 GB, free: 1.328 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.1421, allocations: 258.7 kB / 0.8511 GB, free: 1.074 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1422, allocations: 29.17 kB / 0.8511 GB, free: 1.047 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1424, allocations: 104.1 kB / 0.8512 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.1425, allocations: 96.11 kB / 0.8513 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.1426, allocations: 19.98 kB / 0.8514 GB, free: 0.832 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.696e-05/0.1426, allocations: 20.62 kB / 0.8514 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.1426, allocations: 35.86 kB / 0.8514 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.342e-05/0.1427, allocations: 88.19 kB / 0.8515 GB, free: 0.6914 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.1429, allocations: 199.7 kB / 0.8517 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.143, allocations: 0.6875 kB / 0.8517 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.084e-06/0.143, allocations: 0 / 0.8517 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.143, allocations: 0.5312 kB / 0.8517 GB, free: 0.4961 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.0007475/0.1437, allocations: 0.4903 MB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1438, allocations: 8.719 kB / 0.8522 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.1438, allocations: 28.8 kB / 0.8522 GB, free: 15.93 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.144, allocations: 179.8 kB / 0.8524 GB, free: 15.72 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.144, allocations: 13.31 kB / 0.8524 GB, free: 15.71 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.1441, allocations: 23.89 kB / 0.8524 GB, free: 15.69 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.1443, allocations: 187 kB / 0.8526 GB, free: 15.49 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1444, allocations: 8.609 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1444, allocations: 4.688 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.1444, allocations: 0 / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.1446, allocations: 147 kB / 0.8527 GB, free: 15.33 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.1452, allocations: 490.6 kB / 0.8532 GB, free: 14.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.1456, allocations: 189.1 kB / 0.8534 GB, free: 14.62 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1457, allocations: 91.09 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1457, allocations: 4.625 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.1459, allocations: 227.7 kB / 0.8537 GB, free: 14.27 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.294e-06/0.1459, allocations: 0 / 0.8537 GB, free: 14.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001051/0.147, allocations: 0.7014 MB / 0.8544 GB, free: 13.51 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.1471, allocations: 136.5 kB / 0.8545 GB, free: 13.34 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.1473, allocations: 215.6 kB / 0.8547 GB, free: 13.12 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1473, allocations: 29.7 kB / 0.8547 GB, free: 13.09 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.845e-05/0.1474, allocations: 137 kB / 0.8549 GB, free: 12.95 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.1474, allocations: 71.92 kB / 0.8549 GB, free: 12.88 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/0.1475, allocations: 61.64 kB / 0.855 GB, free: 12.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1476, allocations: 335.3 kB / 0.8553 GB, free: 12.48 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.1478, allocations: 145.6 kB / 0.8555 GB, free: 12.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.148, allocations: 226.4 kB / 0.8557 GB, free: 12.05 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3028/0.4508, allocations: 270.8 kB / 0.8559 GB, free: 30.29 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4508, allocations: 0.5312 kB / 0.8559 GB, free: 30.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005582/0.4514, allocations: 397.1 kB / 0.8563 GB, free: 30.13 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.4514, allocations: 73.56 kB / 0.8564 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4514, allocations: 1.5 kB / 0.8564 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.4515, allocations: 5.344 kB / 0.8564 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.4516, allocations: 48.72 kB / 0.8564 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.4516, allocations: 5.594 kB / 0.8564 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.4518, allocations: 19.75 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.4518, allocations: 14.56 kB / 0.8565 GB, free: 30.07 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.000191/0.452, allocations: 171.8 kB / 0.8566 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.452, allocations: 24.91 kB / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.4521, allocations: 24.67 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4521, allocations: 4.781 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4521, allocations: 2.562 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.4521, allocations: 1.828 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.4526, allocations: 0.5312 MB / 0.8572 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4526, allocations: 0 / 0.8572 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.4527, allocations: 39 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4528, allocations: 2.906 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.4528, allocations: 6.375 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4528, allocations: 5.203 kB / 0.8573 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4528, allocations: 1.312 kB / 0.8573 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.4532, allocations: 0.493 MB / 0.8577 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.4532, allocations: 22.39 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.4533, allocations: 8.656 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.4534, allocations: 15.34 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.4534, allocations: 19.31 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.4534, allocations: 10.44 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001099/0.4535, allocations: 158.7 kB / 0.858 GB, free: 29.31 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4535, allocations: 0 / 0.858 GB, free: 29.31 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002114/0.4537, allocations: 53.59 kB / 0.858 GB, free: 29.31 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 9.529e-05/0.4538, allocations: 124.5 kB / 0.8581 GB, free: 29.22 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003363/0.4542, allocations: 374.7 kB / 0.8585 GB, free: 29 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.4542, allocations: 0 / 0.8585 GB, free: 29 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.4543, allocations: 178.7 kB / 0.8587 GB, free: 28.9 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.4546, allocations: 76.05 kB / 0.8587 GB, free: 28.9 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009167/0.4555, allocations: 0.7 MB / 0.8594 GB, free: 28.59 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.484e-05/0.4556, allocations: 129.1 kB / 0.8595 GB, free: 28.51 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.4557, allocations: 26.39 kB / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of SimCode: time 1.112e-06/0.4557, allocations: 0 / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of Templates: time 0.00475/0.4604, allocations: 2.936 MB / 0.8624 GB, free: 28.29 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide_Yajima1990_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide_Yajima1990_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide_Yajima1990_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide_Yajima1990_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide_Yajima1990_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide_Yajima1990_reference > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide_Yajima1990_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.161754745058715]