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.0006246/0.0006246, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008638/0.001488, allocations: 440 kB / 10.41 MB, free: 284 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.0006895/0.0006895, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008458/0.001535, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9822/0.9822, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0908/1.073, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7366/0.7366, allocations: 291.2 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03127/0.7679, allocations: 21.04 MB / 0.5433 GB, free: 31.48 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,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.613e-06/1.613e-06, allocations: 0 / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141e-05/1.302e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.03 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride): time 0.002193/0.002206, allocations: 2.536 MB / 0.5472 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.003369, allocations: 0.6348 MB / 0.5478 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.003523, allocations: 4 kB / 0.5478 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.449e-05/0.003617, allocations: 23.72 kB / 0.5478 GB, free: 26.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.003802, allocations: 83.27 kB / 0.5479 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.004009, allocations: 51.92 kB / 0.548 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.004294, allocations: 266.6 kB / 0.5482 GB, free: 26.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.004442, allocations: 46.47 kB / 0.5483 GB, free: 26.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.004673, allocations: 180.1 kB / 0.5484 GB, free: 26.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.004838, allocations: 83.78 kB / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.00487, allocations: 16 kB / 0.5485 GB, free: 26.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.445e-05/0.004894, allocations: 20 kB / 0.5486 GB, free: 26.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.004928, allocations: 27.88 kB / 0.5486 GB, free: 26.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.004985, allocations: 59.88 kB / 0.5486 GB, free: 26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.005143, allocations: 127.5 kB / 0.5488 GB, free: 25.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.005155, allocations: 0 / 0.5488 GB, free: 25.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005156, allocations: 8 kB / 0.5488 GB, free: 25.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.005167, allocations: 0 / 0.5488 GB, free: 25.86 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.0005396/0.005706, allocations: 0.5014 MB / 0.5493 GB, free: 25.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.005742, allocations: 12.02 kB / 0.5493 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.005789, allocations: 20.92 kB / 0.5493 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.005954, allocations: 179.1 kB / 0.5495 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.005973, allocations: 12.61 kB / 0.5495 GB, free: 25.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.005998, allocations: 8.375 kB / 0.5495 GB, free: 25.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.006164, allocations: 167.4 kB / 0.5496 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.006175, allocations: 0 / 0.5496 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.006185, allocations: 8 kB / 0.5496 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.006192, allocations: 4 kB / 0.5497 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.006265, allocations: 78.34 kB / 0.5497 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.00664, allocations: 364.9 kB / 0.5501 GB, free: 24.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.006806, allocations: 112 kB / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.006839, allocations: 61.8 kB / 0.5502 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.006848, allocations: 4 kB / 0.5502 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.006983, allocations: 192.4 kB / 0.5504 GB, free: 24.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.006985, allocations: 0 / 0.5504 GB, free: 24.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005451/0.00753, allocations: 0.5098 MB / 0.5509 GB, free: 23.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.007566, allocations: 170.1 kB / 0.5511 GB, free: 23.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.007649, allocations: 202.1 kB / 0.5513 GB, free: 23.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.007661, allocations: 37.69 kB / 0.5513 GB, free: 22.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.007695, allocations: 116.4 kB / 0.5514 GB, free: 22.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.007726, allocations: 75.39 kB / 0.5515 GB, free: 22.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.007779, allocations: 51.19 kB / 0.5515 GB, free: 22.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.761e-05/0.007817, allocations: 338.7 kB / 0.5519 GB, free: 22.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.007867, allocations: 96.98 kB / 0.552 GB, free: 22.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.007932, allocations: 181.3 kB / 0.5521 GB, free: 22.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.008037, allocations: 219.7 kB / 0.5523 GB, free: 21.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.008038, allocations: 0 / 0.5523 GB, free: 21.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001494/0.008187, allocations: 261 kB / 0.5526 GB, free: 21.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.008222, allocations: 59.41 kB / 0.5527 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.008227, allocations: 4.219 kB / 0.5527 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.00824, allocations: 4 kB / 0.5527 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.008393, allocations: 67.89 kB / 0.5527 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.008398, allocations: 6.656 kB / 0.5527 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.008475, allocations: 19.92 kB / 0.5528 GB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.008487, allocations: 8 kB / 0.5528 GB, free: 21.34 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.0001063/0.008593, allocations: 180.2 kB / 0.5529 GB, free: 21.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.008614, allocations: 19.98 kB / 0.5529 GB, free: 21.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.008645, allocations: 25.95 kB / 0.553 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.008647, allocations: 0 / 0.553 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.008649, allocations: 0 / 0.553 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.008654, allocations: 4 kB / 0.553 GB, free: 21.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.008917, allocations: 377.2 kB / 0.5533 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.008919, allocations: 3.938 kB / 0.5533 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.009042, allocations: 47.09 kB / 0.5534 GB, free: 20.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.009065, allocations: 15.86 kB / 0.5534 GB, free: 20.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.009068, allocations: 8 kB / 0.5534 GB, free: 20.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.009079, allocations: 3.938 kB / 0.5534 GB, free: 20.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.00908, allocations: 4 kB / 0.5534 GB, free: 20.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.009082, allocations: 0 / 0.5534 GB, free: 20.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.00926, allocations: 345 kB / 0.5537 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.009284, allocations: 8 kB / 0.5538 GB, free: 20.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.009354, allocations: 11.98 kB / 0.5538 GB, free: 20.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.009399, allocations: 23.89 kB / 0.5538 GB, free: 20.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.00941, allocations: 11.94 kB / 0.5538 GB, free: 20.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.1e-05/0.009451, allocations: 69.94 kB / 0.5539 GB, free: 20.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009451, allocations: 0 / 0.5539 GB, free: 20.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.009614, allocations: 56 kB / 0.5539 GB, free: 20.07 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 7.478e-05/0.009689, allocations: 96.36 kB / 0.554 GB, free: 19.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.009849, allocations: 300.6 kB / 0.5543 GB, free: 19.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.009855, allocations: 4 kB / 0.5543 GB, free: 19.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.009926, allocations: 161.4 kB / 0.5545 GB, free: 19.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.01021, allocations: 0.5009 MB / 0.5549 GB, free: 18.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/0.01555, allocations: 0.5666 MB / 0.5555 GB, free: 18.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.9e-05/0.01558, allocations: 76.33 kB / 0.5556 GB, free: 18.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.937e-05/0.01566, allocations: 25.98 kB / 0.5556 GB, free: 18.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.01579, allocations: 115.3 kB / 0.5557 GB, free: 18.02 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01579, allocations: 0 / 0.5557 GB, free: 18.02 MB / 410.7 MB Notification: Performance of Templates: time 0.2749/0.2907, allocations: 3.767 MB / 0.5594 GB, free: 84.69 MB / 410.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: 15.405616506934166]