Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.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.0007277/0.0007277, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008956/0.001623, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0007074/0.0007074, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008679/0.001575, allocations: 475.7 kB / 11.72 MB, free: 2.453 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 0.9415/0.9415, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09589/1.037, allocations: 53.67 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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 0.7265/0.7265, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03064/0.7571, allocations: 21.05 MB / 0.5432 GB, free: 31.96 MB / 410.7 MB " [Timeout remaining time 179] 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.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.957e-06/1.034e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid): time 0.002/0.00201, allocations: 2.546 MB / 0.5471 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005981/0.002608, allocations: 0.6232 MB / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.002671, allocations: 4 kB / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.707e-05/0.002728, allocations: 27.66 kB / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.002841, allocations: 83.31 kB / 0.5478 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.002957, allocations: 51.88 kB / 0.5478 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.003122, allocations: 262.6 kB / 0.5481 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.003219, allocations: 42.48 kB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.003369, allocations: 184.2 kB / 0.5483 GB, free: 26.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.003506, allocations: 87.7 kB / 0.5484 GB, free: 26.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.003529, allocations: 16 kB / 0.5484 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.998e-05/0.003549, allocations: 20 kB / 0.5484 GB, free: 26.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.003574, allocations: 27.88 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.003631, allocations: 59.88 kB / 0.5485 GB, free: 26.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.003775, allocations: 135.5 kB / 0.5486 GB, free: 26.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/0.003785, allocations: 0 / 0.5486 GB, free: 26.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003785, allocations: 4 kB / 0.5486 GB, free: 26.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.003795, allocations: 0 / 0.5486 GB, free: 26.38 MB / 410.7 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.0005055/0.0043, allocations: 0.4975 MB / 0.5491 GB, free: 25.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.004333, allocations: 8.031 kB / 0.5491 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.004377, allocations: 24.92 kB / 0.5492 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.004514, allocations: 171.1 kB / 0.5493 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.004532, allocations: 12.61 kB / 0.5493 GB, free: 25.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.004557, allocations: 20.34 kB / 0.5493 GB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.004702, allocations: 163.4 kB / 0.5495 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.004712, allocations: 4 kB / 0.5495 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.004721, allocations: 4 kB / 0.5495 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.004725, allocations: 3.938 kB / 0.5495 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.027e-05/0.004796, allocations: 76.7 kB / 0.5496 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.005142, allocations: 376.8 kB / 0.5499 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.005291, allocations: 112.1 kB / 0.5501 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.254e-05/0.005324, allocations: 54.55 kB / 0.5501 GB, free: 24.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.005332, allocations: 8 kB / 0.5501 GB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.005454, allocations: 188.4 kB / 0.5503 GB, free: 24.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.005456, allocations: 0 / 0.5503 GB, free: 24.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005051/0.005961, allocations: 0.5185 MB / 0.5508 GB, free: 23.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.005991, allocations: 162.2 kB / 0.551 GB, free: 23.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.006071, allocations: 202.1 kB / 0.5511 GB, free: 23.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.006083, allocations: 33.7 kB / 0.5512 GB, free: 23.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.006112, allocations: 124.4 kB / 0.5513 GB, free: 23.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.006141, allocations: 71.41 kB / 0.5514 GB, free: 23.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.006186, allocations: 47.19 kB / 0.5514 GB, free: 23.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.214e-05/0.006218, allocations: 338.8 kB / 0.5517 GB, free: 22.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.572e-05/0.006264, allocations: 97 kB / 0.5518 GB, free: 22.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.585e-05/0.00632, allocations: 173.3 kB / 0.552 GB, free: 22.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.385e-05/0.006414, allocations: 218.5 kB / 0.5522 GB, free: 22.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006416, allocations: 4 kB / 0.5522 GB, free: 22.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001333/0.006549, allocations: 258.1 kB / 0.5525 GB, free: 22.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.006577, allocations: 67.39 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006581, allocations: 4 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.00659, allocations: 4.219 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.006734, allocations: 67.84 kB / 0.5526 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.006738, allocations: 4 kB / 0.5526 GB, free: 21.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.127e-05/0.006819, allocations: 15.98 kB / 0.5526 GB, free: 21.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.00683, allocations: 11.94 kB / 0.5526 GB, free: 21.86 MB / 410.7 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 9.099e-05/0.006921, allocations: 168.9 kB / 0.5528 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.006939, allocations: 19.98 kB / 0.5528 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.006966, allocations: 29.95 kB / 0.5528 GB, free: 21.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.006969, allocations: 0 / 0.5528 GB, free: 21.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.006971, allocations: 0 / 0.5528 GB, free: 21.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.00699, allocations: 23.84 kB / 0.5529 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.006999, allocations: 7.938 kB / 0.5529 GB, free: 21.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.007022, allocations: 8 kB / 0.5529 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.935e-05/0.007071, allocations: 11.98 kB / 0.5529 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.007111, allocations: 23.89 kB / 0.5529 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000165/0.007276, allocations: 279.8 kB / 0.5532 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001736/0.00745, allocations: 419.1 kB / 0.5536 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.173e-05/0.007501, allocations: 82.45 kB / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.057e-05/0.007542, allocations: 69.94 kB / 0.5537 GB, free: 20.66 MB / 410.7 MB Notification: Performance of Backend: time 1.31e-07/0.007542, allocations: 0 / 0.5537 GB, free: 20.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.007794, allocations: 326.5 kB / 0.554 GB, free: 20.3 MB / 410.7 MB Notification: Performance of SimCode: time 0.005301/0.0131, allocations: 1.12 MB / 0.5551 GB, free: 19.12 MB / 410.7 MB Notification: Performance of Templates: time 0.004637/0.01773, allocations: 3.854 MB / 0.5589 GB, free: 15.36 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4201811626553535]