Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.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.001882/0.001882, allocations: 109.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.00217/0.00217, allocations: 216.9 kB / 22.25 MB, free: 3.574 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.888/1.888, allocations: 230.6 MB / 256 MB, free: 9.641 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.462/1.462, allocations: 316.7 MB / 0.6144 GB, free: 93.46 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.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol") translateModel(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol") [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.004164/0.004164, allocations: 73.77 kB / 0.775 GB, free: 14.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1637, allocations: 73.99 MB / 0.8473 GB, free: 5.113 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol): time 0.004995/0.1687, allocations: 2.701 MB / 0.8499 GB, free: 2.414 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4004/0.569, allocations: 6.602 MB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.5693, allocations: 6.844 kB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.5694, allocations: 39.55 kB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.5697, allocations: 121.8 kB / 0.8565 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.57, allocations: 73.17 kB / 0.8566 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.5703, allocations: 376.2 kB / 0.8569 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.5705, allocations: 51.27 kB / 0.857 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.5707, allocations: 147.7 kB / 0.8571 GB, free: 21.52 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.5709, allocations: 137.8 kB / 0.8572 GB, free: 21.48 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.571, allocations: 25.69 kB / 0.8573 GB, free: 21.48 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.656e-05/0.571, allocations: 25.59 kB / 0.8573 GB, free: 21.48 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.5711, allocations: 51.73 kB / 0.8573 GB, free: 21.47 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.5712, allocations: 139.8 kB / 0.8575 GB, free: 21.43 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.5716, allocations: 284.8 kB / 0.8577 GB, free: 21.39 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.5716, allocations: 3.188 kB / 0.8578 GB, free: 21.39 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5716, allocations: 1.781 kB / 0.8578 GB, free: 21.39 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.5716, allocations: 3.344 kB / 0.8578 GB, free: 21.39 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001003/0.5726, allocations: 0.5971 MB / 0.8583 GB, free: 20.92 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.5726, allocations: 12.7 kB / 0.8584 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.5727, allocations: 35.38 kB / 0.8584 GB, free: 20.9 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.573, allocations: 209.2 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.573, allocations: 17.5 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.573, allocations: 27.62 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.5735, allocations: 284.5 kB / 0.8589 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.5735, allocations: 4.609 kB / 0.8589 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.5735, allocations: 7.938 kB / 0.8589 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.5735, allocations: 5.094 kB / 0.8589 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.5739, allocations: 239.6 kB / 0.8591 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.575, allocations: 0.6717 MB / 0.8598 GB, free: 20.2 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.5755, allocations: 237 kB / 0.86 GB, free: 20.11 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.5757, allocations: 149.4 kB / 0.8602 GB, free: 20.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.5757, allocations: 2.656 kB / 0.8602 GB, free: 20.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003885/0.5761, allocations: 365.2 kB / 0.8605 GB, free: 19.8 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.5761, allocations: 0 / 0.8605 GB, free: 19.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001792/0.5779, allocations: 1.08 MB / 0.8616 GB, free: 19.26 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.5779, allocations: 222.3 kB / 0.8618 GB, free: 19.01 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.5782, allocations: 244.9 kB / 0.862 GB, free: 18.9 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.5782, allocations: 40.06 kB / 0.8621 GB, free: 18.87 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.5783, allocations: 157.7 kB / 0.8622 GB, free: 18.76 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.947e-05/0.5784, allocations: 120.3 kB / 0.8623 GB, free: 18.69 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.239e-05/0.5784, allocations: 69.91 kB / 0.8624 GB, free: 18.67 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.5785, allocations: 341.7 kB / 0.8627 GB, free: 18.36 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.5788, allocations: 207.2 kB / 0.8629 GB, free: 18.26 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.5791, allocations: 322.8 kB / 0.8632 GB, free: 18.02 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.5796, allocations: 429.9 kB / 0.8636 GB, free: 17.76 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5796, allocations: 1.062 kB / 0.8636 GB, free: 17.76 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007925/0.5804, allocations: 0.5502 MB / 0.8642 GB, free: 17.5 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.5804, allocations: 91.67 kB / 0.8643 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.5804, allocations: 3.453 kB / 0.8643 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.5804, allocations: 5.906 kB / 0.8643 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.5808, allocations: 80.41 kB / 0.8643 GB, free: 17.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.5808, allocations: 6 kB / 0.8643 GB, free: 17.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.581, allocations: 26.03 kB / 0.8644 GB, free: 17.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.581, allocations: 17.34 kB / 0.8644 GB, free: 17.39 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0002243/0.5812, allocations: 226.6 kB / 0.8646 GB, free: 17.21 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.5813, allocations: 35.28 kB / 0.8646 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.683e-05/0.5813, allocations: 30.56 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.5814, allocations: 5.016 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5814, allocations: 0 / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5814, allocations: 5.453 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.5824, allocations: 0.7669 MB / 0.8654 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5824, allocations: 1.828 kB / 0.8654 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.5827, allocations: 52.7 kB / 0.8655 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5827, allocations: 2.469 kB / 0.8655 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.5827, allocations: 14.94 kB / 0.8655 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5827, allocations: 4.938 kB / 0.8655 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5827, allocations: 0 / 0.8655 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.5837, allocations: 0.7265 MB / 0.8662 GB, free: 16.45 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.5838, allocations: 24.27 kB / 0.8662 GB, free: 16.44 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.5838, allocations: 18.84 kB / 0.8663 GB, free: 16.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.584, allocations: 15.86 kB / 0.8663 GB, free: 16.43 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.5842, allocations: 33.56 kB / 0.8663 GB, free: 16.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.5842, allocations: 12.03 kB / 0.8663 GB, free: 16.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001957/0.5844, allocations: 179.5 kB / 0.8665 GB, free: 16.36 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5844, allocations: 0 / 0.8665 GB, free: 16.36 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003906/0.5848, allocations: 87.88 kB / 0.8666 GB, free: 16.36 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001444/0.5849, allocations: 125 kB / 0.8667 GB, free: 16.26 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006916/0.5856, allocations: 0.5686 MB / 0.8672 GB, free: 15.9 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5856, allocations: 1.375 kB / 0.8672 GB, free: 15.9 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.5859, allocations: 299 kB / 0.8675 GB, free: 15.71 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.5865, allocations: 96.7 kB / 0.8676 GB, free: 15.7 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.5879, allocations: 0.9377 MB / 0.8685 GB, free: 15.22 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.5881, allocations: 155.1 kB / 0.8687 GB, free: 15.14 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.5882, allocations: 36.55 kB / 0.8687 GB, free: 15.14 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.5883, allocations: 30.53 kB / 0.8687 GB, free: 15.12 MB / 490.8 MB Notification: Performance of SimCode: time 5.41e-07/0.5883, allocations: 1.438 kB / 0.8687 GB, free: 15.12 MB / 490.8 MB Notification: Performance of Templates: time 0.01059/0.5989, allocations: 4.982 MB / 0.8736 GB, free: 14.63 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.842697822023183]