Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine_Grognet1992_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.001341/0.001341, allocations: 104.4 kB / 19.71 MB, free: 440 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.001059/0.001059, allocations: 216.4 kB / 23.01 MB, free: 2.938 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.018/1.018, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.8571/0.8571, allocations: 312.3 MB / 0.6108 GB, free: 97.14 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_Grognet1992_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine_Grognet1992_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine_Grognet1992_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine_Grognet1992_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.001625/0.001625, allocations: 75.42 kB / 0.7699 GB, free: 19.53 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1465, allocations: 73.99 MB / 0.8421 GB, free: 9.676 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine_Grognet1992_reference): time 0.003453/0.15, allocations: 2.298 MB / 0.8444 GB, free: 7.379 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.009325/0.1593, allocations: 6.529 MB / 0.8507 GB, free: 0.8477 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.1596, allocations: 4.5 kB / 0.8507 GB, free: 0.8438 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.1597, allocations: 23.72 kB / 0.8508 GB, free: 0.8203 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.16, allocations: 80.61 kB / 0.8508 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1603, allocations: 48.52 kB / 0.8509 GB, free: 0.6953 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.1606, allocations: 263.4 kB / 0.8511 GB, free: 448 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.1608, allocations: 32.58 kB / 0.8512 GB, free: 416 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.1609, allocations: 104.4 kB / 0.8513 GB, free: 312 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.1611, allocations: 91.5 kB / 0.8514 GB, free: 220 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.1611, allocations: 16.53 kB / 0.8514 GB, free: 204 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.865e-05/0.1612, allocations: 16.5 kB / 0.8514 GB, free: 188 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.1612, allocations: 44.48 kB / 0.8514 GB, free: 144 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.713e-05/0.1613, allocations: 87.59 kB / 0.8515 GB, free: 56 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.1616, allocations: 210.2 kB / 0.8517 GB, free: 15.85 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1616, allocations: 0 / 0.8517 GB, free: 15.85 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.888e-06/0.1616, allocations: 0.625 kB / 0.8517 GB, free: 15.85 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1616, allocations: 0.5938 kB / 0.8517 GB, free: 15.85 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.0007879/0.1624, allocations: 498 kB / 0.8522 GB, free: 15.32 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1624, allocations: 8.719 kB / 0.8522 GB, free: 15.31 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.1625, allocations: 24.8 kB / 0.8522 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1627, allocations: 187.8 kB / 0.8524 GB, free: 15.08 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1627, allocations: 12.61 kB / 0.8524 GB, free: 15.07 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.1628, allocations: 20.48 kB / 0.8524 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.1631, allocations: 191 kB / 0.8526 GB, free: 14.84 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1631, allocations: 0.5 kB / 0.8526 GB, free: 14.84 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1631, allocations: 8.578 kB / 0.8526 GB, free: 14.84 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.1631, allocations: 4 kB / 0.8526 GB, free: 14.83 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.1633, allocations: 143.4 kB / 0.8528 GB, free: 14.69 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.164, allocations: 486.6 kB / 0.8532 GB, free: 14.18 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.1643, allocations: 173.4 kB / 0.8534 GB, free: 14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1644, allocations: 91.03 kB / 0.8535 GB, free: 13.9 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.1645, allocations: 4.656 kB / 0.8535 GB, free: 13.89 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.1647, allocations: 227.6 kB / 0.8537 GB, free: 13.64 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.1647, allocations: 0.5 kB / 0.8537 GB, free: 13.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001358/0.1661, allocations: 0.7123 MB / 0.8544 GB, free: 12.87 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.1662, allocations: 137 kB / 0.8545 GB, free: 12.71 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1663, allocations: 211 kB / 0.8547 GB, free: 12.49 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1663, allocations: 34.36 kB / 0.8548 GB, free: 12.45 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.1664, allocations: 136.9 kB / 0.8549 GB, free: 12.32 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.1664, allocations: 67.44 kB / 0.855 GB, free: 12.25 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.1665, allocations: 58.41 kB / 0.855 GB, free: 12.19 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.1666, allocations: 338.8 kB / 0.8553 GB, free: 11.85 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.1667, allocations: 142.1 kB / 0.8555 GB, free: 11.69 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.325/0.4918, allocations: 219.1 kB / 0.8557 GB, free: 30.01 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.4921, allocations: 283.8 kB / 0.856 GB, free: 29.85 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4921, allocations: 0 / 0.856 GB, free: 29.85 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004458/0.4925, allocations: 391.5 kB / 0.8563 GB, free: 29.69 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/0.4925, allocations: 73.34 kB / 0.8564 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4926, allocations: 1.656 kB / 0.8564 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.4926, allocations: 3.031 kB / 0.8564 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.4927, allocations: 47.95 kB / 0.8565 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.4928, allocations: 7.25 kB / 0.8565 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.4929, allocations: 22.23 kB / 0.8565 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.4929, allocations: 11.31 kB / 0.8565 GB, free: 29.63 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.0002122/0.4931, allocations: 177.5 kB / 0.8567 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.4931, allocations: 21.56 kB / 0.8567 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.4932, allocations: 26 kB / 0.8567 GB, free: 29.47 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4932, allocations: 5.625 kB / 0.8567 GB, free: 29.47 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4932, allocations: 1.438 kB / 0.8567 GB, free: 29.47 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4932, allocations: 1.734 kB / 0.8567 GB, free: 29.47 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005726/0.4938, allocations: 0.5399 MB / 0.8572 GB, free: 29.18 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4938, allocations: 0 / 0.8572 GB, free: 29.18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.4939, allocations: 41.06 kB / 0.8573 GB, free: 29.18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.4939, allocations: 3.938 kB / 0.8573 GB, free: 29.17 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.4939, allocations: 3.625 kB / 0.8573 GB, free: 29.17 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.4939, allocations: 3.938 kB / 0.8573 GB, free: 29.17 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4939, allocations: 1.562 kB / 0.8573 GB, free: 29.17 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.4944, allocations: 498.4 kB / 0.8578 GB, free: 28.94 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.4944, allocations: 27.62 kB / 0.8578 GB, free: 28.94 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.4944, allocations: 10.44 kB / 0.8578 GB, free: 28.94 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.249e-05/0.4945, allocations: 16.7 kB / 0.8578 GB, free: 28.94 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.4946, allocations: 18.88 kB / 0.8578 GB, free: 28.94 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.4946, allocations: 8.656 kB / 0.8578 GB, free: 28.94 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000102/0.4947, allocations: 155.6 kB / 0.858 GB, free: 28.87 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4947, allocations: 5.453 kB / 0.858 GB, free: 28.87 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002049/0.4949, allocations: 54.53 kB / 0.8581 GB, free: 28.87 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.0001098/0.495, allocations: 125.2 kB / 0.8582 GB, free: 28.77 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.4954, allocations: 375.9 kB / 0.8585 GB, free: 28.55 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4954, allocations: 0 / 0.8585 GB, free: 28.55 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.4955, allocations: 173 kB / 0.8587 GB, free: 28.45 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.4959, allocations: 61.72 kB / 0.8588 GB, free: 28.45 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.4969, allocations: 0.7007 MB / 0.8594 GB, free: 28.14 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.655e-05/0.497, allocations: 126.8 kB / 0.8596 GB, free: 28.06 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.497, allocations: 20.81 kB / 0.8596 GB, free: 28.05 MB / 490.8 MB Notification: Performance of SimCode: time 6.52e-07/0.497, allocations: 1.938 kB / 0.8596 GB, free: 28.05 MB / 490.8 MB Notification: Performance of Templates: time 0.005282/0.5023, allocations: 2.954 MB / 0.8625 GB, free: 27.93 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine_Grognet1992_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine_Grognet1992_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine_Grognet1992_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine_Grognet1992_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine_Grognet1992_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine_Grognet1992_reference > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine_Grognet1992_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.5685850866138935]