Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.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.001004/0.001004, allocations: 108.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.001007/0.001007, allocations: 213.3 kB / 23 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 0.9875/0.9875, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7119/0.7119, allocations: 312.3 MB / 0.6108 GB, free: 97.61 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.M03AC04_Atracurium.Atracurium,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium") [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.002033/0.002033, allocations: 77.17 kB / 0.7699 GB, free: 20.18 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1582, allocations: 73.98 MB / 0.8421 GB, free: 10.32 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium): time 0.005536/0.1637, allocations: 2.31 MB / 0.8444 GB, free: 8.016 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005746/0.1695, allocations: 6.525 MB / 0.8508 GB, free: 1.488 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-05/0.1696, allocations: 0.5938 kB / 0.8508 GB, free: 1.488 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.1697, allocations: 27.72 kB / 0.8508 GB, free: 1.461 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.1699, allocations: 84.72 kB / 0.8509 GB, free: 1.379 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.1701, allocations: 48.56 kB / 0.8509 GB, free: 1.332 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.1703, allocations: 262.7 kB / 0.8512 GB, free: 1.074 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.1705, allocations: 33.19 kB / 0.8512 GB, free: 1.043 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1706, allocations: 95.66 kB / 0.8513 GB, free: 0.9492 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.1708, allocations: 104.1 kB / 0.8514 GB, free: 0.8477 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.1708, allocations: 16.66 kB / 0.8514 GB, free: 0.832 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.827e-05/0.1709, allocations: 16.62 kB / 0.8514 GB, free: 0.8164 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.1709, allocations: 39.84 kB / 0.8515 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.427e-05/0.171, allocations: 88.25 kB / 0.8515 GB, free: 0.6914 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.1712, allocations: 195.2 kB / 0.8517 GB, free: 0.5 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1712, allocations: 0.625 kB / 0.8517 GB, free: 0.5 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1712, allocations: 0 / 0.8517 GB, free: 0.5 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1712, allocations: 4.531 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.0006934/0.1719, allocations: 0.4947 MB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1719, allocations: 12.03 kB / 0.8522 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.172, allocations: 21.39 kB / 0.8522 GB, free: 15.93 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1722, allocations: 179.7 kB / 0.8524 GB, free: 15.72 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1722, allocations: 9.297 kB / 0.8524 GB, free: 15.71 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.1722, allocations: 19.89 kB / 0.8524 GB, free: 15.7 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1725, allocations: 202.8 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1725, allocations: 0.625 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1725, allocations: 0 / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1725, allocations: 4.594 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.1727, allocations: 151.5 kB / 0.8528 GB, free: 15.32 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.1733, allocations: 486.7 kB / 0.8533 GB, free: 14.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.1736, allocations: 177.3 kB / 0.8534 GB, free: 14.63 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1737, allocations: 95.14 kB / 0.8535 GB, free: 14.53 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.1737, allocations: 0.625 kB / 0.8535 GB, free: 14.53 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.1739, allocations: 225.1 kB / 0.8537 GB, free: 14.28 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.1739, allocations: 0.5 kB / 0.8537 GB, free: 14.28 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009603/0.1749, allocations: 0.6972 MB / 0.8544 GB, free: 13.52 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.1749, allocations: 140.5 kB / 0.8545 GB, free: 13.35 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1751, allocations: 211.7 kB / 0.8547 GB, free: 13.14 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1751, allocations: 33.7 kB / 0.8548 GB, free: 13.1 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.1752, allocations: 133.1 kB / 0.8549 GB, free: 12.96 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.1752, allocations: 76.17 kB / 0.855 GB, free: 12.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.1754, allocations: 57.66 kB / 0.855 GB, free: 12.83 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.566e-05/0.1754, allocations: 335.3 kB / 0.8553 GB, free: 12.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1756, allocations: 149.4 kB / 0.8555 GB, free: 12.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.1757, allocations: 222 kB / 0.8557 GB, free: 12.07 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2336/0.4093, allocations: 277.9 kB / 0.856 GB, free: 30.32 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4093, allocations: 0.5312 kB / 0.856 GB, free: 30.32 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00049/0.4098, allocations: 390.1 kB / 0.8563 GB, free: 30.16 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/0.4098, allocations: 67.47 kB / 0.8564 GB, free: 30.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4098, allocations: 4.094 kB / 0.8564 GB, free: 30.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.4098, allocations: 3.344 kB / 0.8564 GB, free: 30.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.41, allocations: 53.7 kB / 0.8565 GB, free: 30.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.41, allocations: 3.109 kB / 0.8565 GB, free: 30.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.4102, allocations: 22.88 kB / 0.8565 GB, free: 30.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.4102, allocations: 12.5 kB / 0.8565 GB, free: 30.1 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.0001697/0.4104, allocations: 170.4 kB / 0.8567 GB, free: 29.96 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.4104, allocations: 25.73 kB / 0.8567 GB, free: 29.96 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.4104, allocations: 24.69 kB / 0.8567 GB, free: 29.95 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.4104, allocations: 9.406 kB / 0.8567 GB, free: 29.95 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.4104, allocations: 0 / 0.8567 GB, free: 29.95 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4104, allocations: 2.531 kB / 0.8567 GB, free: 29.95 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.411, allocations: 0.5354 MB / 0.8572 GB, free: 29.65 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.411, allocations: 1.5 kB / 0.8572 GB, free: 29.65 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.4112, allocations: 34.89 kB / 0.8573 GB, free: 29.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4112, allocations: 5.906 kB / 0.8573 GB, free: 29.65 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.4112, allocations: 10.02 kB / 0.8573 GB, free: 29.65 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4112, allocations: 3.938 kB / 0.8573 GB, free: 29.65 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4112, allocations: 0 / 0.8573 GB, free: 29.65 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004875/0.4117, allocations: 0.4884 MB / 0.8578 GB, free: 29.42 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.4117, allocations: 23.97 kB / 0.8578 GB, free: 29.42 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.4118, allocations: 5.688 kB / 0.8578 GB, free: 29.42 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.4119, allocations: 16.16 kB / 0.8578 GB, free: 29.42 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.412, allocations: 20.81 kB / 0.8578 GB, free: 29.42 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.412, allocations: 10.23 kB / 0.8578 GB, free: 29.42 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.784e-05/0.4121, allocations: 154.6 kB / 0.858 GB, free: 29.35 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4121, allocations: 2.516 kB / 0.858 GB, free: 29.35 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002952/0.4124, allocations: 55.28 kB / 0.8581 GB, free: 29.35 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.417e-05/0.4125, allocations: 121.1 kB / 0.8582 GB, free: 29.26 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003979/0.4129, allocations: 380.3 kB / 0.8585 GB, free: 29.04 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4129, allocations: 0 / 0.8585 GB, free: 29.04 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.413, allocations: 173.2 kB / 0.8587 GB, free: 28.94 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.4134, allocations: 76.89 kB / 0.8588 GB, free: 28.94 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.4144, allocations: 0.703 MB / 0.8595 GB, free: 28.63 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.75e-05/0.4145, allocations: 127.8 kB / 0.8596 GB, free: 28.55 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.4146, allocations: 21.41 kB / 0.8596 GB, free: 28.54 MB / 490.8 MB Notification: Performance of SimCode: time 4.41e-07/0.4146, allocations: 0.625 kB / 0.8596 GB, free: 28.54 MB / 490.8 MB Notification: Performance of Templates: time 0.004478/0.4191, allocations: 2.948 MB / 0.8625 GB, free: 28.33 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.910576860420406]