Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_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.001906/0.001906, allocations: 105.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.002075/0.002075, allocations: 215.6 kB / 22.25 MB, free: 3.57 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.817/1.817, 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.482/1.482, allocations: 316.7 MB / 0.6144 GB, free: 93.24 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.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_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.01127/0.01127, allocations: 74 kB / 0.7749 GB, free: 14.93 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.224, allocations: 73.99 MB / 0.8472 GB, free: 5.074 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference): time 0.0056/0.2296, allocations: 2.288 MB / 0.8494 GB, free: 2.789 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4348/0.6644, allocations: 6.518 MB / 0.8558 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.6646, allocations: 2.5 kB / 0.8558 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.6648, allocations: 30.44 kB / 0.8558 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.665, allocations: 79.52 kB / 0.8559 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.6653, allocations: 55.75 kB / 0.856 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.6656, allocations: 261.4 kB / 0.8562 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.6657, allocations: 31.06 kB / 0.8562 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.6658, allocations: 99.16 kB / 0.8563 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.6661, allocations: 99.36 kB / 0.8564 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.6661, allocations: 18.81 kB / 0.8565 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.203e-05/0.6661, allocations: 16.59 kB / 0.8565 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.6662, allocations: 38.81 kB / 0.8565 GB, free: 21.72 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.6663, allocations: 101.1 kB / 0.8566 GB, free: 21.7 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.6665, allocations: 189.8 kB / 0.8568 GB, free: 21.67 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.6665, allocations: 0 / 0.8568 GB, free: 21.67 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6665, allocations: 5.312 kB / 0.8568 GB, free: 21.66 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.6665, allocations: 0 / 0.8568 GB, free: 21.66 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008165/0.6673, allocations: 499.2 kB / 0.8573 GB, free: 21.27 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.6674, allocations: 10.59 kB / 0.8573 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.6674, allocations: 25.14 kB / 0.8573 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.6677, allocations: 182.5 kB / 0.8575 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.6677, allocations: 10.64 kB / 0.8575 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.6677, allocations: 26.72 kB / 0.8575 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.6681, allocations: 190.1 kB / 0.8577 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.6681, allocations: 2.469 kB / 0.8577 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.6681, allocations: 3.688 kB / 0.8577 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.6681, allocations: 2.656 kB / 0.8577 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.6684, allocations: 147.4 kB / 0.8578 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007237/0.6692, allocations: 484.3 kB / 0.8583 GB, free: 20.68 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.6696, allocations: 172 kB / 0.8585 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.6698, allocations: 102.8 kB / 0.8586 GB, free: 20.58 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.6698, allocations: 2.312 kB / 0.8586 GB, free: 20.58 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/0.6701, allocations: 225.2 kB / 0.8588 GB, free: 20.44 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.6701, allocations: 0.5938 kB / 0.8588 GB, free: 20.44 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001365/0.6715, allocations: 0.6989 MB / 0.8595 GB, free: 20.08 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.6715, allocations: 137 kB / 0.8596 GB, free: 19.93 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.6717, allocations: 218 kB / 0.8598 GB, free: 19.82 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.6718, allocations: 33.23 kB / 0.8598 GB, free: 19.79 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.6718, allocations: 132.9 kB / 0.86 GB, free: 19.7 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.6719, allocations: 77.22 kB / 0.86 GB, free: 19.65 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-05/0.672, allocations: 53.27 kB / 0.8601 GB, free: 19.63 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.855e-05/0.672, allocations: 337.4 kB / 0.8604 GB, free: 19.31 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.6722, allocations: 145.2 kB / 0.8605 GB, free: 19.24 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.6725, allocations: 224 kB / 0.8608 GB, free: 19.07 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.6728, allocations: 280.1 kB / 0.861 GB, free: 18.91 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6728, allocations: 0.5 kB / 0.861 GB, free: 18.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000526/0.6734, allocations: 391.4 kB / 0.8614 GB, free: 18.72 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.6734, allocations: 66.94 kB / 0.8615 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.6734, allocations: 6.75 kB / 0.8615 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.6734, allocations: 2 kB / 0.8615 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.6736, allocations: 51.31 kB / 0.8615 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6736, allocations: 3.594 kB / 0.8615 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.6738, allocations: 22.16 kB / 0.8615 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.6738, allocations: 13.38 kB / 0.8616 GB, free: 18.65 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.0001601/0.674, allocations: 173.3 kB / 0.8617 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.674, allocations: 26.48 kB / 0.8617 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/0.6741, allocations: 30.98 kB / 0.8618 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6741, allocations: 3.406 kB / 0.8618 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6741, allocations: 0 / 0.8618 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6741, allocations: 1.219 kB / 0.8618 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006657/0.6748, allocations: 0.5374 MB / 0.8623 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6748, allocations: 2.156 kB / 0.8623 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.6749, allocations: 38.89 kB / 0.8623 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.6749, allocations: 0 / 0.8623 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.675, allocations: 11.41 kB / 0.8624 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.675, allocations: 3.938 kB / 0.8624 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.675, allocations: 0 / 0.8624 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.6756, allocations: 0.4919 MB / 0.8628 GB, free: 17.92 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.6756, allocations: 19 kB / 0.8629 GB, free: 17.91 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.6757, allocations: 10.91 kB / 0.8629 GB, free: 17.91 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.6758, allocations: 16.19 kB / 0.8629 GB, free: 17.91 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.6759, allocations: 27.78 kB / 0.8629 GB, free: 17.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.6759, allocations: 4.656 kB / 0.8629 GB, free: 17.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001235/0.6761, allocations: 160.9 kB / 0.8631 GB, free: 17.82 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.6761, allocations: 0 / 0.8631 GB, free: 17.82 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002904/0.6764, allocations: 56.06 kB / 0.8631 GB, free: 17.82 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.0001145/0.6765, allocations: 115.3 kB / 0.8632 GB, free: 17.73 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005346/0.677, allocations: 381.1 kB / 0.8636 GB, free: 17.5 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.677, allocations: 0 / 0.8636 GB, free: 17.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.6772, allocations: 178 kB / 0.8638 GB, free: 17.41 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.6777, allocations: 67.98 kB / 0.8638 GB, free: 17.4 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.6789, allocations: 0.6859 MB / 0.8645 GB, free: 17.09 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.679, allocations: 126.1 kB / 0.8646 GB, free: 17.01 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.6791, allocations: 22.95 kB / 0.8646 GB, free: 17.01 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.6792, allocations: 26.92 kB / 0.8647 GB, free: 17 MB / 490.8 MB Notification: Performance of SimCode: time 3.7e-07/0.6792, allocations: 0 / 0.8647 GB, free: 17 MB / 490.8 MB Notification: Performance of Templates: time 0.008994/0.6882, allocations: 3.642 MB / 0.8682 GB, free: 16.68 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.064333626069129]