Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_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.002483/0.002483, allocations: 84.44 kB / 19.17 MB, free: 0.7305 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.002898/0.002898, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.609/1.609, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.488/1.488, allocations: 292.9 MB / 0.5392 GB, free: 50.21 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_Wasfi2003_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6999 GB, free: 8.617 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.852e-05, allocations: 10.22 kB / 0.6999 GB, free: 8.605 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference): time 0.002929/0.002957, allocations: 2.29 MB / 0.7021 GB, free: 6.301 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00589/0.008847, allocations: 6.522 MB / 0.7085 GB, free: 15.77 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.009066, allocations: 0 / 0.7085 GB, free: 15.77 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.009222, allocations: 35.7 kB / 0.7085 GB, free: 15.73 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.009515, allocations: 87.2 kB / 0.7086 GB, free: 15.65 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.009758, allocations: 47.88 kB / 0.7086 GB, free: 15.6 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.01015, allocations: 270.6 kB / 0.7089 GB, free: 15.34 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.0103, allocations: 36.56 kB / 0.7089 GB, free: 15.3 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.01055, allocations: 147.6 kB / 0.7091 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.01078, allocations: 79.78 kB / 0.7091 GB, free: 15.08 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.01082, allocations: 20 kB / 0.7092 GB, free: 15.06 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.721e-05/0.01085, allocations: 16 kB / 0.7092 GB, free: 15.05 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.01091, allocations: 43.77 kB / 0.7092 GB, free: 15 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.01101, allocations: 67.86 kB / 0.7093 GB, free: 14.94 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.01132, allocations: 203.3 kB / 0.7095 GB, free: 14.74 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.01132, allocations: 0 / 0.7095 GB, free: 14.74 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.542e-06/0.01133, allocations: 3.938 kB / 0.7095 GB, free: 14.73 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.01133, allocations: 0 / 0.7095 GB, free: 14.73 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.0009946/0.01233, allocations: 0.493 MB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.01237, allocations: 8.031 kB / 0.71 GB, free: 14.19 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.477e-05/0.01245, allocations: 24.8 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.01274, allocations: 182.4 kB / 0.7102 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.01277, allocations: 16.61 kB / 0.7102 GB, free: 13.94 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.01281, allocations: 12.38 kB / 0.7102 GB, free: 13.93 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/0.01323, allocations: 198.5 kB / 0.7104 GB, free: 13.72 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.01325, allocations: 3.953 kB / 0.7104 GB, free: 13.72 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.01326, allocations: 4 kB / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.01327, allocations: 4 kB / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.01369, allocations: 150.2 kB / 0.7105 GB, free: 13.56 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008989/0.01459, allocations: 477.5 kB / 0.711 GB, free: 13.06 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.01513, allocations: 176 kB / 0.7112 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.01535, allocations: 102.5 kB / 0.7113 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.01536, allocations: 0 / 0.7113 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004069/0.01577, allocations: 232.3 kB / 0.7115 GB, free: 12.5 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.01577, allocations: 4 kB / 0.7115 GB, free: 12.5 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001683/0.01746, allocations: 0.7027 MB / 0.7122 GB, free: 11.73 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.01758, allocations: 136.5 kB / 0.7123 GB, free: 11.57 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.01784, allocations: 215 kB / 0.7125 GB, free: 11.35 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.01788, allocations: 33.7 kB / 0.7125 GB, free: 11.31 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.01799, allocations: 128.5 kB / 0.7127 GB, free: 11.18 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/0.01807, allocations: 71.42 kB / 0.7127 GB, free: 11.11 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.01816, allocations: 49.7 kB / 0.7128 GB, free: 11.06 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.01837, allocations: 342.8 kB / 0.7131 GB, free: 10.71 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.01865, allocations: 140.9 kB / 0.7132 GB, free: 10.56 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.01899, allocations: 229.3 kB / 0.7135 GB, free: 10.29 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.0195, allocations: 282.2 kB / 0.7137 GB, free: 9.973 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.0195, allocations: 0 / 0.7137 GB, free: 9.973 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007042/0.0202, allocations: 396 kB / 0.7141 GB, free: 9.555 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.02027, allocations: 63.39 kB / 0.7142 GB, free: 9.48 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.02028, allocations: 0 / 0.7142 GB, free: 9.48 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.0203, allocations: 4 kB / 0.7142 GB, free: 9.477 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.02052, allocations: 55.84 kB / 0.7142 GB, free: 9.422 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.02053, allocations: 4.219 kB / 0.7142 GB, free: 9.418 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.02071, allocations: 23.98 kB / 0.7142 GB, free: 9.395 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.02073, allocations: 8 kB / 0.7143 GB, free: 9.387 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.0002259/0.02095, allocations: 183.2 kB / 0.7144 GB, free: 9.195 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.02099, allocations: 15.91 kB / 0.7144 GB, free: 9.18 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.259e-05/0.02105, allocations: 29.95 kB / 0.7145 GB, free: 9.148 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.02105, allocations: 0 / 0.7145 GB, free: 9.148 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.02106, allocations: 3.938 kB / 0.7145 GB, free: 9.145 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.02106, allocations: 4 kB / 0.7145 GB, free: 9.141 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008762/0.02194, allocations: 0.5432 MB / 0.715 GB, free: 8.551 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.02194, allocations: 0 / 0.715 GB, free: 8.551 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.02215, allocations: 39.97 kB / 0.715 GB, free: 8.512 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.02215, allocations: 0 / 0.715 GB, free: 8.512 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.02217, allocations: 4 kB / 0.7151 GB, free: 8.508 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.02218, allocations: 0 / 0.7151 GB, free: 8.508 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.02218, allocations: 3.938 kB / 0.7151 GB, free: 8.504 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009297/0.02311, allocations: 0.4968 MB / 0.7155 GB, free: 7.973 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.02315, allocations: 19.89 kB / 0.7156 GB, free: 7.953 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.02319, allocations: 11.94 kB / 0.7156 GB, free: 7.941 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.02336, allocations: 15.98 kB / 0.7156 GB, free: 7.926 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.02345, allocations: 19.97 kB / 0.7156 GB, free: 7.906 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.02347, allocations: 7.984 kB / 0.7156 GB, free: 7.898 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001845/0.02365, allocations: 164.3 kB / 0.7158 GB, free: 7.738 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.02365, allocations: 0 / 0.7158 GB, free: 7.738 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002931/0.02395, allocations: 56 kB / 0.7158 GB, free: 7.684 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.0001661/0.02411, allocations: 122.7 kB / 0.7159 GB, free: 7.559 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006496/0.02476, allocations: 381.8 kB / 0.7163 GB, free: 7.145 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.02476, allocations: 0 / 0.7163 GB, free: 7.145 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.02506, allocations: 173.4 kB / 0.7165 GB, free: 6.957 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.02551, allocations: 63.91 kB / 0.7165 GB, free: 6.895 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.02672, allocations: 0.5742 MB / 0.7171 GB, free: 6.289 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.02687, allocations: 125.6 kB / 0.7172 GB, free: 6.145 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.02698, allocations: 25.94 kB / 0.7172 GB, free: 6.117 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.02705, allocations: 20.5 kB / 0.7173 GB, free: 6.098 MB / 426.8 MB Notification: Performance of SimCode: time 4.31e-07/0.02705, allocations: 0 / 0.7173 GB, free: 6.098 MB / 426.8 MB Notification: Performance of Templates: time 0.2335/0.2606, allocations: 3.336 MB / 0.7205 GB, free: 36.4 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AA02_Diphenhydramine.Diphenhydramine_Wasfi2003_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.081736136926338]