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.001836/0.001836, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002693/0.002693, allocations: 169.9 kB / 22.46 MB, free: 2.102 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 1.619/1.619, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.376/1.376, allocations: 292.9 MB / 0.5392 GB, free: 49.83 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6999 GB, free: 8.602 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.787e-05, allocations: 8.75 kB / 0.6999 GB, free: 8.594 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride): time 0.002904/0.002932, allocations: 2.34 MB / 0.7022 GB, free: 6.234 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009226/0.003855, allocations: 0.5922 MB / 0.7028 GB, free: 5.641 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.003962, allocations: 0 / 0.7028 GB, free: 5.641 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.004087, allocations: 27.72 kB / 0.7028 GB, free: 5.613 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.004281, allocations: 87.27 kB / 0.7029 GB, free: 5.527 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.004481, allocations: 55.86 kB / 0.7029 GB, free: 5.473 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.004734, allocations: 270.5 kB / 0.7032 GB, free: 5.207 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.004867, allocations: 31.7 kB / 0.7032 GB, free: 5.184 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.005022, allocations: 143.6 kB / 0.7034 GB, free: 5.043 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.005223, allocations: 79.78 kB / 0.7034 GB, free: 4.965 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.005255, allocations: 16 kB / 0.7034 GB, free: 4.949 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.435e-05/0.005289, allocations: 20 kB / 0.7035 GB, free: 4.93 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.005326, allocations: 43.77 kB / 0.7035 GB, free: 4.887 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.147e-05/0.005407, allocations: 75.83 kB / 0.7036 GB, free: 4.812 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.005626, allocations: 207.2 kB / 0.7038 GB, free: 4.609 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.00563, allocations: 0 / 0.7038 GB, free: 4.609 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00563, allocations: 0 / 0.7038 GB, free: 4.609 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.005635, allocations: 0 / 0.7038 GB, free: 4.609 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.0008266/0.006462, allocations: 488.9 kB / 0.7042 GB, free: 4.086 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.006501, allocations: 15.89 kB / 0.7043 GB, free: 4.07 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.006563, allocations: 24.8 kB / 0.7043 GB, free: 4.047 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.006765, allocations: 186.3 kB / 0.7045 GB, free: 3.836 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.006792, allocations: 16.55 kB / 0.7045 GB, free: 3.82 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.00683, allocations: 16.36 kB / 0.7045 GB, free: 3.805 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.007162, allocations: 194.4 kB / 0.7047 GB, free: 3.602 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.00718, allocations: 7.953 kB / 0.7047 GB, free: 3.594 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.0072, allocations: 4 kB / 0.7047 GB, free: 3.59 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.007206, allocations: 4 kB / 0.7047 GB, free: 3.586 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.00754, allocations: 146.3 kB / 0.7048 GB, free: 3.438 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007062/0.008246, allocations: 489.4 kB / 0.7053 GB, free: 2.926 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.008701, allocations: 168.1 kB / 0.7055 GB, free: 2.746 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.008868, allocations: 98.52 kB / 0.7055 GB, free: 2.641 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.008883, allocations: 8 kB / 0.7056 GB, free: 2.633 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002983/0.009181, allocations: 224.4 kB / 0.7058 GB, free: 2.383 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.009182, allocations: 0 / 0.7058 GB, free: 2.383 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001303/0.01049, allocations: 0.699 MB / 0.7065 GB, free: 1.621 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.01054, allocations: 140.5 kB / 0.7066 GB, free: 1.453 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.01072, allocations: 223 kB / 0.7068 GB, free: 1.227 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.01074, allocations: 29.7 kB / 0.7068 GB, free: 1.191 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.0108, allocations: 136.5 kB / 0.707 GB, free: 1.055 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.01084, allocations: 63.48 kB / 0.707 GB, free: 0.9922 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.01091, allocations: 49.7 kB / 0.7071 GB, free: 0.9375 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.53e-05/0.01096, allocations: 338.8 kB / 0.7074 GB, free: 0.5977 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.01116, allocations: 148.9 kB / 0.7075 GB, free: 444 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.01137, allocations: 221.8 kB / 0.7077 GB, free: 176 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.01181, allocations: 286.2 kB / 0.708 GB, free: 15.85 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01181, allocations: 3.938 kB / 0.708 GB, free: 15.85 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006933/0.0125, allocations: 392 kB / 0.7084 GB, free: 15.43 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.01257, allocations: 63.39 kB / 0.7085 GB, free: 15.36 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01258, allocations: 0 / 0.7085 GB, free: 15.36 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.0126, allocations: 4 kB / 0.7085 GB, free: 15.36 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.01283, allocations: 55.84 kB / 0.7085 GB, free: 15.3 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.01285, allocations: 7.938 kB / 0.7085 GB, free: 15.29 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.01303, allocations: 20.2 kB / 0.7085 GB, free: 15.27 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.01306, allocations: 19.92 kB / 0.7086 GB, free: 15.25 MB / 426.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.0002516/0.01331, allocations: 175 kB / 0.7087 GB, free: 15.07 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.01335, allocations: 19.89 kB / 0.7087 GB, free: 15.05 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.025e-05/0.01341, allocations: 21.97 kB / 0.7088 GB, free: 15.03 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01342, allocations: 4 kB / 0.7088 GB, free: 15.02 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.01343, allocations: 3.938 kB / 0.7088 GB, free: 15.02 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.01343, allocations: 3.984 kB / 0.7088 GB, free: 15.02 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.01446, allocations: 0.529 MB / 0.7093 GB, free: 14.44 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.01447, allocations: 3.984 kB / 0.7093 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.01468, allocations: 39.92 kB / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01468, allocations: 0 / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.0147, allocations: 7.984 kB / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.0147, allocations: 0 / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01471, allocations: 0 / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008784/0.01558, allocations: 0.5026 MB / 0.7098 GB, free: 13.86 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.01563, allocations: 19.86 kB / 0.7099 GB, free: 13.84 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.01567, allocations: 8 kB / 0.7099 GB, free: 13.83 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.01585, allocations: 19.97 kB / 0.7099 GB, free: 13.81 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/0.01593, allocations: 23.95 kB / 0.7099 GB, free: 13.79 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.01595, allocations: 4 kB / 0.7099 GB, free: 13.78 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001735/0.01612, allocations: 156.4 kB / 0.7101 GB, free: 13.63 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01612, allocations: 0 / 0.7101 GB, free: 13.63 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003046/0.01643, allocations: 63.94 kB / 0.7101 GB, free: 13.57 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 0.0001562/0.01659, allocations: 113.9 kB / 0.7102 GB, free: 13.45 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006479/0.01723, allocations: 375.6 kB / 0.7106 GB, free: 13.04 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01723, allocations: 0 / 0.7106 GB, free: 13.04 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.01753, allocations: 173 kB / 0.7107 GB, free: 12.85 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.01799, allocations: 76.34 kB / 0.7108 GB, free: 12.78 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.01929, allocations: 0.5703 MB / 0.7114 GB, free: 12.18 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.01945, allocations: 121.6 kB / 0.7115 GB, free: 12.04 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.01956, allocations: 25.94 kB / 0.7115 GB, free: 12.01 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.01962, allocations: 20.5 kB / 0.7115 GB, free: 11.99 MB / 426.8 MB Notification: Performance of SimCode: time 5.51e-07/0.01962, allocations: 0 / 0.7115 GB, free: 11.99 MB / 426.8 MB Notification: Performance of Templates: time 0.008377/0.028, allocations: 3.326 MB / 0.7148 GB, free: 8.781 MB / 426.8 MB " [Timeout remaining time 660] 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: 24.443513452075422]