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.0009017/0.0009017, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009221/0.0009221, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9474/0.9474, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.6989/0.6989, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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.613e-06/1.613e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.181e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference): time 0.00206/0.002081, allocations: 2.331 MB / 0.6996 GB, free: 8.055 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006607/0.002742, allocations: 0.6 MB / 0.7002 GB, free: 7.453 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.344e-05/0.002826, allocations: 4 kB / 0.7002 GB, free: 7.449 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.002947, allocations: 23.72 kB / 0.7002 GB, free: 7.426 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.003121, allocations: 91.25 kB / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.003297, allocations: 51.88 kB / 0.7004 GB, free: 7.285 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.003489, allocations: 266.6 kB / 0.7006 GB, free: 7.023 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.003634, allocations: 36.52 kB / 0.7007 GB, free: 6.992 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.00375, allocations: 135.7 kB / 0.7008 GB, free: 6.859 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.003907, allocations: 83.72 kB / 0.7009 GB, free: 6.777 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.003931, allocations: 16 kB / 0.7009 GB, free: 6.762 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.003953, allocations: 16 kB / 0.7009 GB, free: 6.746 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.003979, allocations: 39.84 kB / 0.7009 GB, free: 6.707 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.004039, allocations: 83.77 kB / 0.701 GB, free: 6.625 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.004209, allocations: 203.3 kB / 0.7012 GB, free: 6.426 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004211, allocations: 0 / 0.7012 GB, free: 6.426 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004212, allocations: 0 / 0.7012 GB, free: 6.426 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004216, allocations: 0 / 0.7012 GB, free: 6.426 MB / 410.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.0005496/0.004765, allocations: 496.8 kB / 0.7017 GB, free: 5.895 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.004801, allocations: 8.031 kB / 0.7017 GB, free: 5.887 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.004844, allocations: 24.8 kB / 0.7017 GB, free: 5.863 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.00502, allocations: 182.5 kB / 0.7019 GB, free: 5.656 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.005036, allocations: 12.55 kB / 0.7019 GB, free: 5.645 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.005062, allocations: 12.38 kB / 0.7019 GB, free: 5.633 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.005285, allocations: 202.5 kB / 0.7021 GB, free: 5.422 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.005298, allocations: 3.953 kB / 0.7021 GB, free: 5.418 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.005312, allocations: 4 kB / 0.7021 GB, free: 5.414 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.005317, allocations: 4 kB / 0.7021 GB, free: 5.41 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.005498, allocations: 142.3 kB / 0.7022 GB, free: 5.266 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.005978, allocations: 481.5 kB / 0.7027 GB, free: 4.762 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.006275, allocations: 187.9 kB / 0.7029 GB, free: 4.562 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/0.006367, allocations: 94.53 kB / 0.703 GB, free: 4.461 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.006377, allocations: 3.984 kB / 0.703 GB, free: 4.457 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.006573, allocations: 239.3 kB / 0.7032 GB, free: 4.195 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.006574, allocations: 3.938 kB / 0.7032 GB, free: 4.191 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.000798/0.007372, allocations: 0.6924 MB / 0.7039 GB, free: 3.434 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.007408, allocations: 140.5 kB / 0.704 GB, free: 3.266 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.007524, allocations: 211 kB / 0.7042 GB, free: 3.051 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.007536, allocations: 37.7 kB / 0.7043 GB, free: 3.008 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.007583, allocations: 132.5 kB / 0.7044 GB, free: 2.875 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.007612, allocations: 75.42 kB / 0.7045 GB, free: 2.801 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.007658, allocations: 49.69 kB / 0.7045 GB, free: 2.746 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.596e-05/0.007694, allocations: 338.8 kB / 0.7048 GB, free: 2.406 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.007818, allocations: 141 kB / 0.705 GB, free: 2.25 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.00794, allocations: 221.3 kB / 0.7052 GB, free: 1.988 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.008142, allocations: 286.2 kB / 0.7054 GB, free: 1.668 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.008143, allocations: 0 / 0.7054 GB, free: 1.668 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002908/0.008434, allocations: 396 kB / 0.7058 GB, free: 1.25 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.008459, allocations: 59.41 kB / 0.7059 GB, free: 1.18 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.008465, allocations: 0 / 0.7059 GB, free: 1.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.008478, allocations: 4 kB / 0.7059 GB, free: 1.176 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.008588, allocations: 55.83 kB / 0.7059 GB, free: 1.121 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.008593, allocations: 4 kB / 0.7059 GB, free: 1.117 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.73e-05/0.008681, allocations: 19.98 kB / 0.706 GB, free: 1.098 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.008693, allocations: 12 kB / 0.706 GB, free: 1.086 MB / 410.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.0001187/0.008812, allocations: 183 kB / 0.7061 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.008828, allocations: 15.91 kB / 0.7062 GB, free: 0.8789 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.00886, allocations: 29.95 kB / 0.7062 GB, free: 0.8477 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.008862, allocations: 0 / 0.7062 GB, free: 0.8477 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.008865, allocations: 7.875 kB / 0.7062 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.008869, allocations: 0 / 0.7062 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.009253, allocations: 0.5445 MB / 0.7067 GB, free: 252 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.009254, allocations: 0 / 0.7067 GB, free: 252 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.447e-05/0.009348, allocations: 31.97 kB / 0.7068 GB, free: 220 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.009351, allocations: 0 / 0.7068 GB, free: 220 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.009362, allocations: 8 kB / 0.7068 GB, free: 212 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.009364, allocations: 0 / 0.7068 GB, free: 212 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009365, allocations: 0 / 0.7068 GB, free: 212 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.009783, allocations: 0.5025 MB / 0.7073 GB, free: 15.68 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.009807, allocations: 23.89 kB / 0.7073 GB, free: 15.65 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.009834, allocations: 11.94 kB / 0.7073 GB, free: 15.64 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/0.009915, allocations: 15.98 kB / 0.7073 GB, free: 15.62 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.009978, allocations: 23.97 kB / 0.7073 GB, free: 15.6 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.009988, allocations: 4 kB / 0.7073 GB, free: 15.6 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.285e-05/0.01008, allocations: 164.4 kB / 0.7075 GB, free: 15.44 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01008, allocations: 0 / 0.7075 GB, free: 15.44 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001815/0.01026, allocations: 52 kB / 0.7075 GB, free: 15.39 MB / 426.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 8.63e-05/0.01035, allocations: 122.5 kB / 0.7077 GB, free: 15.26 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000343/0.01069, allocations: 375.7 kB / 0.708 GB, free: 14.85 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01069, allocations: 0 / 0.708 GB, free: 14.85 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.01083, allocations: 169 kB / 0.7082 GB, free: 14.67 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.01111, allocations: 64.33 kB / 0.7082 GB, free: 14.61 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007146/0.01182, allocations: 0.6032 MB / 0.7088 GB, free: 13.96 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.511e-05/0.0119, allocations: 133.5 kB / 0.709 GB, free: 13.81 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.01195, allocations: 20.5 kB / 0.709 GB, free: 13.79 MB / 426.8 MB Notification: Performance of SimCode: time 7.61e-07/0.01195, allocations: 0 / 0.709 GB, free: 13.79 MB / 426.8 MB Notification: Performance of Templates: time 0.003225/0.01517, allocations: 2.937 MB / 0.7118 GB, free: 10.88 MB / 426.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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.755871160887182]