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.0007003/0.0007003, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009876/0.001688, allocations: 440 kB / 10.41 MB, free: 284 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.0006958/0.0006958, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001702, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9831/0.9831, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08832/1.071, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7431/0.7431, allocations: 291.1 MB / 0.5227 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03071/0.7738, allocations: 21.05 MB / 0.5433 GB, free: 31.49 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.954e-06/1.954e-06, allocations: 3.984 kB / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.32e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid): time 0.002334/0.002357, allocations: 2.533 MB / 0.5472 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007153/0.003073, allocations: 0.6271 MB / 0.5478 GB, free: 26.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.003148, allocations: 0 / 0.5478 GB, free: 26.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.59e-05/0.003214, allocations: 27.7 kB / 0.5478 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.003338, allocations: 91.27 kB / 0.5479 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.003461, allocations: 47.88 kB / 0.548 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.003655, allocations: 270.6 kB / 0.5482 GB, free: 26.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.003759, allocations: 38.47 kB / 0.5483 GB, free: 26.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.003932, allocations: 184.1 kB / 0.5484 GB, free: 26.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.004097, allocations: 87.72 kB / 0.5485 GB, free: 26.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.004126, allocations: 16 kB / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.514e-05/0.004151, allocations: 16 kB / 0.5485 GB, free: 26.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.00418, allocations: 27.88 kB / 0.5486 GB, free: 26.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.004232, allocations: 67.88 kB / 0.5486 GB, free: 26.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.004389, allocations: 135.5 kB / 0.5488 GB, free: 25.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.004399, allocations: 0 / 0.5488 GB, free: 25.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.0044, allocations: 0 / 0.5488 GB, free: 25.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.004409, allocations: 0 / 0.5488 GB, free: 25.88 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.0005317/0.004941, allocations: 0.4898 MB / 0.5492 GB, free: 25.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.004969, allocations: 12.03 kB / 0.5493 GB, free: 25.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.005016, allocations: 28.91 kB / 0.5493 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.005166, allocations: 175.1 kB / 0.5494 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.005184, allocations: 16.58 kB / 0.5495 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.00521, allocations: 16.38 kB / 0.5495 GB, free: 25.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.005368, allocations: 159.4 kB / 0.5496 GB, free: 24.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.005379, allocations: 3.984 kB / 0.5496 GB, free: 24.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.00539, allocations: 7.984 kB / 0.5496 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.005396, allocations: 4 kB / 0.5496 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.184e-05/0.005468, allocations: 74.34 kB / 0.5497 GB, free: 24.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.005838, allocations: 368.9 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.006003, allocations: 116 kB / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.006038, allocations: 65.78 kB / 0.5502 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.006048, allocations: 4 kB / 0.5502 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.00618, allocations: 184.4 kB / 0.5504 GB, free: 24.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.006182, allocations: 0 / 0.5504 GB, free: 24.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005236/0.006705, allocations: 0.5219 MB / 0.5509 GB, free: 23.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.006739, allocations: 162.2 kB / 0.5511 GB, free: 23.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.006823, allocations: 202.1 kB / 0.5513 GB, free: 23.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.006836, allocations: 29.7 kB / 0.5513 GB, free: 23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.006868, allocations: 124.4 kB / 0.5514 GB, free: 22.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.006895, allocations: 67.36 kB / 0.5515 GB, free: 22.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.006941, allocations: 59.16 kB / 0.5515 GB, free: 22.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.423e-05/0.006975, allocations: 330.8 kB / 0.5519 GB, free: 22.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.007024, allocations: 101 kB / 0.552 GB, free: 22.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.882e-05/0.007082, allocations: 173.3 kB / 0.5521 GB, free: 22.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.836e-05/0.007181, allocations: 219.7 kB / 0.5523 GB, free: 21.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.007182, allocations: 4 kB / 0.5523 GB, free: 21.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001446/0.007327, allocations: 261.1 kB / 0.5526 GB, free: 21.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.00736, allocations: 70.52 kB / 0.5527 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.007366, allocations: 6.656 kB / 0.5527 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.007379, allocations: 4 kB / 0.5527 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.007538, allocations: 63.89 kB / 0.5527 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.007541, allocations: 4 kB / 0.5527 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.00762, allocations: 19.92 kB / 0.5527 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.007631, allocations: 12 kB / 0.5528 GB, free: 21.35 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.0001046/0.007736, allocations: 165.8 kB / 0.5529 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.007756, allocations: 19.98 kB / 0.5529 GB, free: 21.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.007787, allocations: 25.95 kB / 0.553 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.007789, allocations: 4 kB / 0.553 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.007792, allocations: 0 / 0.553 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.007796, allocations: 0 / 0.553 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.008034, allocations: 377.2 kB / 0.5533 GB, free: 20.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.008037, allocations: 3.938 kB / 0.5533 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.008154, allocations: 47.09 kB / 0.5534 GB, free: 20.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.008175, allocations: 31.81 kB / 0.5534 GB, free: 20.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.008177, allocations: 0 / 0.5534 GB, free: 20.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.008187, allocations: 11.94 kB / 0.5534 GB, free: 20.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.008189, allocations: 0 / 0.5534 GB, free: 20.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.00819, allocations: 0 / 0.5534 GB, free: 20.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.008363, allocations: 349 kB / 0.5537 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.008385, allocations: 8 kB / 0.5538 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/0.008462, allocations: 11.98 kB / 0.5538 GB, free: 20.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.008507, allocations: 23.97 kB / 0.5538 GB, free: 20.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.008516, allocations: 11.92 kB / 0.5538 GB, free: 20.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.261e-05/0.008558, allocations: 57.97 kB / 0.5539 GB, free: 20.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008558, allocations: 0 / 0.5539 GB, free: 20.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001594/0.008718, allocations: 56 kB / 0.5539 GB, free: 20.09 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 7.966e-05/0.008797, allocations: 92.34 kB / 0.554 GB, free: 19.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.008959, allocations: 305.2 kB / 0.5543 GB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.008965, allocations: 8.094 kB / 0.5543 GB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/0.009036, allocations: 157.7 kB / 0.5544 GB, free: 19.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.009324, allocations: 0.5109 MB / 0.5549 GB, free: 18.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/0.01453, allocations: 0.5511 MB / 0.5555 GB, free: 18.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.01457, allocations: 84.31 kB / 0.5556 GB, free: 18.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.455e-05/0.01465, allocations: 25.98 kB / 0.5556 GB, free: 18.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.01478, allocations: 115.3 kB / 0.5557 GB, free: 18.04 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01478, allocations: 0 / 0.5557 GB, free: 18.04 MB / 410.7 MB Notification: Performance of Templates: time 0.2284/0.2432, allocations: 3.768 MB / 0.5594 GB, free: 84.66 MB / 410.8 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.499776905402541]