Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.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.002499/0.002499, 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.002853/0.002853, 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.563/1.563, 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.324/1.324, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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_Houpert1997_ewe_7,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.6999 GB, free: 8.613 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.956e-05, allocations: 8.891 kB / 0.6999 GB, free: 8.605 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7): time 0.003796/0.003826, allocations: 2.32 MB / 0.7022 GB, free: 6.266 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.005146, allocations: 0.5923 MB / 0.7027 GB, free: 5.672 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.005332, allocations: 7.938 kB / 0.7027 GB, free: 5.664 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.005504, allocations: 27.7 kB / 0.7028 GB, free: 5.637 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.005833, allocations: 79.33 kB / 0.7028 GB, free: 5.559 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.006107, allocations: 55.81 kB / 0.7029 GB, free: 5.504 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.006499, allocations: 266.6 kB / 0.7032 GB, free: 5.242 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.00667, allocations: 32.58 kB / 0.7032 GB, free: 5.215 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.006917, allocations: 143.6 kB / 0.7033 GB, free: 5.074 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.007159, allocations: 83.78 kB / 0.7034 GB, free: 4.992 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.0072, allocations: 16 kB / 0.7034 GB, free: 4.977 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.812e-05/0.007248, allocations: 16 kB / 0.7034 GB, free: 4.961 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.007299, allocations: 43.78 kB / 0.7035 GB, free: 4.918 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.007407, allocations: 75.83 kB / 0.7035 GB, free: 4.844 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.007687, allocations: 199.3 kB / 0.7037 GB, free: 4.648 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.00769, allocations: 0 / 0.7037 GB, free: 4.648 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.903e-06/0.007692, allocations: 0 / 0.7037 GB, free: 4.648 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.007699, allocations: 3.938 kB / 0.7037 GB, free: 4.645 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.001012/0.008711, allocations: 0.4891 MB / 0.7042 GB, free: 4.109 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.008756, allocations: 8.031 kB / 0.7042 GB, free: 4.102 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.907e-05/0.008845, allocations: 24.8 kB / 0.7042 GB, free: 4.078 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.009146, allocations: 178.3 kB / 0.7044 GB, free: 3.875 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.009171, allocations: 12.61 kB / 0.7044 GB, free: 3.863 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.009229, allocations: 12.38 kB / 0.7044 GB, free: 3.852 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.00967, allocations: 210.4 kB / 0.7046 GB, free: 3.633 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.009691, allocations: 7.953 kB / 0.7046 GB, free: 3.625 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.009712, allocations: 4 kB / 0.7047 GB, free: 3.621 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.009719, allocations: 4 kB / 0.7047 GB, free: 3.617 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/0.01018, allocations: 146.2 kB / 0.7048 GB, free: 3.469 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009231/0.01111, allocations: 481.5 kB / 0.7053 GB, free: 2.965 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006065/0.01171, allocations: 180 kB / 0.7054 GB, free: 2.773 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.01193, allocations: 98.52 kB / 0.7055 GB, free: 2.668 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.01195, allocations: 0 / 0.7055 GB, free: 2.668 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/0.01234, allocations: 232.4 kB / 0.7057 GB, free: 2.41 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.01234, allocations: 0 / 0.7057 GB, free: 2.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001723/0.01407, allocations: 0.6946 MB / 0.7064 GB, free: 1.652 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.646e-05/0.01413, allocations: 140.5 kB / 0.7066 GB, free: 1.484 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.01436, allocations: 218.9 kB / 0.7068 GB, free: 1.262 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.01438, allocations: 33.7 kB / 0.7068 GB, free: 1.223 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.01446, allocations: 128.5 kB / 0.7069 GB, free: 1.094 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.01452, allocations: 75.47 kB / 0.707 GB, free: 1.02 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.01462, allocations: 45.7 kB / 0.707 GB, free: 0.9688 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.25e-05/0.01468, allocations: 338.8 kB / 0.7074 GB, free: 0.6289 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.01496, allocations: 145 kB / 0.7075 GB, free: 480 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.01526, allocations: 225.3 kB / 0.7077 GB, free: 208 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.01582, allocations: 280.9 kB / 0.708 GB, free: 15.88 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01582, allocations: 0 / 0.708 GB, free: 15.88 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009607/0.01678, allocations: 390.2 kB / 0.7083 GB, free: 15.47 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.586e-05/0.01686, allocations: 71.33 kB / 0.7084 GB, free: 15.39 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.01686, allocations: 0 / 0.7084 GB, free: 15.39 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.01689, allocations: 4 kB / 0.7084 GB, free: 15.39 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.01718, allocations: 56.06 kB / 0.7085 GB, free: 15.33 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.01719, allocations: 4 kB / 0.7085 GB, free: 15.33 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.01747, allocations: 19.98 kB / 0.7085 GB, free: 15.31 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.0175, allocations: 12 kB / 0.7085 GB, free: 15.3 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.0002792/0.01778, allocations: 175.6 kB / 0.7087 GB, free: 15.11 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.01783, allocations: 19.91 kB / 0.7087 GB, free: 15.09 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.955e-05/0.01792, allocations: 29.89 kB / 0.7087 GB, free: 15.06 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.01793, allocations: 4 kB / 0.7087 GB, free: 15.05 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.01794, allocations: 3.938 kB / 0.7087 GB, free: 15.05 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.01794, allocations: 3.984 kB / 0.7087 GB, free: 15.05 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.01919, allocations: 0.5406 MB / 0.7093 GB, free: 14.46 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01919, allocations: 0 / 0.7093 GB, free: 14.46 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.01946, allocations: 31.97 kB / 0.7093 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.01946, allocations: 0 / 0.7093 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.01949, allocations: 11.94 kB / 0.7093 GB, free: 14.42 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.0195, allocations: 8 kB / 0.7093 GB, free: 14.41 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.0195, allocations: 0 / 0.7093 GB, free: 14.41 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.02067, allocations: 0.492 MB / 0.7098 GB, free: 13.89 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.02073, allocations: 23.89 kB / 0.7098 GB, free: 13.86 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.02081, allocations: 8 kB / 0.7098 GB, free: 13.86 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.02106, allocations: 11.98 kB / 0.7098 GB, free: 13.84 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.02116, allocations: 19.97 kB / 0.7099 GB, free: 13.82 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.02119, allocations: 11.98 kB / 0.7099 GB, free: 13.81 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002463/0.02144, allocations: 164.4 kB / 0.71 GB, free: 13.65 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.02144, allocations: 0 / 0.71 GB, free: 13.65 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0005046/0.02194, allocations: 52 kB / 0.7101 GB, free: 13.6 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.0001855/0.02213, allocations: 118.2 kB / 0.7102 GB, free: 13.48 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009017/0.02303, allocations: 383.9 kB / 0.7106 GB, free: 13.06 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.02303, allocations: 64 / 0.7106 GB, free: 13.06 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.02342, allocations: 173 kB / 0.7107 GB, free: 12.88 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007137/0.02413, allocations: 70.64 kB / 0.7108 GB, free: 12.81 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.02574, allocations: 0.5742 MB / 0.7113 GB, free: 12.2 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.02593, allocations: 129.6 kB / 0.7115 GB, free: 12.05 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.02609, allocations: 21.94 kB / 0.7115 GB, free: 12.03 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.02617, allocations: 24.48 kB / 0.7115 GB, free: 12.01 MB / 426.8 MB Notification: Performance of SimCode: time 7.12e-07/0.02617, allocations: 4 kB / 0.7115 GB, free: 12 MB / 426.8 MB Notification: Performance of Templates: time 0.01088/0.03705, allocations: 3.329 MB / 0.7148 GB, free: 8.824 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.780784817179665]