Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_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.0007184/0.0007184, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008887/0.001607, 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.0006975/0.0006975, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008572/0.001555, 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.9902/0.9902, allocations: 177.1 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09305/1.083, allocations: 53.67 MB / 243.2 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.845/0.845, allocations: 291.2 MB / 0.5226 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03405/0.8791, allocations: 21.04 MB / 0.5431 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.CadmiumChloride.CadmiumChloride_Han1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15552000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15552000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5445 GB, free: 30.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.871e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference): time 0.003126/0.003155, allocations: 2.509 MB / 0.5469 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009497/0.004105, allocations: 0.6194 MB / 0.5476 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.611e-05/0.004201, allocations: 0 / 0.5476 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.944e-05/0.00429, allocations: 27.66 kB / 0.5476 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.004473, allocations: 95.25 kB / 0.5477 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.004625, allocations: 51.81 kB / 0.5477 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.00487, allocations: 266.6 kB / 0.548 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.004998, allocations: 34.55 kB / 0.548 GB, free: 26.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.005235, allocations: 180.2 kB / 0.5482 GB, free: 26.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.005449, allocations: 91.7 kB / 0.5483 GB, free: 26.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.005485, allocations: 16 kB / 0.5483 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.62e-05/0.005521, allocations: 16 kB / 0.5483 GB, free: 26.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.519e-05/0.005556, allocations: 27.88 kB / 0.5483 GB, free: 26.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.358e-05/0.00563, allocations: 63.88 kB / 0.5484 GB, free: 26.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.00583, allocations: 143.5 kB / 0.5485 GB, free: 25.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-05/0.005847, allocations: 0 / 0.5485 GB, free: 25.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.005848, allocations: 0 / 0.5485 GB, free: 25.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.005862, allocations: 0 / 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.0006741/0.006536, allocations: 0.4898 MB / 0.549 GB, free: 25.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.00657, allocations: 15.89 kB / 0.549 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.00663, allocations: 24.92 kB / 0.549 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.00683, allocations: 179.1 kB / 0.5492 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.006861, allocations: 8.609 kB / 0.5492 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.006894, allocations: 20.36 kB / 0.5492 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.007112, allocations: 159.5 kB / 0.5494 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.007125, allocations: 0 / 0.5494 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.007137, allocations: 0 / 0.5494 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.007146, allocations: 7.938 kB / 0.5494 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.666e-05/0.007242, allocations: 80.64 kB / 0.5495 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.007704, allocations: 368.9 kB / 0.5498 GB, free: 24.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.007917, allocations: 112.2 kB / 0.5499 GB, free: 24.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.007966, allocations: 58.55 kB / 0.55 GB, free: 24.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-06/0.007976, allocations: 4 kB / 0.55 GB, free: 24.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.008156, allocations: 192.3 kB / 0.5502 GB, free: 24.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.204e-06/0.008158, allocations: 0 / 0.5502 GB, free: 24.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006888/0.008847, allocations: 0.5119 MB / 0.5507 GB, free: 23.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.008888, allocations: 140.5 kB / 0.5508 GB, free: 23.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.009012, allocations: 202.1 kB / 0.551 GB, free: 23.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.009029, allocations: 29.7 kB / 0.551 GB, free: 23.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.009074, allocations: 120.4 kB / 0.5511 GB, free: 23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.009119, allocations: 75.39 kB / 0.5512 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.009184, allocations: 51.19 kB / 0.5513 GB, free: 22.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.009237, allocations: 334.8 kB / 0.5516 GB, free: 22.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.00931, allocations: 93 kB / 0.5517 GB, free: 22.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.769e-05/0.009397, allocations: 181.3 kB / 0.5518 GB, free: 22.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.009532, allocations: 211.8 kB / 0.552 GB, free: 21.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.009534, allocations: 0 / 0.552 GB, free: 21.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002133/0.009747, allocations: 266.8 kB / 0.5523 GB, free: 21.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.009788, allocations: 63.41 kB / 0.5524 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.009794, allocations: 0 / 0.5524 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.009808, allocations: 7.938 kB / 0.5524 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.01003, allocations: 67.2 kB / 0.5524 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.01004, allocations: 10.59 kB / 0.5524 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.01016, allocations: 19.92 kB / 0.5525 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.01017, allocations: 12 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 0.0001333/0.01031, allocations: 172.6 kB / 0.5526 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.01034, allocations: 23.98 kB / 0.5527 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.01038, allocations: 21.95 kB / 0.5527 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01038, allocations: 0 / 0.5527 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.01038, allocations: 0 / 0.5527 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.01039, allocations: 0 / 0.5527 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.01073, allocations: 386.2 kB / 0.5531 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01073, allocations: 3.938 kB / 0.5531 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.01091, allocations: 43.97 kB / 0.5531 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.01094, allocations: 15.86 kB / 0.5531 GB, free: 20.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01094, allocations: 4 kB / 0.5531 GB, free: 20.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.01095, allocations: 4 kB / 0.5531 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01095, allocations: 0 / 0.5531 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01096, allocations: 0 / 0.5531 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.0112, allocations: 351.8 kB / 0.5535 GB, free: 20.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.01124, allocations: 8 kB / 0.5535 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.01135, allocations: 15.98 kB / 0.5535 GB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.01141, allocations: 19.97 kB / 0.5535 GB, free: 20.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.01142, allocations: 13.61 kB / 0.5535 GB, free: 20.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.838e-05/0.01148, allocations: 65.95 kB / 0.5536 GB, free: 20.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01148, allocations: 0 / 0.5536 GB, free: 20.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002917/0.01177, allocations: 52 kB / 0.5536 GB, free: 20.23 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 0.0001099/0.01188, allocations: 96.36 kB / 0.5537 GB, free: 20.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.01211, allocations: 308.8 kB / 0.554 GB, free: 19.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.01211, allocations: 4.125 kB / 0.554 GB, free: 19.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.857e-05/0.0122, allocations: 145.9 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.0003592/0.01256, allocations: 89.7 kB / 0.5542 GB, free: 19.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008073/0.02063, allocations: 0.5744 MB / 0.5548 GB, free: 18.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.019e-05/0.02067, allocations: 80.31 kB / 0.5549 GB, free: 18.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000107/0.02078, allocations: 25.98 kB / 0.5549 GB, free: 18.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.02092, allocations: 115.3 kB / 0.555 GB, free: 18.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02092, allocations: 0 / 0.555 GB, free: 18.68 MB / 410.7 MB Notification: Performance of Templates: time 0.00486/0.02578, allocations: 3.79 MB / 0.5587 GB, free: 14.99 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 26.9268178390339]