Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.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.0006839/0.0006839, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008756/0.00156, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006817/0.0006817, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009167/0.001598, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.029/1.029, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09182/1.121, 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.8065/0.8065, allocations: 291.2 MB / 0.5226 GB, free: 52.5 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02692/0.8334, allocations: 21.05 MB / 0.5431 GB, free: 31.52 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.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5445 GB, free: 30.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.948e-06/1.152e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7): time 0.001983/0.001995, allocations: 2.521 MB / 0.547 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006752/0.00267, allocations: 0.6233 MB / 0.5476 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.00275, allocations: 7.938 kB / 0.5476 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.007e-05/0.00281, allocations: 23.72 kB / 0.5476 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.002932, allocations: 83.33 kB / 0.5477 GB, free: 26.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.003064, allocations: 51.88 kB / 0.5477 GB, free: 26.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.003252, allocations: 278.5 kB / 0.548 GB, free: 26.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.003358, allocations: 38.47 kB / 0.548 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.003515, allocations: 176.2 kB / 0.5482 GB, free: 26.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.00366, allocations: 83.72 kB / 0.5483 GB, free: 26.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.003685, allocations: 20 kB / 0.5483 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.126e-05/0.003707, allocations: 16 kB / 0.5483 GB, free: 26.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.003732, allocations: 27.88 kB / 0.5484 GB, free: 26.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.003785, allocations: 59.88 kB / 0.5484 GB, free: 26.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.003941, allocations: 139.5 kB / 0.5485 GB, free: 25.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.405e-05/0.003955, allocations: 0 / 0.5485 GB, free: 25.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.003956, allocations: 0 / 0.5485 GB, free: 25.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.003972, allocations: 4 kB / 0.5485 GB, free: 25.97 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.000588/0.00456, allocations: 0.4937 MB / 0.549 GB, free: 25.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.004589, allocations: 11.89 kB / 0.549 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.004634, allocations: 28.91 kB / 0.5491 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.004799, allocations: 179.1 kB / 0.5492 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.004815, allocations: 8.609 kB / 0.5492 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.004839, allocations: 16.38 kB / 0.5493 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.00499, allocations: 159.4 kB / 0.5494 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.005007, allocations: 7.969 kB / 0.5494 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.005017, allocations: 8 kB / 0.5494 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.005024, allocations: 4 kB / 0.5494 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.005099, allocations: 72.7 kB / 0.5495 GB, free: 24.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.005455, allocations: 372.8 kB / 0.5499 GB, free: 24.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.00562, allocations: 108.2 kB / 0.55 GB, free: 24.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.005654, allocations: 62.55 kB / 0.55 GB, free: 24.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.005662, allocations: 0 / 0.55 GB, free: 24.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.005802, allocations: 184.4 kB / 0.5502 GB, free: 24.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.005804, allocations: 0 / 0.5502 GB, free: 24.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005055/0.006309, allocations: 0.519 MB / 0.5507 GB, free: 23.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.006344, allocations: 136.5 kB / 0.5508 GB, free: 23.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.00643, allocations: 202.1 kB / 0.551 GB, free: 23.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.006443, allocations: 37.7 kB / 0.5511 GB, free: 23.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.006473, allocations: 116.4 kB / 0.5512 GB, free: 23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.006504, allocations: 75.39 kB / 0.5512 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.006552, allocations: 51.19 kB / 0.5513 GB, free: 22.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.428e-05/0.006586, allocations: 334.8 kB / 0.5516 GB, free: 22.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.006634, allocations: 96.98 kB / 0.5517 GB, free: 22.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.32e-05/0.006698, allocations: 179.8 kB / 0.5519 GB, free: 22.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.006802, allocations: 219.7 kB / 0.5521 GB, free: 21.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006804, allocations: 0 / 0.5521 GB, free: 21.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001493/0.006953, allocations: 263.5 kB / 0.5523 GB, free: 21.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.006981, allocations: 55.41 kB / 0.5524 GB, free: 21.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.006985, allocations: 4.219 kB / 0.5524 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.006997, allocations: 8 kB / 0.5524 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.007146, allocations: 67.89 kB / 0.5525 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.007152, allocations: 4 kB / 0.5525 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.766e-05/0.00723, allocations: 26.98 kB / 0.5525 GB, free: 21.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.00724, allocations: 11.36 kB / 0.5525 GB, free: 21.48 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.765e-05/0.007338, allocations: 165.7 kB / 0.5527 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.007358, allocations: 23.98 kB / 0.5527 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.007388, allocations: 25.95 kB / 0.5527 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.007391, allocations: 4 kB / 0.5527 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.007394, allocations: 0 / 0.5527 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.007398, allocations: 0 / 0.5527 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.007633, allocations: 382.2 kB / 0.5531 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007634, allocations: 3.938 kB / 0.5531 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.007747, allocations: 39.97 kB / 0.5531 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.007766, allocations: 15.86 kB / 0.5531 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.007768, allocations: 4 kB / 0.5531 GB, free: 20.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.007778, allocations: 8 kB / 0.5532 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.007779, allocations: 3.938 kB / 0.5532 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007781, allocations: 3.984 kB / 0.5532 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.007976, allocations: 352 kB / 0.5535 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.008, allocations: 11.98 kB / 0.5535 GB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.00807, allocations: 4 kB / 0.5535 GB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.008114, allocations: 23.95 kB / 0.5535 GB, free: 20.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.008122, allocations: 11.19 kB / 0.5535 GB, free: 20.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.868e-05/0.008161, allocations: 65.94 kB / 0.5536 GB, free: 20.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008161, allocations: 4 kB / 0.5536 GB, free: 20.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.008321, allocations: 60 kB / 0.5537 GB, free: 20.21 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.354e-05/0.008385, allocations: 88.36 kB / 0.5538 GB, free: 20.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.008545, allocations: 311.8 kB / 0.5541 GB, free: 19.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.008551, allocations: 0 / 0.5541 GB, free: 19.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.008617, allocations: 149.8 kB / 0.5542 GB, free: 19.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.00884, allocations: 86.91 kB / 0.5543 GB, free: 19.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005246/0.01409, allocations: 0.5774 MB / 0.5548 GB, free: 18.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.308e-05/0.01412, allocations: 76.33 kB / 0.5549 GB, free: 18.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.13e-05/0.01419, allocations: 17.95 kB / 0.5549 GB, free: 18.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.01431, allocations: 119.3 kB / 0.555 GB, free: 18.68 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01431, allocations: 0 / 0.555 GB, free: 18.68 MB / 410.7 MB Notification: Performance of Templates: time 0.004665/0.01897, allocations: 3.797 MB / 0.5588 GB, free: 14.98 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4090845342725515]