Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_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.00106/0.00106, allocations: 108.3 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.001576/0.001576, allocations: 213.3 kB / 23 MB, free: 2.977 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.061/1.061, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.8121/0.8121, allocations: 312.3 MB / 0.6108 GB, free: 97.63 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.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_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.001479/0.001479, allocations: 78.44 kB / 0.7699 GB, free: 20.17 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1602, allocations: 73.99 MB / 0.8421 GB, free: 10.31 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_reference): time 0.003484/0.1637, allocations: 2.293 MB / 0.8444 GB, free: 8.023 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006515/0.1702, allocations: 6.533 MB / 0.8507 GB, free: 1.488 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.1703, allocations: 0.5938 kB / 0.8507 GB, free: 1.488 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.1705, allocations: 27.7 kB / 0.8508 GB, free: 1.461 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.1707, allocations: 80.73 kB / 0.8508 GB, free: 1.383 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1709, allocations: 48.52 kB / 0.8509 GB, free: 1.336 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.1712, allocations: 258.7 kB / 0.8511 GB, free: 1.082 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.1714, allocations: 37.23 kB / 0.8512 GB, free: 1.047 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.1716, allocations: 96.27 kB / 0.8513 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.1718, allocations: 96.08 kB / 0.8513 GB, free: 0.8594 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.1718, allocations: 20 kB / 0.8514 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.097e-05/0.1718, allocations: 16.62 kB / 0.8514 GB, free: 0.8242 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.1719, allocations: 39.83 kB / 0.8514 GB, free: 0.7852 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.172, allocations: 96.06 kB / 0.8515 GB, free: 0.6914 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.1722, allocations: 191.8 kB / 0.8517 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1722, allocations: 0 / 0.8517 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1722, allocations: 0.625 kB / 0.8517 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1723, allocations: 0.5938 kB / 0.8517 GB, free: 0.5039 MB / 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.0008883/0.1731, allocations: 0.4904 MB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1732, allocations: 12.56 kB / 0.8522 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.1733, allocations: 24.8 kB / 0.8522 GB, free: 15.93 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.1735, allocations: 187.6 kB / 0.8524 GB, free: 15.72 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1736, allocations: 17.12 kB / 0.8524 GB, free: 15.71 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.1736, allocations: 19.89 kB / 0.8524 GB, free: 15.69 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.1739, allocations: 191.7 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1739, allocations: 0 / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1739, allocations: 4.594 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.174, allocations: 4 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.1742, allocations: 147.5 kB / 0.8528 GB, free: 15.33 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.1749, allocations: 490.6 kB / 0.8532 GB, free: 14.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.1753, allocations: 165.5 kB / 0.8534 GB, free: 14.64 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1754, allocations: 103.1 kB / 0.8535 GB, free: 14.53 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.1755, allocations: 0.6562 kB / 0.8535 GB, free: 14.53 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.1757, allocations: 227.5 kB / 0.8537 GB, free: 14.28 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.1757, allocations: 0 / 0.8537 GB, free: 14.28 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00113/0.1769, allocations: 0.7079 MB / 0.8544 GB, free: 13.52 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.1769, allocations: 137.1 kB / 0.8545 GB, free: 13.35 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1771, allocations: 215.6 kB / 0.8547 GB, free: 13.13 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1771, allocations: 29.7 kB / 0.8548 GB, free: 13.1 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.1772, allocations: 140.9 kB / 0.8549 GB, free: 12.96 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.1773, allocations: 64.03 kB / 0.8549 GB, free: 12.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/0.1773, allocations: 53.7 kB / 0.855 GB, free: 12.84 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1775, allocations: 343.3 kB / 0.8553 GB, free: 12.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.1776, allocations: 145.5 kB / 0.8555 GB, free: 12.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.1778, allocations: 221.9 kB / 0.8557 GB, free: 12.07 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3685/0.5463, allocations: 284.3 kB / 0.8559 GB, free: 30.26 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.5464, allocations: 3.156 kB / 0.856 GB, free: 30.26 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004718/0.5468, allocations: 389.5 kB / 0.8563 GB, free: 30.1 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.5469, allocations: 70.89 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5469, allocations: 1.875 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.5469, allocations: 3.125 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.547, allocations: 54.45 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.547, allocations: 1.688 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.5472, allocations: 16.75 kB / 0.8565 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.5472, allocations: 12.88 kB / 0.8565 GB, free: 30.04 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.0001875/0.5474, allocations: 171.7 kB / 0.8566 GB, free: 29.89 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.5474, allocations: 23.16 kB / 0.8567 GB, free: 29.89 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.5474, allocations: 25.89 kB / 0.8567 GB, free: 29.88 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.5474, allocations: 5.281 kB / 0.8567 GB, free: 29.88 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5474, allocations: 0 / 0.8567 GB, free: 29.88 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5474, allocations: 2.031 kB / 0.8567 GB, free: 29.88 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.548, allocations: 0.5437 MB / 0.8572 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.548, allocations: 0 / 0.8572 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.5481, allocations: 34.2 kB / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.5481, allocations: 0 / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.5481, allocations: 8.781 kB / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5481, allocations: 2.156 kB / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5481, allocations: 3.094 kB / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.5485, allocations: 499.6 kB / 0.8577 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.5486, allocations: 23.14 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.5486, allocations: 9 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.5487, allocations: 14.48 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.5488, allocations: 21.3 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.5488, allocations: 11.22 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.815e-05/0.5489, allocations: 156.1 kB / 0.858 GB, free: 29.29 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5489, allocations: 0 / 0.858 GB, free: 29.29 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001941/0.5491, allocations: 60.56 kB / 0.858 GB, free: 29.28 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 9.404e-05/0.5492, allocations: 121.1 kB / 0.8581 GB, free: 29.2 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000345/0.5495, allocations: 376.9 kB / 0.8585 GB, free: 28.97 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5495, allocations: 1.156 kB / 0.8585 GB, free: 28.97 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.5496, allocations: 178 kB / 0.8587 GB, free: 28.88 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.5499, allocations: 66.86 kB / 0.8587 GB, free: 28.87 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.5509, allocations: 0.7022 MB / 0.8594 GB, free: 28.56 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.796e-05/0.551, allocations: 126.5 kB / 0.8595 GB, free: 28.48 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.5511, allocations: 22.98 kB / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of SimCode: time 4.71e-07/0.5511, allocations: 0 / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of Templates: time 0.004733/0.5558, allocations: 2.949 MB / 0.8624 GB, free: 28.26 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_reference > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.699806680902839]