Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.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.001875/0.001875, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.001985/0.001985, allocations: 221.1 kB / 22.25 MB, free: 3.57 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.708/1.708, allocations: 230.6 MB / 256 MB, free: 9.598 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.443/1.443, allocations: 316.8 MB / 0.6144 GB, free: 93 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15552000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15552000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride") [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.005264/0.005264, allocations: 77.31 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1937, allocations: 73.98 MB / 0.8473 GB, free: 4.871 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride): time 0.004638/0.1983, allocations: 2.345 MB / 0.8496 GB, free: 2.527 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1996, allocations: 0.5867 MB / 0.8501 GB, free: 1.945 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1998, allocations: 8.562 kB / 0.8501 GB, free: 1.938 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.1999, allocations: 28.25 kB / 0.8502 GB, free: 1.91 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.2001, allocations: 80.12 kB / 0.8502 GB, free: 1.832 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.2004, allocations: 56.38 kB / 0.8503 GB, free: 1.777 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000351/0.2007, allocations: 251.4 kB / 0.8505 GB, free: 1.531 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.2009, allocations: 37.09 kB / 0.8506 GB, free: 1.496 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.201, allocations: 95.64 kB / 0.8507 GB, free: 1.402 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.2013, allocations: 104.2 kB / 0.8508 GB, free: 1.301 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.2014, allocations: 16.62 kB / 0.8508 GB, free: 1.285 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.382e-05/0.2014, allocations: 16 kB / 0.8508 GB, free: 1.27 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.2015, allocations: 36.48 kB / 0.8508 GB, free: 1.234 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.2016, allocations: 88.31 kB / 0.8509 GB, free: 1.148 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.2019, allocations: 199.2 kB / 0.8511 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2019, allocations: 0.5938 kB / 0.8511 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2019, allocations: 0 / 0.8511 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2019, allocations: 0.5 kB / 0.8511 GB, free: 0.9531 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.001134/0.2031, allocations: 0.4946 MB / 0.8516 GB, free: 424 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.2031, allocations: 16.61 kB / 0.8516 GB, free: 408 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.025e-05/0.2032, allocations: 24.8 kB / 0.8516 GB, free: 384 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.2035, allocations: 183.6 kB / 0.8518 GB, free: 172 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.2036, allocations: 4.609 kB / 0.8518 GB, free: 168 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.2036, allocations: 24.48 kB / 0.8518 GB, free: 144 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.2041, allocations: 198.5 kB / 0.852 GB, free: 15.93 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.2041, allocations: 0.5625 kB / 0.852 GB, free: 15.93 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.2041, allocations: 11.98 kB / 0.852 GB, free: 15.92 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2041, allocations: 0.5312 kB / 0.852 GB, free: 15.92 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.2045, allocations: 151.5 kB / 0.8522 GB, free: 15.77 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009605/0.2055, allocations: 482.6 kB / 0.8526 GB, free: 15.27 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.2061, allocations: 184.8 kB / 0.8528 GB, free: 15.07 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.2063, allocations: 95.33 kB / 0.8529 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.2063, allocations: 0 / 0.8529 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004264/0.2067, allocations: 230 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.873e-06/0.2067, allocations: 0 / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00187/0.2086, allocations: 0.7014 MB / 0.8538 GB, free: 13.96 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.2087, allocations: 132.5 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.209, allocations: 215.5 kB / 0.8541 GB, free: 13.58 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.209, allocations: 34.72 kB / 0.8542 GB, free: 13.54 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.2092, allocations: 132.5 kB / 0.8543 GB, free: 13.41 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.32e-05/0.2092, allocations: 75.41 kB / 0.8544 GB, free: 13.33 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.2093, allocations: 59.59 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.2095, allocations: 338.8 kB / 0.8548 GB, free: 12.93 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.2098, allocations: 145 kB / 0.8549 GB, free: 12.77 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.2102, allocations: 222 kB / 0.8551 GB, free: 12.51 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3651/0.5753, allocations: 274.5 kB / 0.8554 GB, free: 28.19 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.5753, allocations: 0 / 0.8554 GB, free: 28.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.003841/0.5791, allocations: 387.9 kB / 0.8557 GB, free: 28.03 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.91e-05/0.5791, allocations: 72.3 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.5792, allocations: 0 / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.5792, allocations: 7.062 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.5795, allocations: 49.64 kB / 0.8559 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.5795, allocations: 6.562 kB / 0.8559 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.5798, allocations: 18.53 kB / 0.8559 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.5798, allocations: 12.59 kB / 0.8559 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.0002103/0.58, allocations: 175.9 kB / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.5801, allocations: 23.84 kB / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.552e-05/0.5801, allocations: 24.75 kB / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.5801, allocations: 0.8125 kB / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.5801, allocations: 3.125 kB / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5801, allocations: 1.672 kB / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009083/0.5811, allocations: 0.5355 MB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5811, allocations: 0 / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.5813, allocations: 34.5 kB / 0.8567 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5813, allocations: 1.312 kB / 0.8567 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.5813, allocations: 12.02 kB / 0.8567 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5813, allocations: 1.812 kB / 0.8567 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5813, allocations: 0.5938 kB / 0.8567 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003871/0.5852, allocations: 0.4917 MB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.5853, allocations: 24.14 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.5853, allocations: 9.188 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.5856, allocations: 13.97 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/0.5857, allocations: 23.98 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.5857, allocations: 9.203 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001738/0.5858, allocations: 159.7 kB / 0.8574 GB, free: 27.21 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5858, allocations: 0 / 0.8574 GB, free: 27.21 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004798/0.5863, allocations: 59.41 kB / 0.8575 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.000103/0.5864, allocations: 108.1 kB / 0.8576 GB, free: 27.12 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006534/0.5871, allocations: 382.3 kB / 0.8579 GB, free: 26.9 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5871, allocations: 1.469 kB / 0.8579 GB, free: 26.9 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.5874, allocations: 174.4 kB / 0.8581 GB, free: 26.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003628/0.591, allocations: 66.84 kB / 0.8582 GB, free: 26.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.5922, allocations: 0.6735 MB / 0.8588 GB, free: 26.52 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.096e-05/0.5923, allocations: 124.7 kB / 0.8589 GB, free: 26.45 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.5924, allocations: 31.8 kB / 0.859 GB, free: 26.44 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.5925, allocations: 21.78 kB / 0.859 GB, free: 26.43 MB / 490.8 MB Notification: Performance of SimCode: time 6.11e-07/0.5925, allocations: 0 / 0.859 GB, free: 26.43 MB / 490.8 MB Notification: Performance of Templates: time 0.007787/0.6002, allocations: 3.616 MB / 0.8625 GB, free: 26.12 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 25.068848830182105]