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.000759/0.000759, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001789, allocations: 455.9 kB / 10.35 MB, free: 348 kB / 10.45 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.000854/0.000854, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.00187, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.047/1.047, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1109/1.158, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.8251/0.8251, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03504/0.8601, allocations: 21.05 MB / 0.5433 GB, free: 31.72 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 2.244e-06/2.244e-06, allocations: 0 / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.451e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference): time 0.00326/0.003284, allocations: 2.52 MB / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.004362, allocations: 0.6271 MB / 0.5477 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.00447, allocations: 4 kB / 0.5477 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.647e-05/0.004556, allocations: 23.72 kB / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.004746, allocations: 87.25 kB / 0.5478 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.004919, allocations: 47.88 kB / 0.5479 GB, free: 27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.005183, allocations: 270.5 kB / 0.5481 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.005313, allocations: 50.47 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.005557, allocations: 172.2 kB / 0.5483 GB, free: 26.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.005751, allocations: 87.72 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.005788, allocations: 16 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.972e-05/0.005827, allocations: 20 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.00586, allocations: 23.88 kB / 0.5485 GB, free: 26.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.741e-05/0.005937, allocations: 63.88 kB / 0.5485 GB, free: 26.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.006152, allocations: 139.5 kB / 0.5487 GB, free: 26.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.006165, allocations: 0 / 0.5487 GB, free: 26.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006166, allocations: 0 / 0.5487 GB, free: 26.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.006185, allocations: 4 kB / 0.5487 GB, free: 26.17 MB / 410.7 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.000821/0.007005, allocations: 0.4976 MB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.007048, allocations: 11.89 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.007123, allocations: 24.92 kB / 0.5492 GB, free: 25.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.007372, allocations: 175.1 kB / 0.5494 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.007402, allocations: 12.61 kB / 0.5494 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.007443, allocations: 12.38 kB / 0.5494 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.007689, allocations: 167.4 kB / 0.5495 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.007705, allocations: 0 / 0.5495 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.00772, allocations: 4 kB / 0.5495 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.007729, allocations: 0 / 0.5495 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.007846, allocations: 80.69 kB / 0.5496 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.008388, allocations: 372.8 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.008627, allocations: 112.2 kB / 0.5501 GB, free: 24.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.008679, allocations: 62.55 kB / 0.5501 GB, free: 24.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.008695, allocations: 4 kB / 0.5502 GB, free: 24.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.008899, allocations: 191.2 kB / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.714e-06/0.0089, allocations: 0 / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007853/0.009686, allocations: 0.512 MB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.009739, allocations: 166.2 kB / 0.551 GB, free: 23.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.009874, allocations: 202.1 kB / 0.5512 GB, free: 23.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.009892, allocations: 37.7 kB / 0.5512 GB, free: 23.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.009934, allocations: 112.4 kB / 0.5513 GB, free: 23.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.009983, allocations: 83.33 kB / 0.5514 GB, free: 23.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.495e-05/0.01006, allocations: 51.17 kB / 0.5515 GB, free: 23.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.01012, allocations: 334.8 kB / 0.5518 GB, free: 22.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.193e-05/0.01021, allocations: 101 kB / 0.5519 GB, free: 22.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.01032, allocations: 171.8 kB / 0.552 GB, free: 22.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.01049, allocations: 219.7 kB / 0.5522 GB, free: 22.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01049, allocations: 4 kB / 0.5522 GB, free: 22.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002558/0.01075, allocations: 258.7 kB / 0.5525 GB, free: 21.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/0.01081, allocations: 63.41 kB / 0.5526 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.01082, allocations: 4 kB / 0.5526 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.01083, allocations: 4.219 kB / 0.5526 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.01109, allocations: 67.89 kB / 0.5526 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.0111, allocations: 6.656 kB / 0.5526 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.01122, allocations: 23.86 kB / 0.5527 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.01123, allocations: 8 kB / 0.5527 GB, free: 21.64 MB / 410.7 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.0001414/0.01138, allocations: 165.7 kB / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.01141, allocations: 23.98 kB / 0.5528 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.01145, allocations: 25.95 kB / 0.5529 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.01145, allocations: 4 kB / 0.5529 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01145, allocations: 0 / 0.5529 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01146, allocations: 0 / 0.5529 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.01185, allocations: 385.8 kB / 0.5532 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01185, allocations: 3.938 kB / 0.5532 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.01203, allocations: 39.97 kB / 0.5533 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.01207, allocations: 19.86 kB / 0.5533 GB, free: 20.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.01207, allocations: 0 / 0.5533 GB, free: 20.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.01209, allocations: 8 kB / 0.5533 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01209, allocations: 0 / 0.5533 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01209, allocations: 0 / 0.5533 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.01239, allocations: 355.8 kB / 0.5537 GB, free: 20.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.01243, allocations: 11.98 kB / 0.5537 GB, free: 20.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.01256, allocations: 4 kB / 0.5537 GB, free: 20.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.01263, allocations: 23.95 kB / 0.5537 GB, free: 20.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.01264, allocations: 11.94 kB / 0.5537 GB, free: 20.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.927e-05/0.01271, allocations: 61.94 kB / 0.5538 GB, free: 20.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01271, allocations: 0 / 0.5538 GB, free: 20.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.01304, allocations: 60 kB / 0.5538 GB, free: 20.38 MB / 410.7 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.0001184/0.01316, allocations: 96.39 kB / 0.5539 GB, free: 20.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002581/0.01342, allocations: 312.5 kB / 0.5542 GB, free: 19.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/0.01343, allocations: 4 kB / 0.5542 GB, free: 19.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.665e-05/0.01352, allocations: 152.5 kB / 0.5544 GB, free: 19.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.0138, allocations: 82.19 kB / 0.5544 GB, free: 19.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.01932, allocations: 0.555 MB / 0.555 GB, free: 19.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.445e-05/0.01935, allocations: 84.27 kB / 0.5551 GB, free: 18.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.423e-05/0.01944, allocations: 21.94 kB / 0.5551 GB, free: 18.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.01957, allocations: 115.3 kB / 0.5552 GB, free: 18.85 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01957, allocations: 4 kB / 0.5552 GB, free: 18.85 MB / 410.7 MB Notification: Performance of Templates: time 0.005073/0.02465, allocations: 3.789 MB / 0.5589 GB, free: 15.16 MB / 410.7 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 15.212966556660831]