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.002046/0.002046, 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.002284/0.002284, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.738/1.738, 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.479/1.479, allocations: 316.7 MB / 0.6144 GB, free: 93.34 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_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.003979/0.003979, allocations: 76.17 kB / 0.775 GB, free: 14.88 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1914, allocations: 73.99 MB / 0.8472 GB, free: 5.031 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine_Grognet1992_reference): time 0.005283/0.1966, allocations: 2.301 MB / 0.8495 GB, free: 2.73 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3149/0.5115, allocations: 6.513 MB / 0.8558 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.5118, allocations: 3.688 kB / 0.8558 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.5119, allocations: 25.66 kB / 0.8558 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.5122, allocations: 85.66 kB / 0.8559 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.5125, allocations: 52.42 kB / 0.856 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.5128, allocations: 259.3 kB / 0.8562 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.5129, allocations: 37.45 kB / 0.8563 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.5131, allocations: 94 kB / 0.8563 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.5133, allocations: 103.7 kB / 0.8564 GB, free: 21.74 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.5133, allocations: 19.41 kB / 0.8565 GB, free: 21.74 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.991e-05/0.5134, allocations: 16.66 kB / 0.8565 GB, free: 21.74 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.5134, allocations: 36.12 kB / 0.8565 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.5135, allocations: 94.08 kB / 0.8566 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.5138, allocations: 197.1 kB / 0.8568 GB, free: 21.68 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5138, allocations: 3.438 kB / 0.8568 GB, free: 21.68 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5138, allocations: 0 / 0.8568 GB, free: 21.68 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.5138, allocations: 0 / 0.8568 GB, free: 21.68 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.0008566/0.5146, allocations: 0.4903 MB / 0.8573 GB, free: 21.28 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5147, allocations: 10.56 kB / 0.8573 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.5147, allocations: 26.27 kB / 0.8573 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.515, allocations: 186.4 kB / 0.8575 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.515, allocations: 11.33 kB / 0.8575 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.515, allocations: 19.14 kB / 0.8575 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.5154, allocations: 189.6 kB / 0.8577 GB, free: 21.02 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.5154, allocations: 0 / 0.8577 GB, free: 21.02 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.5154, allocations: 8.25 kB / 0.8577 GB, free: 21.02 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5154, allocations: 2.5 kB / 0.8577 GB, free: 21.02 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.5158, allocations: 147.6 kB / 0.8578 GB, free: 20.99 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.5165, allocations: 482.9 kB / 0.8583 GB, free: 20.69 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.517, allocations: 173.8 kB / 0.8585 GB, free: 20.64 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.5172, allocations: 92.23 kB / 0.8586 GB, free: 20.6 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.5172, allocations: 6.688 kB / 0.8586 GB, free: 20.59 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/0.5175, allocations: 227.8 kB / 0.8588 GB, free: 20.45 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.5175, allocations: 0 / 0.8588 GB, free: 20.45 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001422/0.519, allocations: 0.7023 MB / 0.8595 GB, free: 20.09 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.519, allocations: 137.2 kB / 0.8596 GB, free: 19.93 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.5192, allocations: 212.1 kB / 0.8598 GB, free: 19.83 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.5192, allocations: 32.38 kB / 0.8598 GB, free: 19.8 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.5193, allocations: 139.8 kB / 0.86 GB, free: 19.7 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.5193, allocations: 73.84 kB / 0.86 GB, free: 19.66 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.669e-05/0.5194, allocations: 51.19 kB / 0.8601 GB, free: 19.64 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.408e-05/0.5195, allocations: 339 kB / 0.8604 GB, free: 19.32 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.5197, allocations: 146.3 kB / 0.8606 GB, free: 19.25 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.5199, allocations: 222.6 kB / 0.8608 GB, free: 19.08 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.5203, allocations: 283.1 kB / 0.861 GB, free: 18.92 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5203, allocations: 0.5625 kB / 0.861 GB, free: 18.92 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005209/0.5208, allocations: 389.9 kB / 0.8614 GB, free: 18.74 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.5209, allocations: 59.16 kB / 0.8615 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.5209, allocations: 6.781 kB / 0.8615 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.5209, allocations: 5 kB / 0.8615 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.5211, allocations: 54.2 kB / 0.8615 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.5211, allocations: 4.062 kB / 0.8615 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.5213, allocations: 15.88 kB / 0.8615 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.5213, allocations: 12.42 kB / 0.8616 GB, free: 18.67 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.0001648/0.5214, allocations: 181.5 kB / 0.8617 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.5215, allocations: 22.55 kB / 0.8618 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.5215, allocations: 30.11 kB / 0.8618 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5215, allocations: 7.719 kB / 0.8618 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5215, allocations: 4.562 kB / 0.8618 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5216, allocations: 0.5 kB / 0.8618 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.5222, allocations: 0.5362 MB / 0.8623 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5222, allocations: 0.625 kB / 0.8623 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.5224, allocations: 39.34 kB / 0.8624 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5224, allocations: 2.906 kB / 0.8624 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.5224, allocations: 6.125 kB / 0.8624 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.5224, allocations: 5.094 kB / 0.8624 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5224, allocations: 0.6562 kB / 0.8624 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006632/0.5231, allocations: 0.4931 MB / 0.8629 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.5231, allocations: 23.41 kB / 0.8629 GB, free: 17.92 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.5232, allocations: 4.922 kB / 0.8629 GB, free: 17.92 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.5233, allocations: 16.8 kB / 0.8629 GB, free: 17.92 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/0.5234, allocations: 23.92 kB / 0.8629 GB, free: 17.92 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.5234, allocations: 10.7 kB / 0.8629 GB, free: 17.92 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001138/0.5235, allocations: 162.6 kB / 0.8631 GB, free: 17.84 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5235, allocations: 0 / 0.8631 GB, free: 17.84 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002889/0.5238, allocations: 56.69 kB / 0.8631 GB, free: 17.84 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.0001278/0.524, allocations: 111.8 kB / 0.8632 GB, free: 17.75 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005765/0.5245, allocations: 382.2 kB / 0.8636 GB, free: 17.52 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5245, allocations: 1.406 kB / 0.8636 GB, free: 17.52 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.5248, allocations: 169.6 kB / 0.8638 GB, free: 17.42 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.5253, allocations: 69.58 kB / 0.8638 GB, free: 17.41 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.5266, allocations: 0.6854 MB / 0.8645 GB, free: 17.09 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.5267, allocations: 128.2 kB / 0.8646 GB, free: 17.02 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.5269, allocations: 24.72 kB / 0.8647 GB, free: 17.01 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.146e-05/0.5269, allocations: 21.31 kB / 0.8647 GB, free: 17 MB / 490.8 MB Notification: Performance of SimCode: time 9.32e-07/0.5269, allocations: 0 / 0.8647 GB, free: 17 MB / 490.8 MB Notification: Performance of Templates: time 0.009167/0.5361, allocations: 3.649 MB / 0.8682 GB, free: 16.69 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AE04_Dihydroergocristine.Dihydroergocristine_Grognet1992_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.928840505890548]