Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_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.001932/0.001932, 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.002637/0.002637, 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.811/1.811, allocations: 230.6 MB / 256 MB, free: 9.602 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.409/1.409, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_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.004047/0.004047, allocations: 77.41 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1945, allocations: 73.99 MB / 0.8472 GB, free: 4.906 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference): time 0.005301/0.1998, allocations: 2.299 MB / 0.8495 GB, free: 2.609 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4078/0.6076, allocations: 6.518 MB / 0.8558 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.6078, allocations: 4.781 kB / 0.8558 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.6079, allocations: 23.64 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.6082, allocations: 90.03 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.6084, allocations: 51.94 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.6086, allocations: 252 kB / 0.8562 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.6088, allocations: 35.09 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.6089, allocations: 101.2 kB / 0.8564 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.6091, allocations: 98.55 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.6092, allocations: 17.88 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.6092, allocations: 16.72 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.6092, allocations: 37.89 kB / 0.8565 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.385e-05/0.6093, allocations: 93.53 kB / 0.8566 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.6096, allocations: 202.4 kB / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.6096, allocations: 1.688 kB / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6096, allocations: 0 / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.902e-06/0.6096, allocations: 0.5156 kB / 0.8568 GB, free: 21.86 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.0007638/0.6103, allocations: 498.9 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.6104, allocations: 11.12 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.6104, allocations: 23.67 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.6106, allocations: 182.1 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.6106, allocations: 13.3 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.6107, allocations: 22.89 kB / 0.8575 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.611, allocations: 193.3 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.611, allocations: 0 / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.6111, allocations: 5.969 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6111, allocations: 2.906 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.6114, allocations: 151 kB / 0.8579 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006689/0.6121, allocations: 481.6 kB / 0.8583 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004513/0.6125, allocations: 174.2 kB / 0.8585 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.6127, allocations: 96.2 kB / 0.8586 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.6127, allocations: 3.781 kB / 0.8586 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.613, allocations: 226.7 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.613, allocations: 0.5 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001302/0.6143, allocations: 0.7091 MB / 0.8595 GB, free: 20.27 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.6143, allocations: 135 kB / 0.8596 GB, free: 20.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.6145, allocations: 216.2 kB / 0.8598 GB, free: 20.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.6145, allocations: 31.8 kB / 0.8599 GB, free: 19.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.6146, allocations: 136.9 kB / 0.86 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.6146, allocations: 71.97 kB / 0.8601 GB, free: 19.84 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.6147, allocations: 50.94 kB / 0.8601 GB, free: 19.83 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.815e-05/0.6148, allocations: 336.9 kB / 0.8604 GB, free: 19.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.615, allocations: 147.9 kB / 0.8606 GB, free: 19.44 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.6152, allocations: 219.3 kB / 0.8608 GB, free: 19.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.6155, allocations: 282.9 kB / 0.8611 GB, free: 19.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6155, allocations: 0.625 kB / 0.8611 GB, free: 19.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005203/0.6161, allocations: 389 kB / 0.8614 GB, free: 18.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.6161, allocations: 63.84 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6161, allocations: 7.469 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.6161, allocations: 5.219 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.6163, allocations: 53.23 kB / 0.8615 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.6163, allocations: 6.125 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.6165, allocations: 18.47 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.6165, allocations: 16.28 kB / 0.8616 GB, free: 18.85 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.0001598/0.6167, allocations: 171.4 kB / 0.8617 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.6167, allocations: 25.8 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/0.6168, allocations: 29.94 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.6168, allocations: 5.375 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6168, allocations: 0.5 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6168, allocations: 1.188 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006332/0.6174, allocations: 0.5347 MB / 0.8623 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6174, allocations: 1.125 kB / 0.8623 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.6176, allocations: 40.55 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.6176, allocations: 2.219 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.6176, allocations: 10.89 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.6176, allocations: 4.688 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6176, allocations: 0 / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.6182, allocations: 0.4915 MB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.6183, allocations: 19.47 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.6183, allocations: 7.625 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.6185, allocations: 18.61 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.6185, allocations: 24.86 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.6186, allocations: 8.438 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001173/0.6187, allocations: 159.4 kB / 0.8631 GB, free: 18.02 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6187, allocations: 0 / 0.8631 GB, free: 18.02 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002949/0.619, allocations: 56.59 kB / 0.8631 GB, free: 18.02 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.0001062/0.6191, allocations: 112.2 kB / 0.8633 GB, free: 17.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005109/0.6196, allocations: 378.1 kB / 0.8636 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6196, allocations: 1.5 kB / 0.8636 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.6198, allocations: 173.1 kB / 0.8638 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.6203, allocations: 74.23 kB / 0.8639 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.6215, allocations: 0.6817 MB / 0.8645 GB, free: 17.28 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.6216, allocations: 127.2 kB / 0.8646 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.00011/0.6217, allocations: 25.91 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.6218, allocations: 21.11 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of SimCode: time 4.5e-07/0.6218, allocations: 0 / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of Templates: time 0.008443/0.6302, allocations: 3.636 MB / 0.8682 GB, free: 16.87 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.758103983942419]