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.002448/0.002448, allocations: 101.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.002878/0.002878, allocations: 218.4 kB / 22.25 MB, free: 3.562 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.712/1.712, allocations: 230.6 MB / 256 MB, free: 9.594 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.435/1.435, allocations: 316.8 MB / 0.6144 GB, free: 92.99 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.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.0037/0.0037, allocations: 73.64 kB / 0.775 GB, free: 14.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1512, allocations: 74 MB / 0.8473 GB, free: 4.922 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine): time 0.004407/0.1556, allocations: 2.312 MB / 0.8495 GB, free: 2.609 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2935/0.4491, allocations: 6.518 MB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.4494, allocations: 0.5312 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.4495, allocations: 31.33 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.4498, allocations: 80.3 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.45, allocations: 54.66 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000263/0.4503, allocations: 260.6 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.4504, allocations: 33.73 kB / 0.8563 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.4505, allocations: 101.7 kB / 0.8564 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.4507, allocations: 97.05 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.4508, allocations: 17.25 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.202e-05/0.4508, allocations: 17.06 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.679e-05/0.4509, allocations: 39.53 kB / 0.8566 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.451e-05/0.4509, allocations: 94.27 kB / 0.8567 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.4512, allocations: 195.7 kB / 0.8569 GB, free: 21.85 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4512, allocations: 2 kB / 0.8569 GB, free: 21.85 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4512, allocations: 0 / 0.8569 GB, free: 21.85 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.4512, allocations: 1.094 kB / 0.8569 GB, free: 21.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.0007784/0.452, allocations: 498.6 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.452, allocations: 10.34 kB / 0.8574 GB, free: 21.45 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.833e-05/0.4521, allocations: 32.12 kB / 0.8574 GB, free: 21.44 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.4523, allocations: 185 kB / 0.8576 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.4523, allocations: 10.14 kB / 0.8576 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.4523, allocations: 21.33 kB / 0.8576 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.4527, allocations: 187.9 kB / 0.8578 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.4527, allocations: 3.047 kB / 0.8578 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.4527, allocations: 8.094 kB / 0.8578 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4527, allocations: 4.562 kB / 0.8578 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.453, allocations: 146.2 kB / 0.8579 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.4537, allocations: 478.7 kB / 0.8584 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/0.4544, allocations: 176.8 kB / 0.8585 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.4547, allocations: 91.48 kB / 0.8586 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.4547, allocations: 10.06 kB / 0.8586 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/0.455, allocations: 223.7 kB / 0.8589 GB, free: 20.62 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.455, allocations: 0.5625 kB / 0.8589 GB, free: 20.62 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001406/0.4564, allocations: 0.7039 MB / 0.8595 GB, free: 20.26 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.4564, allocations: 142.4 kB / 0.8597 GB, free: 20.1 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.4567, allocations: 209.9 kB / 0.8599 GB, free: 20 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.4567, allocations: 35.17 kB / 0.8599 GB, free: 19.97 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.4568, allocations: 140.2 kB / 0.86 GB, free: 19.87 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.4568, allocations: 68.31 kB / 0.8601 GB, free: 19.83 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/0.4569, allocations: 54.59 kB / 0.8602 GB, free: 19.81 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.075e-05/0.4569, allocations: 333.9 kB / 0.8605 GB, free: 19.5 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.4572, allocations: 146.5 kB / 0.8606 GB, free: 19.42 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.4575, allocations: 222.8 kB / 0.8608 GB, free: 19.25 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.458, allocations: 287.7 kB / 0.8611 GB, free: 19.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.458, allocations: 0.625 kB / 0.8611 GB, free: 19.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007111/0.4587, allocations: 385.8 kB / 0.8615 GB, free: 18.91 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.4587, allocations: 59.97 kB / 0.8615 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4587, allocations: 6.062 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.4588, allocations: 5 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.459, allocations: 55.03 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.459, allocations: 2.938 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.4593, allocations: 18.38 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.4593, allocations: 8.719 kB / 0.8616 GB, free: 18.84 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.0001797/0.4595, allocations: 182.8 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.4595, allocations: 22.55 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.187e-05/0.4596, allocations: 31.8 kB / 0.8619 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.4596, allocations: 6.688 kB / 0.8619 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4596, allocations: 0 / 0.8619 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4596, allocations: 2.656 kB / 0.8619 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000848/0.4605, allocations: 0.5425 MB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4605, allocations: 0 / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.4607, allocations: 36.05 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4607, allocations: 3 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.4607, allocations: 7.516 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4607, allocations: 7.188 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4607, allocations: 0.5938 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/0.4616, allocations: 500 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.4616, allocations: 25.31 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.4617, allocations: 7.781 kB / 0.863 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.4619, allocations: 13.53 kB / 0.863 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.462, allocations: 22.39 kB / 0.863 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.462, allocations: 7.531 kB / 0.863 GB, free: 18.09 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000155/0.4622, allocations: 165.2 kB / 0.8632 GB, free: 18.01 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.4622, allocations: 0.5 kB / 0.8632 GB, free: 18.01 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004817/0.4627, allocations: 53.88 kB / 0.8632 GB, free: 18.01 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.4628, allocations: 115.2 kB / 0.8633 GB, free: 17.92 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000663/0.4634, allocations: 378.6 kB / 0.8637 GB, free: 17.69 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4634, allocations: 0 / 0.8637 GB, free: 17.69 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.4637, allocations: 171.8 kB / 0.8638 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.4644, allocations: 71.56 kB / 0.8639 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.4658, allocations: 0.6868 MB / 0.8646 GB, free: 17.26 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.4659, allocations: 126.4 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.4661, allocations: 26.2 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.4661, allocations: 24.62 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of SimCode: time 3.61e-07/0.4661, allocations: 0 / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of Templates: time 0.009996/0.4761, allocations: 3.642 MB / 0.8683 GB, free: 16.85 MB / 490.8 MB " [Timeout remaining time 660] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.108418213902041]