Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate.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.001977/0.001977, allocations: 105.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.002136/0.002136, allocations: 222.4 kB / 22.25 MB, free: 3.578 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.694/1.694, allocations: 230.6 MB / 256 MB, free: 9.613 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.457/1.457, allocations: 316.7 MB / 0.6144 GB, free: 93.08 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate") [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.003765/0.003765, allocations: 77.48 kB / 0.775 GB, free: 14.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1798, allocations: 73.99 MB / 0.8472 GB, free: 4.887 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate): time 0.004497/0.1843, allocations: 2.308 MB / 0.8495 GB, free: 2.578 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3595/0.5438, allocations: 6.522 MB / 0.8559 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.544, allocations: 4.781 kB / 0.8559 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.5442, allocations: 20.77 kB / 0.8559 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.5444, allocations: 85.86 kB / 0.856 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.5447, allocations: 53.7 kB / 0.856 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.00028/0.5449, allocations: 261.5 kB / 0.8563 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.5451, allocations: 32.59 kB / 0.8563 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.5452, allocations: 100.3 kB / 0.8564 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.5454, allocations: 96.98 kB / 0.8565 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.5454, allocations: 16.5 kB / 0.8565 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.396e-05/0.5455, allocations: 18.31 kB / 0.8565 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.094e-05/0.5455, allocations: 37.2 kB / 0.8565 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.562e-05/0.5456, allocations: 98.61 kB / 0.8566 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.5459, allocations: 191.5 kB / 0.8568 GB, free: 21.92 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5459, allocations: 5.375 kB / 0.8568 GB, free: 21.92 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.522e-06/0.5459, allocations: 0 / 0.8568 GB, free: 21.92 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.5459, allocations: 0 / 0.8568 GB, free: 21.92 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.0007789/0.5467, allocations: 499 kB / 0.8573 GB, free: 21.52 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.5467, allocations: 10.72 kB / 0.8573 GB, free: 21.52 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.5467, allocations: 22.42 kB / 0.8573 GB, free: 21.51 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.547, allocations: 190.5 kB / 0.8575 GB, free: 21.36 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.547, allocations: 11.64 kB / 0.8575 GB, free: 21.36 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.547, allocations: 16.42 kB / 0.8575 GB, free: 21.35 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.5474, allocations: 192.4 kB / 0.8577 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.5474, allocations: 1.875 kB / 0.8577 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.5474, allocations: 5.844 kB / 0.8577 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.5475, allocations: 3.188 kB / 0.8577 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.5478, allocations: 146.5 kB / 0.8579 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00092/0.5488, allocations: 484.7 kB / 0.8583 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.5493, allocations: 179 kB / 0.8585 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.5495, allocations: 91.7 kB / 0.8586 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.5495, allocations: 6.438 kB / 0.8586 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003637/0.5499, allocations: 231.2 kB / 0.8588 GB, free: 20.7 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.5499, allocations: 0 / 0.8588 GB, free: 20.7 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001466/0.5513, allocations: 0.7042 MB / 0.8595 GB, free: 20.33 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.5514, allocations: 137.3 kB / 0.8596 GB, free: 20.18 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.5516, allocations: 215.1 kB / 0.8599 GB, free: 20.07 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.5516, allocations: 32.33 kB / 0.8599 GB, free: 20.04 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.5517, allocations: 134.4 kB / 0.86 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.5518, allocations: 74.25 kB / 0.8601 GB, free: 19.9 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.5518, allocations: 50.03 kB / 0.8601 GB, free: 19.89 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.5519, allocations: 334.9 kB / 0.8604 GB, free: 19.57 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.5522, allocations: 146.1 kB / 0.8606 GB, free: 19.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.5524, allocations: 226.8 kB / 0.8608 GB, free: 19.33 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.5528, allocations: 287.1 kB / 0.8611 GB, free: 19.16 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5528, allocations: 2 kB / 0.8611 GB, free: 19.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005178/0.5533, allocations: 382 kB / 0.8614 GB, free: 18.98 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.5534, allocations: 63.56 kB / 0.8615 GB, free: 18.92 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.5534, allocations: 6.594 kB / 0.8615 GB, free: 18.92 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.5534, allocations: 6.625 kB / 0.8615 GB, free: 18.92 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.5536, allocations: 47.8 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.5536, allocations: 4.891 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.5538, allocations: 22.5 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.5538, allocations: 12.22 kB / 0.8616 GB, free: 18.91 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.0001842/0.554, allocations: 174.7 kB / 0.8618 GB, free: 18.76 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.554, allocations: 23.2 kB / 0.8618 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.5541, allocations: 28.98 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.5541, allocations: 2.5 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5541, allocations: 3.938 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5541, allocations: 1.719 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006864/0.5548, allocations: 0.5413 MB / 0.8624 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5548, allocations: 5.172 kB / 0.8624 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.555, allocations: 38.92 kB / 0.8624 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.555, allocations: 0 / 0.8624 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.555, allocations: 14.12 kB / 0.8624 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.555, allocations: 4.656 kB / 0.8624 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.555, allocations: 0.8438 kB / 0.8624 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.5556, allocations: 496.5 kB / 0.8629 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.5557, allocations: 23.25 kB / 0.8629 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.5557, allocations: 6.75 kB / 0.8629 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.5559, allocations: 13.09 kB / 0.8629 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/0.5559, allocations: 23.59 kB / 0.863 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.556, allocations: 8.969 kB / 0.863 GB, free: 18.16 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001146/0.5561, allocations: 163.2 kB / 0.8631 GB, free: 18.08 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5561, allocations: 1.531 kB / 0.8631 GB, free: 18.08 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002897/0.5564, allocations: 52.38 kB / 0.8632 GB, free: 18.08 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.0001021/0.5565, allocations: 112.4 kB / 0.8633 GB, free: 17.99 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004836/0.557, allocations: 385.3 kB / 0.8636 GB, free: 17.76 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.557, allocations: 0 / 0.8636 GB, free: 17.76 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.5572, allocations: 171 kB / 0.8638 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.5576, allocations: 75.56 kB / 0.8639 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.5589, allocations: 0.6854 MB / 0.8645 GB, free: 17.34 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.559, allocations: 127.2 kB / 0.8647 GB, free: 17.26 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.5591, allocations: 25.58 kB / 0.8647 GB, free: 17.26 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.5591, allocations: 24.11 kB / 0.8647 GB, free: 17.25 MB / 490.8 MB Notification: Performance of SimCode: time 4.91e-07/0.5591, allocations: 4 kB / 0.8647 GB, free: 17.25 MB / 490.8 MB Notification: Performance of Templates: time 0.00851/0.5677, allocations: 3.627 MB / 0.8683 GB, free: 16.93 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C04A_PeripheralVasodilators.C04AD04_EtofyllineNicotinate.EtofyllineNicotinate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.810127512086183]