Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.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.002058/0.002058, allocations: 101.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.002195/0.002195, allocations: 214.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.679/1.679, allocations: 230.6 MB / 256 MB, free: 9.637 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.522/1.522, 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.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine") [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.00379/0.00379, allocations: 77.66 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1698, allocations: 73.99 MB / 0.8472 GB, free: 4.859 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine): time 0.004096/0.1739, allocations: 2.293 MB / 0.8495 GB, free: 2.566 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3751/0.549, allocations: 6.527 MB / 0.8558 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.5492, allocations: 0.9375 kB / 0.8558 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.5493, allocations: 25.66 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.5495, allocations: 84.25 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.5497, allocations: 53.55 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.5501, allocations: 256.9 kB / 0.8562 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.5502, allocations: 35.06 kB / 0.8563 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.5504, allocations: 100.8 kB / 0.8564 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.5506, allocations: 96.94 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.5506, allocations: 17.72 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.866e-05/0.5507, allocations: 16.81 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.5507, allocations: 37.48 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.5508, allocations: 99.14 kB / 0.8566 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.551, allocations: 196.4 kB / 0.8568 GB, free: 21.87 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.551, allocations: 0.7031 kB / 0.8568 GB, free: 21.87 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.242e-06/0.551, allocations: 0.7188 kB / 0.8568 GB, free: 21.87 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.551, allocations: 0 / 0.8568 GB, free: 21.87 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.0007228/0.5517, allocations: 0.4891 MB / 0.8573 GB, free: 21.47 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.5518, allocations: 8.906 kB / 0.8573 GB, free: 21.47 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.5518, allocations: 23.78 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.552, allocations: 186.6 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.552, allocations: 12.11 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.5521, allocations: 21.05 kB / 0.8575 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.5524, allocations: 191.3 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.5524, allocations: 2.812 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.5524, allocations: 5.312 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5524, allocations: 5.156 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.5528, allocations: 147.5 kB / 0.8579 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000638/0.5534, allocations: 479.3 kB / 0.8583 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.5538, allocations: 177.6 kB / 0.8585 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.554, allocations: 99.95 kB / 0.8586 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.554, allocations: 4.5 kB / 0.8586 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.5543, allocations: 223.5 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.5543, allocations: 0.625 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001305/0.5556, allocations: 0.7018 MB / 0.8595 GB, free: 20.28 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.5556, allocations: 141 kB / 0.8596 GB, free: 20.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.5558, allocations: 216.2 kB / 0.8598 GB, free: 20.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.5558, allocations: 32.52 kB / 0.8599 GB, free: 19.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.5559, allocations: 131.6 kB / 0.86 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.5559, allocations: 77.69 kB / 0.8601 GB, free: 19.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.556, allocations: 55.52 kB / 0.8601 GB, free: 19.83 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.5561, allocations: 334.1 kB / 0.8604 GB, free: 19.52 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.5563, allocations: 143 kB / 0.8606 GB, free: 19.44 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.5565, allocations: 226 kB / 0.8608 GB, free: 19.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.5569, allocations: 285.9 kB / 0.8611 GB, free: 19.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5569, allocations: 0.5938 kB / 0.8611 GB, free: 19.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005016/0.5574, allocations: 386.2 kB / 0.8614 GB, free: 18.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.5574, allocations: 60.88 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5574, allocations: 7.094 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.5574, allocations: 3.219 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.5576, allocations: 56.09 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5576, allocations: 3.312 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.5578, allocations: 15.56 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.5578, allocations: 13.33 kB / 0.8616 GB, free: 18.86 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.0001431/0.558, allocations: 173.7 kB / 0.8618 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.558, allocations: 22.61 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.558, allocations: 33.61 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.558, allocations: 2.75 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.558, allocations: 4.531 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.558, allocations: 2.344 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.5587, allocations: 0.5406 MB / 0.8623 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5587, allocations: 1 kB / 0.8623 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.5589, allocations: 41.23 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5589, allocations: 4.922 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.5589, allocations: 5.781 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5589, allocations: 5.188 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5589, allocations: 3.656 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006163/0.5595, allocations: 495.8 kB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.5595, allocations: 23.03 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.5596, allocations: 9.266 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.5597, allocations: 11.77 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.5598, allocations: 23.83 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.5598, allocations: 6.906 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001196/0.5599, allocations: 164.9 kB / 0.8631 GB, free: 18.03 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.5599, allocations: 0.5 kB / 0.8631 GB, free: 18.03 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002813/0.5602, allocations: 54.03 kB / 0.8632 GB, free: 18.03 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.0001064/0.5603, allocations: 111.9 kB / 0.8633 GB, free: 17.94 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000489/0.5608, allocations: 384.3 kB / 0.8636 GB, free: 17.71 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5608, allocations: 1.219 kB / 0.8636 GB, free: 17.71 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.561, allocations: 171.2 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.0004743/0.5615, allocations: 72.73 kB / 0.8639 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.5627, allocations: 0.6793 MB / 0.8645 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.5628, allocations: 126.8 kB / 0.8646 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.5629, allocations: 26.47 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.563, allocations: 20.53 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of SimCode: time 6.71e-07/0.563, allocations: 0 / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of Templates: time 0.008818/0.5718, allocations: 3.646 MB / 0.8683 GB, free: 16.88 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.810799851082265]