Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide.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.002498/0.002498, 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.003006/0.003006, allocations: 218.4 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.842/1.842, allocations: 230.6 MB / 256 MB, free: 9.602 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.465/1.465, allocations: 316.7 MB / 0.6144 GB, free: 93.03 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.M03AC06_PipecuroniumBromide.PipecuroniumBromide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide") [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.003805/0.003805, allocations: 73.61 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2115, allocations: 73.99 MB / 0.8472 GB, free: 4.871 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide): time 0.004789/0.2163, allocations: 2.301 MB / 0.8495 GB, free: 2.57 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4089/0.6252, allocations: 6.518 MB / 0.8558 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.6254, allocations: 2.844 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.6255, allocations: 26.94 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.6258, allocations: 86.23 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.626, allocations: 52.53 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.6263, allocations: 253.8 kB / 0.8563 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.6264, allocations: 38.61 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.6265, allocations: 98.53 kB / 0.8564 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.6267, allocations: 98.91 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.6268, allocations: 15.28 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.841e-05/0.6268, allocations: 17.75 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.6269, allocations: 40.86 kB / 0.8565 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.814e-05/0.6269, allocations: 94.19 kB / 0.8566 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.6272, allocations: 200.2 kB / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6272, allocations: 0 / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6272, allocations: 1.812 kB / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.6272, allocations: 0 / 0.8568 GB, free: 21.86 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.0007449/0.6279, allocations: 494.9 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.6279, allocations: 10.12 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.628, allocations: 26.52 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.6282, allocations: 187.1 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.6282, allocations: 11.14 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.6283, allocations: 20.58 kB / 0.8575 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.6286, allocations: 188.2 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.6286, allocations: 3.953 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.6286, allocations: 9.219 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.6286, allocations: 5.031 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.6289, allocations: 143.5 kB / 0.8579 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000637/0.6296, allocations: 481.5 kB / 0.8583 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.63, allocations: 178.9 kB / 0.8585 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.6302, allocations: 97.56 kB / 0.8586 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.6302, allocations: 4.25 kB / 0.8586 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.6305, allocations: 217 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.6305, allocations: 3.375 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001239/0.6317, allocations: 0.7054 MB / 0.8595 GB, free: 20.28 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.6317, allocations: 134.2 kB / 0.8596 GB, free: 20.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.6319, allocations: 216.7 kB / 0.8598 GB, free: 20.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.6319, allocations: 32.98 kB / 0.8599 GB, free: 19.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.632, allocations: 137.2 kB / 0.86 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.632, allocations: 73.95 kB / 0.8601 GB, free: 19.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.6321, allocations: 53.66 kB / 0.8601 GB, free: 19.83 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.6321, allocations: 338.2 kB / 0.8604 GB, free: 19.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.6323, allocations: 147.2 kB / 0.8606 GB, free: 19.43 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.6326, allocations: 218.9 kB / 0.8608 GB, free: 19.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.6329, allocations: 288.6 kB / 0.8611 GB, free: 19.1 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.6329, allocations: 0.625 kB / 0.8611 GB, free: 19.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000501/0.6334, allocations: 382.2 kB / 0.8614 GB, free: 18.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.6334, allocations: 63.91 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.6334, allocations: 6.656 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.6335, allocations: 9.594 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.6337, allocations: 50.28 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.6337, allocations: 12.14 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.6338, allocations: 14.69 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.6339, allocations: 13.19 kB / 0.8616 GB, free: 18.85 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.0001436/0.634, allocations: 176.2 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.634, allocations: 23.86 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.6341, allocations: 27.33 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6341, allocations: 2.25 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.6341, allocations: 5.406 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6341, allocations: 2.016 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.6347, allocations: 0.5349 MB / 0.8623 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6347, allocations: 1.406 kB / 0.8623 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.6349, allocations: 37.92 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.6349, allocations: 3.469 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.6349, allocations: 9.812 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.6349, allocations: 7.031 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6349, allocations: 1.328 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/0.6355, allocations: 0.4905 MB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.6356, allocations: 19.36 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.6356, allocations: 11.61 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.6358, allocations: 12 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.6358, allocations: 27.83 kB / 0.863 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.6359, allocations: 8.766 kB / 0.863 GB, free: 18.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000103/0.636, allocations: 162.5 kB / 0.8631 GB, free: 18.02 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.636, allocations: 0 / 0.8631 GB, free: 18.02 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002802/0.6362, allocations: 54.66 kB / 0.8632 GB, free: 18.02 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.0001014/0.6363, allocations: 115.3 kB / 0.8633 GB, free: 17.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004767/0.6368, allocations: 382.6 kB / 0.8636 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6368, allocations: 1.906 kB / 0.8636 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.637, allocations: 171 kB / 0.8638 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.6375, allocations: 70.86 kB / 0.8639 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.6386, allocations: 0.681 MB / 0.8645 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.992e-05/0.6387, allocations: 126.5 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.539e-05/0.6388, allocations: 22.27 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.6388, allocations: 21.02 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of SimCode: time 5.41e-07/0.6388, allocations: 0 / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of Templates: time 0.00762/0.6464, allocations: 3.655 MB / 0.8683 GB, free: 16.88 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.931888881837949]