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.00256/0.00256, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002935/0.002935, allocations: 210.2 kB / 22.25 MB, free: 3.57 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.693/1.693, allocations: 230.6 MB / 256 MB, free: 9.574 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.51/1.51, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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.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.003937/0.003937, allocations: 77.56 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1736, allocations: 74 MB / 0.8472 GB, free: 4.848 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_reference): time 0.004407/0.178, allocations: 2.292 MB / 0.8495 GB, free: 2.559 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3161/0.4941, allocations: 6.522 MB / 0.8558 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.4944, allocations: 3.5 kB / 0.8558 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.4945, allocations: 28.78 kB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.4948, allocations: 81.45 kB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.495, allocations: 56.84 kB / 0.856 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.4953, allocations: 256.5 kB / 0.8562 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.4955, allocations: 37.7 kB / 0.8563 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.4956, allocations: 93.8 kB / 0.8564 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.4958, allocations: 97.97 kB / 0.8565 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.4959, allocations: 13.81 kB / 0.8565 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-05/0.4959, allocations: 21.28 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.496, allocations: 37.39 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.4961, allocations: 98.47 kB / 0.8566 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.4963, allocations: 195.4 kB / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4963, allocations: 0 / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4964, allocations: 1.75 kB / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.4964, allocations: 2.031 kB / 0.8568 GB, free: 21.83 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.0008006/0.4972, allocations: 495.5 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.4972, allocations: 9.125 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.4973, allocations: 28.67 kB / 0.8573 GB, free: 21.42 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.4975, allocations: 185.6 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.4975, allocations: 12.7 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.4975, allocations: 19.77 kB / 0.8575 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.4979, allocations: 187.9 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.4979, allocations: 3.25 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.4979, allocations: 7.5 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.4979, allocations: 2.031 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.4983, allocations: 155.7 kB / 0.8579 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006993/0.499, allocations: 478.8 kB / 0.8583 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.4994, allocations: 172.4 kB / 0.8585 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.4996, allocations: 96.23 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.4996, allocations: 7.875 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003063/0.4999, allocations: 226.8 kB / 0.8588 GB, free: 20.6 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.4999, allocations: 0.625 kB / 0.8588 GB, free: 20.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001294/0.5012, allocations: 0.7079 MB / 0.8595 GB, free: 20.24 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.5013, allocations: 134.3 kB / 0.8596 GB, free: 20.09 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.5014, allocations: 210.7 kB / 0.8598 GB, free: 19.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.5014, allocations: 32.77 kB / 0.8599 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.5015, allocations: 140.7 kB / 0.86 GB, free: 19.86 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.5015, allocations: 70.88 kB / 0.8601 GB, free: 19.81 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.5016, allocations: 51.11 kB / 0.8601 GB, free: 19.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.017e-05/0.5017, allocations: 338 kB / 0.8604 GB, free: 19.48 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.5019, allocations: 145.3 kB / 0.8606 GB, free: 19.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.5021, allocations: 222.4 kB / 0.8608 GB, free: 19.24 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.5025, allocations: 280.2 kB / 0.8611 GB, free: 19.07 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5025, allocations: 0.6562 kB / 0.8611 GB, free: 19.07 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005443/0.503, allocations: 392.3 kB / 0.8614 GB, free: 18.89 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.503, allocations: 62.42 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.5031, allocations: 5.094 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.5031, allocations: 3.062 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.5033, allocations: 55.88 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5033, allocations: 3.625 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.5035, allocations: 15.09 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.5035, allocations: 11.25 kB / 0.8616 GB, free: 18.82 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.0001532/0.5036, allocations: 177.2 kB / 0.8617 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.5037, allocations: 22.42 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.5037, allocations: 36.09 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5037, allocations: 6.375 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5037, allocations: 0.625 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5037, allocations: 5.797 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006357/0.5044, allocations: 0.5341 MB / 0.8623 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5044, allocations: 5.531 kB / 0.8623 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.5046, allocations: 33.66 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.5046, allocations: 2.453 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.5046, allocations: 11.64 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5046, allocations: 4.438 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5046, allocations: 0 / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.5052, allocations: 0.4911 MB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.5052, allocations: 21.42 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.5053, allocations: 8.078 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.5055, allocations: 17.8 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.5055, allocations: 18.5 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.5055, allocations: 10.98 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001172/0.5057, allocations: 160.5 kB / 0.8631 GB, free: 17.99 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5057, allocations: 1.875 kB / 0.8631 GB, free: 17.99 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002833/0.5059, allocations: 56.59 kB / 0.8632 GB, free: 17.99 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.0001046/0.5061, allocations: 113.2 kB / 0.8633 GB, free: 17.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005133/0.5066, allocations: 382 kB / 0.8636 GB, free: 17.67 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5066, allocations: 2.531 kB / 0.8636 GB, free: 17.67 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.5068, allocations: 169.8 kB / 0.8638 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.5072, allocations: 71.2 kB / 0.8639 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.5084, allocations: 0.6857 MB / 0.8645 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.5085, allocations: 127.5 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.5086, allocations: 20.16 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.5086, allocations: 24.66 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of SimCode: time 4.2e-07/0.5086, allocations: 0 / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of Templates: time 0.007991/0.5166, allocations: 3.643 MB / 0.8683 GB, free: 16.83 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate_Zuidema1981_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.130163806024939]