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.001391/0.001391, allocations: 104.4 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.001228/0.001228, allocations: 215.5 kB / 23 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.089/1.089, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.82/0.82, allocations: 312.3 MB / 0.6108 GB, free: 97.11 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.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.004764/0.004764, allocations: 73.17 kB / 0.7699 GB, free: 19.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1543, allocations: 73.98 MB / 0.8421 GB, free: 9.828 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference): time 0.00298/0.1573, allocations: 2.308 MB / 0.8444 GB, free: 7.523 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005807/0.1631, allocations: 6.525 MB / 0.8508 GB, free: 0.9961 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.1633, allocations: 4.562 kB / 0.8508 GB, free: 0.9922 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.1635, allocations: 23.72 kB / 0.8508 GB, free: 0.9688 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.1637, allocations: 84.7 kB / 0.8509 GB, free: 0.8867 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.164, allocations: 52.42 kB / 0.8509 GB, free: 0.8359 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.1642, allocations: 255.4 kB / 0.8512 GB, free: 0.5859 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.1644, allocations: 32.58 kB / 0.8512 GB, free: 0.5547 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1645, allocations: 100.3 kB / 0.8513 GB, free: 468 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.1647, allocations: 100.1 kB / 0.8514 GB, free: 368 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.1648, allocations: 23.98 kB / 0.8514 GB, free: 344 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.55e-05/0.1648, allocations: 16.75 kB / 0.8514 GB, free: 328 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.1648, allocations: 31.86 kB / 0.8515 GB, free: 296 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.285e-05/0.1649, allocations: 92.16 kB / 0.8515 GB, free: 204 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.1651, allocations: 199.2 kB / 0.8517 GB, free: 4 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1651, allocations: 4.625 kB / 0.8517 GB, free: 0 / 474.8 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1651, allocations: 0.5938 kB / 0.8517 GB, free: 0 / 474.8 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1651, allocations: 0 / 0.8517 GB, free: 0 / 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.0007213/0.1659, allocations: 0.491 MB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1659, allocations: 8.031 kB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.1659, allocations: 29.39 kB / 0.8523 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.1662, allocations: 179.1 kB / 0.8524 GB, free: 15.23 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1662, allocations: 13.23 kB / 0.8524 GB, free: 15.21 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.1662, allocations: 20.48 kB / 0.8525 GB, free: 15.2 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.1665, allocations: 191 kB / 0.8526 GB, free: 14.99 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1665, allocations: 4 kB / 0.8526 GB, free: 14.99 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1665, allocations: 4.625 kB / 0.8526 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1665, allocations: 4.625 kB / 0.8526 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.1667, allocations: 146.8 kB / 0.8528 GB, free: 14.83 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.1673, allocations: 482.7 kB / 0.8533 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.1676, allocations: 181.2 kB / 0.8534 GB, free: 14.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.1678, allocations: 95.02 kB / 0.8535 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.1678, allocations: 8.562 kB / 0.8535 GB, free: 14.03 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.168, allocations: 221.5 kB / 0.8537 GB, free: 13.78 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.384e-06/0.168, allocations: 0.6562 kB / 0.8537 GB, free: 13.78 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001019/0.1691, allocations: 0.7009 MB / 0.8544 GB, free: 13.02 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.1691, allocations: 136.5 kB / 0.8545 GB, free: 12.86 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.1693, allocations: 215.5 kB / 0.8548 GB, free: 12.64 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1693, allocations: 37.69 kB / 0.8548 GB, free: 12.59 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.1694, allocations: 132.9 kB / 0.8549 GB, free: 12.46 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.1694, allocations: 72.09 kB / 0.855 GB, free: 12.39 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.1695, allocations: 53.7 kB / 0.855 GB, free: 12.33 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.1696, allocations: 335.3 kB / 0.8554 GB, free: 12 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3281/0.4976, allocations: 146.7 kB / 0.8555 GB, free: 30.28 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.4978, allocations: 227 kB / 0.8557 GB, free: 30.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.4981, allocations: 277.1 kB / 0.856 GB, free: 29.96 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4981, allocations: 2.562 kB / 0.856 GB, free: 29.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004356/0.4985, allocations: 388.3 kB / 0.8563 GB, free: 29.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.4986, allocations: 76.06 kB / 0.8564 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4986, allocations: 2.375 kB / 0.8564 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/0.4986, allocations: 3.594 kB / 0.8564 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.4988, allocations: 47.73 kB / 0.8565 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.4988, allocations: 6.859 kB / 0.8565 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.4989, allocations: 15.83 kB / 0.8565 GB, free: 29.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.4989, allocations: 13.45 kB / 0.8565 GB, free: 29.73 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.000205/0.4991, allocations: 176 kB / 0.8567 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.4992, allocations: 28.72 kB / 0.8567 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.4992, allocations: 26.62 kB / 0.8567 GB, free: 29.58 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4992, allocations: 3.094 kB / 0.8567 GB, free: 29.58 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4992, allocations: 0 / 0.8567 GB, free: 29.58 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.4992, allocations: 1.719 kB / 0.8567 GB, free: 29.58 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006008/0.4998, allocations: 0.5352 MB / 0.8573 GB, free: 29.28 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4998, allocations: 0 / 0.8573 GB, free: 29.28 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.5, allocations: 43.8 kB / 0.8573 GB, free: 29.28 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5, allocations: 0.625 kB / 0.8573 GB, free: 29.28 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.5, allocations: 6.375 kB / 0.8573 GB, free: 29.28 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5, allocations: 4.531 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5, allocations: 0.5938 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.5005, allocations: 0.4902 MB / 0.8578 GB, free: 29.05 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.5005, allocations: 22.73 kB / 0.8578 GB, free: 29.05 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.5005, allocations: 14.91 kB / 0.8578 GB, free: 29.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.5006, allocations: 13.31 kB / 0.8578 GB, free: 29.05 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.5007, allocations: 20.28 kB / 0.8579 GB, free: 29.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.5007, allocations: 11.86 kB / 0.8579 GB, free: 29.05 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001024/0.5008, allocations: 159.5 kB / 0.858 GB, free: 28.97 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5008, allocations: 0.5938 kB / 0.858 GB, free: 28.97 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000209/0.501, allocations: 53.38 kB / 0.8581 GB, free: 28.97 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.0001153/0.5011, allocations: 121.3 kB / 0.8582 GB, free: 28.88 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.5015, allocations: 380.5 kB / 0.8585 GB, free: 28.65 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5015, allocations: 0.5938 kB / 0.8585 GB, free: 28.65 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.5016, allocations: 169.6 kB / 0.8587 GB, free: 28.55 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.502, allocations: 61 kB / 0.8588 GB, free: 28.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.5031, allocations: 0.7031 MB / 0.8595 GB, free: 28.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.312e-05/0.5031, allocations: 126 kB / 0.8596 GB, free: 28.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.5032, allocations: 25.23 kB / 0.8596 GB, free: 28.16 MB / 490.8 MB Notification: Performance of SimCode: time 1.082e-06/0.5032, allocations: 0.625 kB / 0.8596 GB, free: 28.16 MB / 490.8 MB Notification: Performance of Templates: time 0.005363/0.5086, allocations: 2.944 MB / 0.8625 GB, free: 27.93 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 > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KD01_Ketanserin.Ketanserin_Michiels1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.465127568691969]