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.002646/0.002646, allocations: 84.44 kB / 19.18 MB, free: 0.7383 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.003559/0.003559, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.582/1.582, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.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.335/1.335, allocations: 293 MB / 0.5392 GB, free: 49.96 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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6999 GB, free: 8.652 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.568e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.645 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine): time 0.01423/0.01426, allocations: 2.296 MB / 0.7022 GB, free: 6.332 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.009558/0.02381, allocations: 6.526 MB / 0.7085 GB, free: 15.8 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.02398, allocations: 7.938 kB / 0.7086 GB, free: 15.79 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.02414, allocations: 27.7 kB / 0.7086 GB, free: 15.76 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.02444, allocations: 87.27 kB / 0.7087 GB, free: 15.68 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.0247, allocations: 51.88 kB / 0.7087 GB, free: 15.62 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.02519, allocations: 266.6 kB / 0.709 GB, free: 15.36 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.02537, allocations: 40.56 kB / 0.709 GB, free: 15.33 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.02568, allocations: 139.6 kB / 0.7091 GB, free: 15.19 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.02599, allocations: 83.77 kB / 0.7092 GB, free: 15.11 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.812e-05/0.02605, allocations: 16 kB / 0.7092 GB, free: 15.09 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.602e-05/0.02611, allocations: 20 kB / 0.7093 GB, free: 15.07 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.02619, allocations: 35.78 kB / 0.7093 GB, free: 15.04 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.02636, allocations: 71.84 kB / 0.7094 GB, free: 14.97 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.02677, allocations: 211.3 kB / 0.7096 GB, free: 14.76 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.02677, allocations: 0 / 0.7096 GB, free: 14.76 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02678, allocations: 7.875 kB / 0.7096 GB, free: 14.75 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.02678, allocations: 0 / 0.7096 GB, free: 14.75 MB / 426.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.004322/0.0311, allocations: 492.8 kB / 0.71 GB, free: 14.23 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.03115, allocations: 12.03 kB / 0.71 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.953e-05/0.03124, allocations: 24.8 kB / 0.7101 GB, free: 14.19 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.03159, allocations: 182.4 kB / 0.7102 GB, free: 13.98 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.03162, allocations: 12.61 kB / 0.7103 GB, free: 13.97 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.03167, allocations: 16.38 kB / 0.7103 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005356/0.0322, allocations: 194.5 kB / 0.7105 GB, free: 13.75 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.03223, allocations: 7.938 kB / 0.7105 GB, free: 13.75 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.03226, allocations: 12 kB / 0.7105 GB, free: 13.73 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.03226, allocations: 0 / 0.7105 GB, free: 13.73 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005363/0.0328, allocations: 150.2 kB / 0.7106 GB, free: 13.58 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004139/0.03694, allocations: 477.5 kB / 0.7111 GB, free: 13.08 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008178/0.03775, allocations: 176.2 kB / 0.7112 GB, free: 12.89 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.03811, allocations: 94.52 kB / 0.7113 GB, free: 12.79 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.03813, allocations: 3.938 kB / 0.7113 GB, free: 12.79 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005291/0.03866, allocations: 233.2 kB / 0.7116 GB, free: 12.53 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.03866, allocations: 4 kB / 0.7116 GB, free: 12.53 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.005199/0.04386, allocations: 0.6986 MB / 0.7122 GB, free: 11.77 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.044, allocations: 144.5 kB / 0.7124 GB, free: 11.59 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.04434, allocations: 215 kB / 0.7126 GB, free: 11.38 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.04438, allocations: 29.7 kB / 0.7126 GB, free: 11.34 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.04452, allocations: 136.5 kB / 0.7127 GB, free: 11.2 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.527e-05/0.04462, allocations: 71.42 kB / 0.7128 GB, free: 11.13 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.04476, allocations: 49.7 kB / 0.7129 GB, free: 11.08 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.04499, allocations: 338.8 kB / 0.7132 GB, free: 10.74 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.04537, allocations: 144.9 kB / 0.7133 GB, free: 10.58 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003521/0.04889, allocations: 225.3 kB / 0.7135 GB, free: 10.31 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007003/0.04959, allocations: 282.3 kB / 0.7138 GB, free: 9.996 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.0496, allocations: 0 / 0.7138 GB, free: 9.996 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009564/0.05055, allocations: 392.1 kB / 0.7142 GB, free: 9.582 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.267e-05/0.05063, allocations: 63.39 kB / 0.7142 GB, free: 9.508 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.05065, allocations: 4 kB / 0.7142 GB, free: 9.504 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.05067, allocations: 0 / 0.7142 GB, free: 9.504 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.05098, allocations: 59.84 kB / 0.7143 GB, free: 9.445 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.05099, allocations: 4 kB / 0.7143 GB, free: 9.441 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.05126, allocations: 15.98 kB / 0.7143 GB, free: 9.426 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.05129, allocations: 8 kB / 0.7143 GB, free: 9.418 MB / 426.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.003332/0.05462, allocations: 184.2 kB / 0.7145 GB, free: 9.227 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.05468, allocations: 23.84 kB / 0.7145 GB, free: 9.203 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.698e-05/0.05475, allocations: 25.95 kB / 0.7146 GB, free: 9.176 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.05476, allocations: 4 kB / 0.7146 GB, free: 9.172 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.05477, allocations: 3.938 kB / 0.7146 GB, free: 9.168 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.05477, allocations: 0 / 0.7146 GB, free: 9.168 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.05597, allocations: 0.5354 MB / 0.7151 GB, free: 8.586 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.05598, allocations: 4 kB / 0.7151 GB, free: 8.582 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.05627, allocations: 39.91 kB / 0.7151 GB, free: 8.543 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.05627, allocations: 4 kB / 0.7151 GB, free: 8.539 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.0563, allocations: 4 kB / 0.7151 GB, free: 8.535 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.0563, allocations: 4 kB / 0.7151 GB, free: 8.531 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.05631, allocations: 3.984 kB / 0.7151 GB, free: 8.527 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004219/0.06053, allocations: 0.4885 MB / 0.7156 GB, free: 8.008 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.0606, allocations: 23.98 kB / 0.7156 GB, free: 7.984 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.761e-05/0.06067, allocations: 15.94 kB / 0.7157 GB, free: 7.969 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.06095, allocations: 15.97 kB / 0.7157 GB, free: 7.953 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.06106, allocations: 19.97 kB / 0.7157 GB, free: 7.934 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.06109, allocations: 11.98 kB / 0.7157 GB, free: 7.922 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002684/0.06136, allocations: 156.4 kB / 0.7158 GB, free: 7.77 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.06136, allocations: 0 / 0.7158 GB, free: 7.77 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0005503/0.06191, allocations: 52 kB / 0.7159 GB, free: 7.719 MB / 426.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.000198/0.06211, allocations: 120.5 kB / 0.716 GB, free: 7.594 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009188/0.06303, allocations: 386.2 kB / 0.7164 GB, free: 7.176 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.06303, allocations: 0 / 0.7164 GB, free: 7.176 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003412/0.06644, allocations: 177 kB / 0.7165 GB, free: 6.984 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006657/0.06711, allocations: 68.28 kB / 0.7166 GB, free: 6.918 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.06865, allocations: 0.5647 MB / 0.7172 GB, free: 6.324 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.06882, allocations: 129.6 kB / 0.7173 GB, free: 6.176 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.06896, allocations: 29.92 kB / 0.7173 GB, free: 6.145 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.06904, allocations: 20.5 kB / 0.7173 GB, free: 6.125 MB / 426.8 MB Notification: Performance of SimCode: time 5.01e-07/0.06904, allocations: 0 / 0.7173 GB, free: 6.125 MB / 426.8 MB Notification: Performance of Templates: time 0.2252/0.2942, allocations: 3.326 MB / 0.7206 GB, free: 37.2 MB / 426.8 MB " [Timeout remaining time 660] 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: 6.885318117914721]