Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.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.0008281/0.0008281, allocations: 108.3 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.0009353/0.0009353, allocations: 216.4 kB / 23.01 MB, free: 2.945 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.059/1.059, allocations: 230.6 MB / 256.8 MB, free: 9.621 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.803/0.803, allocations: 312.3 MB / 0.6109 GB, free: 97.76 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.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine") [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.001431/0.001431, allocations: 75.53 kB / 0.7699 GB, free: 20.29 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1546, allocations: 73.98 MB / 0.8422 GB, free: 10.44 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine): time 0.00303/0.1577, allocations: 2.31 MB / 0.8444 GB, free: 8.129 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006773/0.1644, allocations: 6.529 MB / 0.8508 GB, free: 1.598 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.1646, allocations: 0 / 0.8508 GB, free: 1.598 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.1648, allocations: 24.41 kB / 0.8508 GB, free: 1.574 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.165, allocations: 84.02 kB / 0.8509 GB, free: 1.492 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1652, allocations: 48.47 kB / 0.851 GB, free: 1.445 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.1655, allocations: 259.2 kB / 0.8512 GB, free: 1.191 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.1657, allocations: 33.2 kB / 0.8512 GB, free: 1.16 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1658, allocations: 99.62 kB / 0.8513 GB, free: 1.062 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.1661, allocations: 100.1 kB / 0.8514 GB, free: 0.9648 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.1661, allocations: 20.62 kB / 0.8514 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.729e-05/0.1661, allocations: 16.5 kB / 0.8515 GB, free: 0.9297 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.1662, allocations: 35.84 kB / 0.8515 GB, free: 0.8945 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.106e-05/0.1662, allocations: 92.12 kB / 0.8516 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.1665, allocations: 195.8 kB / 0.8518 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1665, allocations: 4 kB / 0.8518 GB, free: 0.6094 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1665, allocations: 0.5938 kB / 0.8518 GB, free: 0.6094 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.1665, allocations: 3.938 kB / 0.8518 GB, free: 0.6055 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.0008267/0.1673, allocations: 0.4967 MB / 0.8523 GB, free: 68 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1674, allocations: 8.625 kB / 0.8523 GB, free: 60 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.1674, allocations: 24.8 kB / 0.8523 GB, free: 36 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1677, allocations: 179.6 kB / 0.8525 GB, free: 15.83 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.1677, allocations: 13.23 kB / 0.8525 GB, free: 15.82 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.1677, allocations: 19.89 kB / 0.8525 GB, free: 15.8 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.168, allocations: 191 kB / 0.8527 GB, free: 15.6 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.1681, allocations: 4.594 kB / 0.8527 GB, free: 15.59 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.1681, allocations: 4.625 kB / 0.8527 GB, free: 15.59 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1681, allocations: 7.938 kB / 0.8527 GB, free: 15.58 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.1683, allocations: 143.4 kB / 0.8528 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/0.169, allocations: 482.7 kB / 0.8533 GB, free: 14.93 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.1693, allocations: 181.5 kB / 0.8535 GB, free: 14.74 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.1695, allocations: 99.08 kB / 0.8536 GB, free: 14.64 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.1695, allocations: 4 kB / 0.8536 GB, free: 14.63 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005117/0.17, allocations: 225.8 kB / 0.8538 GB, free: 14.38 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.17, allocations: 0 / 0.8538 GB, free: 14.38 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001035/0.171, allocations: 0.7009 MB / 0.8545 GB, free: 13.62 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.1711, allocations: 137.1 kB / 0.8546 GB, free: 13.46 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1713, allocations: 211 kB / 0.8548 GB, free: 13.24 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1713, allocations: 38.38 kB / 0.8548 GB, free: 13.2 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.1713, allocations: 133 kB / 0.855 GB, free: 13.07 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.1714, allocations: 71.42 kB / 0.855 GB, free: 13 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.1714, allocations: 54.33 kB / 0.8551 GB, free: 12.94 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.1715, allocations: 342.7 kB / 0.8554 GB, free: 12.59 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.1717, allocations: 141.7 kB / 0.8555 GB, free: 12.44 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.1719, allocations: 226.5 kB / 0.8558 GB, free: 12.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3807/0.5525, allocations: 279.8 kB / 0.856 GB, free: 30.36 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.5525, allocations: 5.406 kB / 0.856 GB, free: 30.36 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007055/0.5532, allocations: 388.4 kB / 0.8564 GB, free: 30.21 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.5533, allocations: 64.73 kB / 0.8565 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.5533, allocations: 3.719 kB / 0.8565 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.5533, allocations: 3.969 kB / 0.8565 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.5535, allocations: 54.03 kB / 0.8565 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.5535, allocations: 5.375 kB / 0.8565 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.5537, allocations: 18.14 kB / 0.8565 GB, free: 30.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.5537, allocations: 11.34 kB / 0.8565 GB, free: 30.14 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.0002378/0.5539, allocations: 173.4 kB / 0.8567 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.5539, allocations: 23.19 kB / 0.8567 GB, free: 30 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.554, allocations: 27.12 kB / 0.8568 GB, free: 29.99 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.554, allocations: 2.781 kB / 0.8568 GB, free: 29.99 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.554, allocations: 3.375 kB / 0.8568 GB, free: 29.99 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.554, allocations: 4.672 kB / 0.8568 GB, free: 29.99 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.5546, allocations: 0.5307 MB / 0.8573 GB, free: 29.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5546, allocations: 7.438 kB / 0.8573 GB, free: 29.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.5548, allocations: 33.31 kB / 0.8573 GB, free: 29.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.5548, allocations: 0 / 0.8573 GB, free: 29.7 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.5548, allocations: 5.75 kB / 0.8573 GB, free: 29.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.5548, allocations: 2.344 kB / 0.8573 GB, free: 29.7 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5548, allocations: 7.062 kB / 0.8573 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.5553, allocations: 0.4949 MB / 0.8578 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.5553, allocations: 19.22 kB / 0.8578 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.5554, allocations: 3.719 kB / 0.8579 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.5554, allocations: 14.33 kB / 0.8579 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.908e-05/0.5555, allocations: 27.12 kB / 0.8579 GB, free: 29.46 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.5556, allocations: 7.719 kB / 0.8579 GB, free: 29.46 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001103/0.5557, allocations: 159 kB / 0.858 GB, free: 29.39 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5557, allocations: 0 / 0.858 GB, free: 29.39 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002244/0.5559, allocations: 53.78 kB / 0.8581 GB, free: 29.39 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.0001175/0.556, allocations: 116.6 kB / 0.8582 GB, free: 29.3 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003937/0.5564, allocations: 383.5 kB / 0.8586 GB, free: 29.08 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5564, allocations: 0.875 kB / 0.8586 GB, free: 29.08 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.5565, allocations: 172.1 kB / 0.8587 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.5569, allocations: 76.89 kB / 0.8588 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.558, allocations: 0.7051 MB / 0.8595 GB, free: 28.67 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.623e-05/0.5581, allocations: 126.1 kB / 0.8596 GB, free: 28.59 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.5581, allocations: 21.75 kB / 0.8596 GB, free: 28.59 MB / 490.8 MB Notification: Performance of SimCode: time 8.21e-07/0.5581, allocations: 0 / 0.8596 GB, free: 28.59 MB / 490.8 MB Notification: Performance of Templates: time 0.005611/0.5638, allocations: 2.945 MB / 0.8625 GB, free: 28.38 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.760961482301354]