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.002029/0.002029, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.001892/0.001892, allocations: 218.2 kB / 22.25 MB, free: 3.688 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.763/1.763, allocations: 230.6 MB / 256 MB, free: 9.578 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.401/1.401, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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,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.004943/0.004943, allocations: 77.69 kB / 0.775 GB, free: 14.67 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.2003, allocations: 73.99 MB / 0.8472 GB, free: 4.824 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium): time 0.006485/0.2067, allocations: 2.299 MB / 0.8495 GB, free: 2.527 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4308/0.6375, allocations: 6.52 MB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003018/0.6378, allocations: 3.594 kB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.638, allocations: 25.73 kB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.6383, allocations: 85.8 kB / 0.856 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.6386, allocations: 52.91 kB / 0.856 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.6389, allocations: 252.3 kB / 0.8563 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.6391, allocations: 38.59 kB / 0.8563 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.6392, allocations: 102.4 kB / 0.8564 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.6394, allocations: 97.77 kB / 0.8565 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.6395, allocations: 16.84 kB / 0.8565 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.233e-05/0.6395, allocations: 17.06 kB / 0.8565 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.6396, allocations: 36.33 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.6397, allocations: 98.16 kB / 0.8566 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.64, allocations: 200.4 kB / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.64, allocations: 0 / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.024e-06/0.64, allocations: 0 / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.64, allocations: 0.6562 kB / 0.8568 GB, free: 21.84 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.0009055/0.6409, allocations: 494.2 kB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.6409, allocations: 9.188 kB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/0.641, allocations: 25.98 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.6412, allocations: 188 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.6413, allocations: 10.58 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.6413, allocations: 21.64 kB / 0.8575 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.6417, allocations: 190.2 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.6418, allocations: 2.031 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.6418, allocations: 9.016 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.6418, allocations: 2.656 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.6422, allocations: 147 kB / 0.8579 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.643, allocations: 483.1 kB / 0.8583 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.6436, allocations: 181.4 kB / 0.8585 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.6438, allocations: 91.92 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.6438, allocations: 1.625 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003678/0.6442, allocations: 227 kB / 0.8588 GB, free: 20.61 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.6442, allocations: 0 / 0.8588 GB, free: 20.61 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001569/0.6457, allocations: 0.7033 MB / 0.8595 GB, free: 20.25 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.6458, allocations: 138.3 kB / 0.8596 GB, free: 20.09 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.646, allocations: 214.4 kB / 0.8598 GB, free: 19.99 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.646, allocations: 36.14 kB / 0.8599 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.6461, allocations: 130.8 kB / 0.86 GB, free: 19.86 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.6462, allocations: 76.33 kB / 0.8601 GB, free: 19.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.299e-05/0.6463, allocations: 52.98 kB / 0.8601 GB, free: 19.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.6463, allocations: 340.5 kB / 0.8605 GB, free: 19.48 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.6466, allocations: 144.4 kB / 0.8606 GB, free: 19.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.6468, allocations: 223.5 kB / 0.8608 GB, free: 19.24 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.6472, allocations: 278.9 kB / 0.8611 GB, free: 19.07 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6472, allocations: 0 / 0.8611 GB, free: 19.07 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005617/0.6478, allocations: 395.4 kB / 0.8614 GB, free: 18.89 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.6478, allocations: 61.5 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.6478, allocations: 7.875 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.6478, allocations: 1.781 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.6481, allocations: 52.38 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.6481, allocations: 7.438 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.6483, allocations: 19.89 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.6483, allocations: 10.59 kB / 0.8616 GB, free: 18.82 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.0002278/0.6485, allocations: 182 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.6485, allocations: 22.98 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.398e-05/0.6486, allocations: 26.84 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.6486, allocations: 2.828 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.6486, allocations: 1.062 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6486, allocations: 3.422 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007504/0.6494, allocations: 0.5338 MB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6494, allocations: 3.938 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.6496, allocations: 34.42 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6496, allocations: 0.5625 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.6496, allocations: 13.89 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.6496, allocations: 6.156 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6496, allocations: 0 / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.6503, allocations: 0.4914 MB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.6503, allocations: 16.89 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.6504, allocations: 12.02 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.6505, allocations: 14.16 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.6506, allocations: 26.88 kB / 0.863 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.6506, allocations: 5.641 kB / 0.863 GB, free: 18.07 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001277/0.6508, allocations: 164.8 kB / 0.8631 GB, free: 18 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.6508, allocations: 0 / 0.8631 GB, free: 18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003002/0.6511, allocations: 54.38 kB / 0.8632 GB, free: 18 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.0001257/0.6512, allocations: 112.1 kB / 0.8633 GB, free: 17.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005807/0.6518, allocations: 380.9 kB / 0.8636 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6518, allocations: 0.625 kB / 0.8636 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.652, allocations: 175.4 kB / 0.8638 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.6525, allocations: 80.19 kB / 0.8639 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.6539, allocations: 0.6782 MB / 0.8645 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.654, allocations: 123.7 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.6541, allocations: 24.86 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.6542, allocations: 21.73 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of SimCode: time 8.22e-07/0.6542, allocations: 0 / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of Templates: time 0.00961/0.6638, allocations: 3.637 MB / 0.8683 GB, free: 16.83 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.629739874042571]