Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.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.0008921/0.0008921, allocations: 92.42 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.0009411/0.0009411, allocations: 169.9 kB / 23.21 MB, free: 1.328 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.9539/0.9539, allocations: 177.2 MB / 203.5 MB, free: 5.438 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.7218/0.7218, allocations: 291.2 MB / 0.5382 GB, free: 51.66 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_Houpert1997_lactating,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.711e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating): time 0.002198/0.002225, allocations: 2.32 MB / 0.6996 GB, free: 8.043 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007027/0.002927, allocations: 0.6 MB / 0.7002 GB, free: 7.441 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.00301, allocations: 7.938 kB / 0.7002 GB, free: 7.434 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.00312, allocations: 23.78 kB / 0.7003 GB, free: 7.41 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.003273, allocations: 95.25 kB / 0.7004 GB, free: 7.316 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.003428, allocations: 47.88 kB / 0.7004 GB, free: 7.27 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.003603, allocations: 266.6 kB / 0.7007 GB, free: 7.008 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.003719, allocations: 36.52 kB / 0.7007 GB, free: 6.977 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.003828, allocations: 139.6 kB / 0.7008 GB, free: 6.84 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.003978, allocations: 83.72 kB / 0.7009 GB, free: 6.758 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.004002, allocations: 16 kB / 0.7009 GB, free: 6.742 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.96e-05/0.004022, allocations: 20 kB / 0.7009 GB, free: 6.723 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.004047, allocations: 35.84 kB / 0.701 GB, free: 6.688 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.004103, allocations: 79.77 kB / 0.701 GB, free: 6.609 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.004253, allocations: 203.4 kB / 0.7012 GB, free: 6.41 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004255, allocations: 0 / 0.7012 GB, free: 6.41 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.01e-07/0.004256, allocations: 0 / 0.7012 GB, free: 6.41 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.00426, allocations: 4 kB / 0.7012 GB, free: 6.406 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.0005353/0.004796, allocations: 488.8 kB / 0.7017 GB, free: 5.883 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.004834, allocations: 12.03 kB / 0.7017 GB, free: 5.871 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.004878, allocations: 28.8 kB / 0.7018 GB, free: 5.844 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.005024, allocations: 186.4 kB / 0.7019 GB, free: 5.633 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.005038, allocations: 8.609 kB / 0.7019 GB, free: 5.625 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.005063, allocations: 12.38 kB / 0.7019 GB, free: 5.613 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.005266, allocations: 198.5 kB / 0.7021 GB, free: 5.406 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.005278, allocations: 3.953 kB / 0.7021 GB, free: 5.402 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.005291, allocations: 4 kB / 0.7021 GB, free: 5.398 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.005296, allocations: 4 kB / 0.7021 GB, free: 5.395 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.005468, allocations: 150.2 kB / 0.7023 GB, free: 5.242 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.005935, allocations: 481.5 kB / 0.7028 GB, free: 4.738 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.006221, allocations: 187.9 kB / 0.7029 GB, free: 4.543 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/0.00631, allocations: 90.53 kB / 0.703 GB, free: 4.445 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-06/0.00632, allocations: 3.984 kB / 0.703 GB, free: 4.441 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.006504, allocations: 240.5 kB / 0.7032 GB, free: 4.176 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.006505, allocations: 0 / 0.7032 GB, free: 4.176 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0007729/0.007278, allocations: 0.6992 MB / 0.7039 GB, free: 3.418 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.00731, allocations: 132.5 kB / 0.7041 GB, free: 3.258 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.007421, allocations: 216 kB / 0.7043 GB, free: 3.039 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.007432, allocations: 41.64 kB / 0.7043 GB, free: 2.992 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.007477, allocations: 136.4 kB / 0.7044 GB, free: 2.855 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.007505, allocations: 75.42 kB / 0.7045 GB, free: 2.781 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.007551, allocations: 45.7 kB / 0.7046 GB, free: 2.73 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.007585, allocations: 338.8 kB / 0.7049 GB, free: 2.391 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.007699, allocations: 145 kB / 0.705 GB, free: 2.23 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.00782, allocations: 217.9 kB / 0.7052 GB, free: 1.973 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.008015, allocations: 279.8 kB / 0.7055 GB, free: 1.656 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.008018, allocations: 4 kB / 0.7055 GB, free: 1.652 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002859/0.008304, allocations: 394.8 kB / 0.7059 GB, free: 1.238 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.008327, allocations: 63.41 kB / 0.7059 GB, free: 1.164 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.008332, allocations: 0 / 0.7059 GB, free: 1.164 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.008343, allocations: 4 kB / 0.7059 GB, free: 1.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.008448, allocations: 59.83 kB / 0.706 GB, free: 1.102 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.008454, allocations: 0 / 0.706 GB, free: 1.102 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.379e-05/0.008538, allocations: 19.98 kB / 0.706 GB, free: 1.082 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.00855, allocations: 12.22 kB / 0.706 GB, free: 1.07 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.0001083/0.008658, allocations: 182.5 kB / 0.7062 GB, free: 0.8789 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.008673, allocations: 19.91 kB / 0.7062 GB, free: 0.8594 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.008701, allocations: 25.95 kB / 0.7062 GB, free: 0.832 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.008702, allocations: 3.938 kB / 0.7062 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.008707, allocations: 3.938 kB / 0.7062 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.00871, allocations: 0 / 0.7062 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.009083, allocations: 0.547 MB / 0.7068 GB, free: 236 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.009084, allocations: 4 kB / 0.7068 GB, free: 232 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.978e-05/0.009174, allocations: 31.97 kB / 0.7068 GB, free: 200 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.009176, allocations: 4 kB / 0.7068 GB, free: 196 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.009188, allocations: 4 kB / 0.7068 GB, free: 192 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.00919, allocations: 0 / 0.7068 GB, free: 192 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009191, allocations: 7.938 kB / 0.7068 GB, free: 184 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.009596, allocations: 0.4951 MB / 0.7073 GB, free: 15.66 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.346e-05/0.009619, allocations: 23.89 kB / 0.7073 GB, free: 15.63 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.009645, allocations: 4 kB / 0.7073 GB, free: 15.63 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.009726, allocations: 15.98 kB / 0.7074 GB, free: 15.61 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.009785, allocations: 19.97 kB / 0.7074 GB, free: 15.59 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.009795, allocations: 8 kB / 0.7074 GB, free: 15.59 MB / 426.8 MB Notification: Performance of sorting global known variables: time 8.78e-05/0.009882, allocations: 159.3 kB / 0.7075 GB, free: 15.43 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.009882, allocations: 0 / 0.7075 GB, free: 15.43 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001807/0.01006, allocations: 56 kB / 0.7076 GB, free: 15.38 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.072e-05/0.01014, allocations: 123.1 kB / 0.7077 GB, free: 15.25 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.01047, allocations: 379.6 kB / 0.7081 GB, free: 14.83 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01047, allocations: 0 / 0.7081 GB, free: 14.83 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.0106, allocations: 169 kB / 0.7082 GB, free: 14.65 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.01088, allocations: 72.33 kB / 0.7083 GB, free: 14.58 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.01156, allocations: 0.5993 MB / 0.7089 GB, free: 13.94 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.19e-05/0.01164, allocations: 121.6 kB / 0.709 GB, free: 13.8 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.01169, allocations: 28.5 kB / 0.709 GB, free: 13.77 MB / 426.8 MB Notification: Performance of SimCode: time 4.61e-07/0.01169, allocations: 0 / 0.709 GB, free: 13.77 MB / 426.8 MB Notification: Performance of Templates: time 0.003889/0.01558, allocations: 2.93 MB / 0.7119 GB, free: 10.87 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.569339383393526]