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.0009394/0.0009394, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.002425, 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.0009626/0.0009626, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004602/0.005565, 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 1.02/1.02, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09927/1.119, 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.7283/0.7283, allocations: 291.1 MB / 0.5227 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04625/0.7746, allocations: 21.04 MB / 0.5433 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.373e-06/1.373e-06, allocations: 0 / 0.5447 GB, free: 30.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.385e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference): time 0.002512/0.002536, allocations: 2.525 MB / 0.5472 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006317/0.003168, allocations: 0.631 MB / 0.5478 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.003238, allocations: 0 / 0.5478 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.904e-05/0.003297, allocations: 27.72 kB / 0.5478 GB, free: 26.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.003409, allocations: 83.27 kB / 0.5479 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.003518, allocations: 47.92 kB / 0.5479 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.003694, allocations: 270.6 kB / 0.5482 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.003796, allocations: 42.48 kB / 0.5482 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.003947, allocations: 176.2 kB / 0.5484 GB, free: 26.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.004091, allocations: 87.72 kB / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.004115, allocations: 16 kB / 0.5485 GB, free: 26.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.283e-05/0.004138, allocations: 16 kB / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.004167, allocations: 31.86 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.004216, allocations: 63.88 kB / 0.5486 GB, free: 26.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.00437, allocations: 131.5 kB / 0.5487 GB, free: 25.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.004381, allocations: 0 / 0.5487 GB, free: 25.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004382, allocations: 0 / 0.5487 GB, free: 25.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.00439, allocations: 7.938 kB / 0.5487 GB, free: 25.91 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.0005053/0.004895, allocations: 0.4976 MB / 0.5492 GB, free: 25.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.004922, allocations: 11.89 kB / 0.5492 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.004963, allocations: 24.92 kB / 0.5493 GB, free: 25.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.005094, allocations: 175.1 kB / 0.5494 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.005109, allocations: 12.61 kB / 0.5494 GB, free: 25.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.005133, allocations: 16.31 kB / 0.5495 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.005276, allocations: 167.4 kB / 0.5496 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.005285, allocations: 0 / 0.5496 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.005295, allocations: 8 kB / 0.5496 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.0053, allocations: 0 / 0.5496 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.128e-05/0.005371, allocations: 74.34 kB / 0.5497 GB, free: 24.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.005706, allocations: 372.8 kB / 0.55 GB, free: 24.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.005854, allocations: 112.2 kB / 0.5502 GB, free: 24.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.005886, allocations: 54.56 kB / 0.5502 GB, free: 24.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.886e-06/0.005895, allocations: 11.98 kB / 0.5502 GB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.006024, allocations: 188.4 kB / 0.5504 GB, free: 24.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.006026, allocations: 0 / 0.5504 GB, free: 24.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004958/0.006521, allocations: 0.5175 MB / 0.5509 GB, free: 23.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.006551, allocations: 166.2 kB / 0.5511 GB, free: 23.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.868e-05/0.00663, allocations: 202.1 kB / 0.5513 GB, free: 23.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.006642, allocations: 37.7 kB / 0.5513 GB, free: 23.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.006677, allocations: 116.4 kB / 0.5514 GB, free: 22.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.006704, allocations: 71.39 kB / 0.5515 GB, free: 22.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.006746, allocations: 51.19 kB / 0.5515 GB, free: 22.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.214e-05/0.006779, allocations: 338.8 kB / 0.5518 GB, free: 22.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/0.006824, allocations: 97 kB / 0.5519 GB, free: 22.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.006881, allocations: 169.3 kB / 0.5521 GB, free: 22.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.602e-05/0.006977, allocations: 227.6 kB / 0.5523 GB, free: 21.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.006978, allocations: 0 / 0.5523 GB, free: 21.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001362/0.007115, allocations: 261 kB / 0.5526 GB, free: 21.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.007145, allocations: 63.41 kB / 0.5526 GB, free: 21.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.007149, allocations: 0 / 0.5526 GB, free: 21.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.00716, allocations: 8.203 kB / 0.5526 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.007306, allocations: 63.91 kB / 0.5527 GB, free: 21.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.00731, allocations: 6.656 kB / 0.5527 GB, free: 21.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.007385, allocations: 19.92 kB / 0.5527 GB, free: 21.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.007397, allocations: 12 kB / 0.5527 GB, free: 21.39 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.853e-05/0.007485, allocations: 172.9 kB / 0.5529 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.007503, allocations: 15.98 kB / 0.5529 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.00753, allocations: 33.95 kB / 0.5529 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007532, allocations: 0 / 0.5529 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.007533, allocations: 0 / 0.5529 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.007537, allocations: 0 / 0.5529 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.007772, allocations: 385.2 kB / 0.5533 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.007773, allocations: 3.938 kB / 0.5533 GB, free: 20.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.007889, allocations: 47.91 kB / 0.5534 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.007906, allocations: 15.86 kB / 0.5534 GB, free: 20.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.007909, allocations: 0 / 0.5534 GB, free: 20.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.00792, allocations: 12 kB / 0.5534 GB, free: 20.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.007922, allocations: 3.984 kB / 0.5534 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.007923, allocations: 0 / 0.5534 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.008083, allocations: 341 kB / 0.5537 GB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.008105, allocations: 11.98 kB / 0.5537 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.008175, allocations: 12 kB / 0.5537 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.008216, allocations: 19.95 kB / 0.5538 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.008223, allocations: 7.938 kB / 0.5538 GB, free: 20.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.783e-05/0.008261, allocations: 65.95 kB / 0.5538 GB, free: 20.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008261, allocations: 7.875 kB / 0.5538 GB, free: 20.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.00841, allocations: 56 kB / 0.5539 GB, free: 20.12 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.395e-05/0.008474, allocations: 88.42 kB / 0.554 GB, free: 20.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.00864, allocations: 311.4 kB / 0.5543 GB, free: 19.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.008645, allocations: 0 / 0.5543 GB, free: 19.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.024e-05/0.008715, allocations: 160.8 kB / 0.5544 GB, free: 19.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.008998, allocations: 0.5081 MB / 0.5549 GB, free: 18.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005198/0.0142, allocations: 0.57 MB / 0.5555 GB, free: 18.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.019e-05/0.01423, allocations: 76.33 kB / 0.5555 GB, free: 18.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.552e-05/0.0143, allocations: 21.94 kB / 0.5556 GB, free: 18.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.01443, allocations: 115.3 kB / 0.5557 GB, free: 18.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01443, allocations: 4 kB / 0.5557 GB, free: 18.07 MB / 410.7 MB Notification: Performance of Templates: time 0.2759/0.2904, allocations: 3.774 MB / 0.5594 GB, free: 84.68 MB / 410.8 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: 15.639636941254139]