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.0007236/0.0007236, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001724, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007113/0.0007113, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009081/0.001619, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.01/1.01, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08204/1.092, allocations: 53.66 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.7921/0.7921, allocations: 291.2 MB / 0.5226 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05418/0.8463, allocations: 21.04 MB / 0.5431 GB, free: 31.5 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 1.332e-06/1.332e-06, allocations: 0 / 0.5445 GB, free: 30.13 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108e-05/1.241e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference): time 0.001896/0.001909, allocations: 2.511 MB / 0.5469 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006163/0.002525, allocations: 0.6232 MB / 0.5475 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.002591, allocations: 4 kB / 0.5475 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.03e-05/0.002642, allocations: 23.72 kB / 0.5476 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.002751, allocations: 83.27 kB / 0.5476 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.002856, allocations: 55.86 kB / 0.5477 GB, free: 26.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.003022, allocations: 262.6 kB / 0.5479 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.003111, allocations: 38.55 kB / 0.548 GB, free: 26.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.003268, allocations: 168.2 kB / 0.5481 GB, free: 26.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.003399, allocations: 95.7 kB / 0.5482 GB, free: 26.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.003423, allocations: 16 kB / 0.5482 GB, free: 26.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.528e-05/0.003448, allocations: 20 kB / 0.5483 GB, free: 26.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.003472, allocations: 23.88 kB / 0.5483 GB, free: 26.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.003525, allocations: 67.88 kB / 0.5483 GB, free: 26.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.003666, allocations: 139.4 kB / 0.5485 GB, free: 25.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.003679, allocations: 0 / 0.5485 GB, free: 25.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00368, allocations: 0 / 0.5485 GB, free: 25.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.003692, allocations: 0 / 0.5485 GB, free: 25.99 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.0005249/0.004217, allocations: 0.5015 MB / 0.549 GB, free: 25.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.433e-05/0.004241, allocations: 11.89 kB / 0.549 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.004282, allocations: 24.92 kB / 0.549 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.004418, allocations: 175.1 kB / 0.5492 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.004437, allocations: 12.61 kB / 0.5492 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.004458, allocations: 12.38 kB / 0.5492 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.004601, allocations: 163.4 kB / 0.5493 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.00461, allocations: 0 / 0.5493 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.004621, allocations: 12 kB / 0.5494 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.004626, allocations: 0 / 0.5494 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.004697, allocations: 80.64 kB / 0.5494 GB, free: 24.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.005027, allocations: 365 kB / 0.5498 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.005189, allocations: 108.2 kB / 0.5499 GB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.005224, allocations: 54.7 kB / 0.5499 GB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.005232, allocations: 7.938 kB / 0.5499 GB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.005354, allocations: 196.3 kB / 0.5501 GB, free: 24.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.172e-06/0.005355, allocations: 0 / 0.5501 GB, free: 24.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005119/0.005867, allocations: 0.5081 MB / 0.5506 GB, free: 23.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.005896, allocations: 136.5 kB / 0.5508 GB, free: 23.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.005978, allocations: 202.1 kB / 0.551 GB, free: 23.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.00599, allocations: 33.7 kB / 0.551 GB, free: 23.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.006021, allocations: 120.4 kB / 0.5511 GB, free: 23.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.006058, allocations: 75.41 kB / 0.5512 GB, free: 22.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.006103, allocations: 51.17 kB / 0.5512 GB, free: 22.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.028e-05/0.006133, allocations: 338.8 kB / 0.5515 GB, free: 22.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.006181, allocations: 97 kB / 0.5516 GB, free: 22.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.006241, allocations: 173.3 kB / 0.5518 GB, free: 22.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.378e-05/0.006334, allocations: 207.8 kB / 0.552 GB, free: 21.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.006336, allocations: 4 kB / 0.552 GB, free: 21.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001393/0.006476, allocations: 258.1 kB / 0.5523 GB, free: 21.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.006504, allocations: 67.39 kB / 0.5523 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.006509, allocations: 7.062 kB / 0.5523 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.006517, allocations: 4 kB / 0.5523 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.006663, allocations: 68.11 kB / 0.5524 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.006668, allocations: 7.938 kB / 0.5524 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.833e-05/0.006746, allocations: 15.94 kB / 0.5524 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.006757, allocations: 11.98 kB / 0.5524 GB, free: 21.51 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 8.609e-05/0.006843, allocations: 172.5 kB / 0.5526 GB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.006863, allocations: 27.91 kB / 0.5526 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.006888, allocations: 21.97 kB / 0.5526 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.00689, allocations: 4 kB / 0.5526 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.006891, allocations: 4 kB / 0.5526 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.006897, allocations: 3.984 kB / 0.5526 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.007131, allocations: 374.3 kB / 0.553 GB, free: 20.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.007133, allocations: 3.938 kB / 0.553 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.007246, allocations: 43.91 kB / 0.5531 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.007266, allocations: 19.86 kB / 0.5531 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.007268, allocations: 3.984 kB / 0.5531 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.007278, allocations: 4 kB / 0.5531 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007279, allocations: 0 / 0.5531 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00728, allocations: 4 kB / 0.5531 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.007445, allocations: 351.8 kB / 0.5534 GB, free: 20.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.007469, allocations: 11.31 kB / 0.5534 GB, free: 20.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.007543, allocations: 11.98 kB / 0.5534 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.007583, allocations: 15.97 kB / 0.5535 GB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.007591, allocations: 11.94 kB / 0.5535 GB, free: 20.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.8e-05/0.007629, allocations: 61.95 kB / 0.5535 GB, free: 20.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007629, allocations: 0 / 0.5535 GB, free: 20.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.007789, allocations: 56 kB / 0.5536 GB, free: 20.25 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 5.936e-05/0.007848, allocations: 104.4 kB / 0.5537 GB, free: 20.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.008006, allocations: 304.5 kB / 0.554 GB, free: 19.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.008009, allocations: 4 kB / 0.554 GB, free: 19.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.779e-05/0.008067, allocations: 141.9 kB / 0.5541 GB, free: 19.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.008289, allocations: 89.27 kB / 0.5542 GB, free: 19.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005618/0.01391, allocations: 0.584 MB / 0.5548 GB, free: 18.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.489e-05/0.01397, allocations: 129.5 kB / 0.5549 GB, free: 18.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.01412, allocations: 115.3 kB / 0.555 GB, free: 18.67 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01412, allocations: 0 / 0.555 GB, free: 18.67 MB / 410.7 MB Notification: Performance of Templates: time 0.002474/0.01659, allocations: 2.924 MB / 0.5579 GB, free: 15.79 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.526833891868591]