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.001887/0.001887, allocations: 109.5 kB / 18.95 MB, free: 1.172 MB / 13.93 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.002092/0.002092, allocations: 219.5 kB / 22.25 MB, free: 3.688 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.705/1.705, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 178] 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 1.472/1.472, allocations: 316.7 MB / 0.6144 GB, free: 93.06 MB / 410.7 MB " [Timeout remaining time 178] 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003827/0.003827, allocations: 81.55 kB / 0.775 GB, free: 14.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1847, allocations: 73.98 MB / 0.8472 GB, free: 4.836 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference): time 0.004507/0.1892, allocations: 2.33 MB / 0.8495 GB, free: 2.504 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1906, allocations: 0.5875 MB / 0.8501 GB, free: 1.922 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.1907, allocations: 7.938 kB / 0.8501 GB, free: 1.914 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.1909, allocations: 28.34 kB / 0.8501 GB, free: 1.887 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.1911, allocations: 80.23 kB / 0.8502 GB, free: 1.809 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.1914, allocations: 56.41 kB / 0.8502 GB, free: 1.754 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.1917, allocations: 251.4 kB / 0.8505 GB, free: 1.508 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.1919, allocations: 32.58 kB / 0.8505 GB, free: 1.477 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.1921, allocations: 104.4 kB / 0.8506 GB, free: 1.375 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.1923, allocations: 99.48 kB / 0.8507 GB, free: 1.277 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.1923, allocations: 17.22 kB / 0.8507 GB, free: 1.262 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.674e-05/0.1924, allocations: 16 kB / 0.8507 GB, free: 1.246 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.232e-05/0.1924, allocations: 39.84 kB / 0.8508 GB, free: 1.207 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.1926, allocations: 88.69 kB / 0.8509 GB, free: 1.121 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.1929, allocations: 199.2 kB / 0.851 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1929, allocations: 0 / 0.851 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1929, allocations: 1.031 kB / 0.8511 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1929, allocations: 0 / 0.8511 GB, free: 0.9258 MB / 474.8 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.001016/0.1939, allocations: 0.4904 MB / 0.8515 GB, free: 400 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.194, allocations: 14.59 kB / 0.8515 GB, free: 388 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.761e-05/0.194, allocations: 24.8 kB / 0.8516 GB, free: 364 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.1943, allocations: 183.1 kB / 0.8517 GB, free: 152 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1944, allocations: 8.609 kB / 0.8518 GB, free: 144 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.1944, allocations: 23.89 kB / 0.8518 GB, free: 120 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.1948, allocations: 193.7 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1949, allocations: 1.25 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.1949, allocations: 8 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1949, allocations: 0 / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.1953, allocations: 152 kB / 0.8521 GB, free: 15.75 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000941/0.1962, allocations: 482.2 kB / 0.8526 GB, free: 15.25 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.1968, allocations: 177.2 kB / 0.8527 GB, free: 15.06 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.197, allocations: 95.02 kB / 0.8528 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.197, allocations: 4.625 kB / 0.8528 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.1974, allocations: 232.8 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.1974, allocations: 0.6562 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001975/0.1994, allocations: 0.7028 MB / 0.8537 GB, free: 13.94 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.1995, allocations: 132.5 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.1998, allocations: 219.5 kB / 0.8541 GB, free: 13.56 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.1998, allocations: 30.33 kB / 0.8541 GB, free: 13.52 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.2, allocations: 136.5 kB / 0.8542 GB, free: 13.39 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/0.2, allocations: 68.05 kB / 0.8543 GB, free: 13.32 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2001, allocations: 58.16 kB / 0.8544 GB, free: 13.26 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.2003, allocations: 338.8 kB / 0.8547 GB, free: 12.92 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.2006, allocations: 145.7 kB / 0.8548 GB, free: 12.76 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.201, allocations: 226.5 kB / 0.855 GB, free: 12.49 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2984/0.4993, allocations: 274.2 kB / 0.8553 GB, free: 28.2 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/0.4993, allocations: 1.75 kB / 0.8553 GB, free: 28.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006421/0.5, allocations: 391.8 kB / 0.8557 GB, free: 28.04 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.5, allocations: 67.47 kB / 0.8557 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.5, allocations: 7.656 kB / 0.8557 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.5, allocations: 3.594 kB / 0.8557 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.5002, allocations: 46.62 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.5003, allocations: 8.75 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.5005, allocations: 21.5 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.5005, allocations: 8.75 kB / 0.8558 GB, free: 27.97 MB / 490.8 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.0001711/0.5006, allocations: 172 kB / 0.856 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.5007, allocations: 26.94 kB / 0.856 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.5007, allocations: 26.56 kB / 0.856 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5007, allocations: 3.297 kB / 0.856 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5007, allocations: 0.7812 kB / 0.856 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.5007, allocations: 3.609 kB / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006818/0.5014, allocations: 0.5287 MB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5014, allocations: 6.234 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.5016, allocations: 33.69 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5016, allocations: 0 / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.5016, allocations: 14.73 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5016, allocations: 0 / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5016, allocations: 2.031 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/0.5023, allocations: 0.4928 MB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.5023, allocations: 23.39 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.5024, allocations: 6.781 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.5025, allocations: 20.56 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.5026, allocations: 22.53 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.5026, allocations: 8.469 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001229/0.5027, allocations: 151.2 kB / 0.8573 GB, free: 27.22 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5027, allocations: 0.6875 kB / 0.8573 GB, free: 27.22 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002889/0.503, allocations: 63.89 kB / 0.8574 GB, free: 27.21 MB / 490.8 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.0001021/0.5031, allocations: 113 kB / 0.8575 GB, free: 27.13 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005065/0.5036, allocations: 379.7 kB / 0.8579 GB, free: 26.91 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5036, allocations: 0.625 kB / 0.8579 GB, free: 26.91 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.5039, allocations: 173.8 kB / 0.858 GB, free: 26.81 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.5043, allocations: 66.59 kB / 0.8581 GB, free: 26.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.5055, allocations: 0.6709 MB / 0.8587 GB, free: 26.53 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.855e-05/0.5055, allocations: 128.7 kB / 0.8589 GB, free: 26.45 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.5056, allocations: 27.47 kB / 0.8589 GB, free: 26.45 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.5057, allocations: 20.44 kB / 0.8589 GB, free: 26.44 MB / 490.8 MB Notification: Performance of SimCode: time 5.41e-07/0.5057, allocations: 0.6875 kB / 0.8589 GB, free: 26.44 MB / 490.8 MB Notification: Performance of Templates: time 0.008951/0.5146, allocations: 3.632 MB / 0.8625 GB, free: 26.13 MB / 490.8 MB " [Timeout remaining time 659] 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: 25.40992395300418]