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.0006806/0.0006806, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009424/0.001623, allocations: 435.8 kB / 10.31 MB, free: 384 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.0007325/0.0007325, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009653/0.001698, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9133/0.9133, allocations: 177.1 MB / 189.5 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07657/0.9899, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7167/0.7167, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02631/0.743, allocations: 21.05 MB / 0.5431 GB, free: 31.97 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.302e-06/1.302e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.358e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid): time 0.002075/0.002088, allocations: 2.528 MB / 0.547 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008019/0.00289, allocations: 0.6194 MB / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.367e-05/0.002984, allocations: 0 / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.453e-05/0.003048, allocations: 31.66 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.003181, allocations: 87.27 kB / 0.5477 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.003303, allocations: 59.8 kB / 0.5477 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.003491, allocations: 266.6 kB / 0.548 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.003594, allocations: 30.55 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.003762, allocations: 176.2 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.003902, allocations: 83.72 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.003925, allocations: 20 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.206e-05/0.003947, allocations: 16 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.003973, allocations: 31.86 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.39e-05/0.004027, allocations: 59.88 kB / 0.5484 GB, free: 26.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.004173, allocations: 147.5 kB / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.004185, allocations: 0 / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004186, allocations: 0 / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.004196, allocations: 0 / 0.5485 GB, free: 26.41 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.0005112/0.004707, allocations: 0.4898 MB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.53e-05/0.004733, allocations: 12.03 kB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.004773, allocations: 24.91 kB / 0.549 GB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.004906, allocations: 179.1 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.004925, allocations: 12.61 kB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.004947, allocations: 16.38 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.005094, allocations: 159.4 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.005108, allocations: 4 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.005121, allocations: 7.938 kB / 0.5494 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.005128, allocations: 4 kB / 0.5494 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.0052, allocations: 80.64 kB / 0.5495 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.005573, allocations: 364.9 kB / 0.5498 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.005738, allocations: 116 kB / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.005772, allocations: 58.55 kB / 0.55 GB, free: 24.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.005779, allocations: 0 / 0.55 GB, free: 24.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.005912, allocations: 192.3 kB / 0.5502 GB, free: 24.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.005914, allocations: 0 / 0.5502 GB, free: 24.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005174/0.006431, allocations: 0.515 MB / 0.5507 GB, free: 23.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.006464, allocations: 132.5 kB / 0.5508 GB, free: 23.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.006578, allocations: 202.1 kB / 0.551 GB, free: 23.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.006591, allocations: 33.7 kB / 0.551 GB, free: 23.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.006624, allocations: 120.4 kB / 0.5512 GB, free: 23.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.006656, allocations: 71.41 kB / 0.5512 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.006704, allocations: 51.19 kB / 0.5513 GB, free: 23.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.504e-05/0.006739, allocations: 334.8 kB / 0.5516 GB, free: 22.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.791e-05/0.006787, allocations: 97 kB / 0.5517 GB, free: 22.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.178e-05/0.006849, allocations: 177.3 kB / 0.5519 GB, free: 22.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.952e-05/0.006948, allocations: 215.8 kB / 0.5521 GB, free: 22.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.00695, allocations: 3.938 kB / 0.5521 GB, free: 22.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001442/0.007094, allocations: 263.7 kB / 0.5523 GB, free: 22.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.007125, allocations: 67.39 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.00713, allocations: 2.656 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.00714, allocations: 7.938 kB / 0.5524 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.007293, allocations: 63.03 kB / 0.5524 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.007298, allocations: 11.92 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.609e-05/0.007374, allocations: 15.94 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.007385, allocations: 12 kB / 0.5525 GB, free: 21.93 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 0.0001013/0.007486, allocations: 173.7 kB / 0.5526 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.007508, allocations: 19.97 kB / 0.5527 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.007536, allocations: 21.97 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007538, allocations: 4 kB / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007539, allocations: 0 / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.007543, allocations: 3.984 kB / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.007849, allocations: 378.2 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.007851, allocations: 3.938 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.007996, allocations: 47.97 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.008017, allocations: 15.86 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.008019, allocations: 0 / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.008031, allocations: 7.984 kB / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.008032, allocations: 0 / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008033, allocations: 0 / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.008204, allocations: 356.2 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.008227, allocations: 8 kB / 0.5535 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.008299, allocations: 7.984 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.008343, allocations: 23.41 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.008351, allocations: 15.94 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.108e-05/0.008392, allocations: 57.95 kB / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008392, allocations: 0 / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.008556, allocations: 60 kB / 0.5536 GB, free: 20.67 MB / 410.7 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 6.749e-05/0.008623, allocations: 95.48 kB / 0.5537 GB, free: 20.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.008781, allocations: 316.5 kB / 0.554 GB, free: 20.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.008784, allocations: 448 / 0.554 GB, free: 20.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.022e-05/0.008844, allocations: 153.8 kB / 0.5542 GB, free: 20.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.009064, allocations: 74.47 kB / 0.5542 GB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.01433, allocations: 0.5776 MB / 0.5548 GB, free: 19.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.01436, allocations: 80.33 kB / 0.5549 GB, free: 19.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.441e-05/0.01444, allocations: 29.97 kB / 0.5549 GB, free: 19.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.01456, allocations: 111.3 kB / 0.555 GB, free: 19.13 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01456, allocations: 0 / 0.555 GB, free: 19.13 MB / 410.7 MB Notification: Performance of Templates: time 0.00433/0.01889, allocations: 3.781 MB / 0.5587 GB, free: 15.45 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.208582853898406]