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.0007075/0.0007075, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008504/0.001558, 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.0006762/0.0006762, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00084/0.001516, 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 0.9709/0.9709, allocations: 177.2 MB / 189.6 MB, free: 5.281 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09391/1.065, allocations: 53.67 MB / 243.3 MB, free: 15.55 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.8421/0.8421, allocations: 291.2 MB / 0.5227 GB, free: 52.69 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03363/0.8757, allocations: 21.05 MB / 0.5433 GB, free: 31.71 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.623e-06/1.623e-06, allocations: 3.938 kB / 0.5447 GB, free: 30.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.171e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride): time 0.002172/0.002183, allocations: 2.537 MB / 0.5471 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008422/0.003025, allocations: 0.6154 MB / 0.5477 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.0031, allocations: 0 / 0.5477 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.95e-05/0.00316, allocations: 23.72 kB / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.003289, allocations: 95.25 kB / 0.5479 GB, free: 27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.003405, allocations: 47.94 kB / 0.5479 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.003595, allocations: 266.6 kB / 0.5482 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.003701, allocations: 38.47 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.003874, allocations: 184 kB / 0.5484 GB, free: 26.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.004027, allocations: 83.78 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.004053, allocations: 19.94 kB / 0.5485 GB, free: 26.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.336e-05/0.004076, allocations: 20 kB / 0.5485 GB, free: 26.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.004104, allocations: 27.88 kB / 0.5485 GB, free: 26.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.004159, allocations: 63.94 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.004321, allocations: 139.5 kB / 0.5487 GB, free: 26.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.004334, allocations: 0 / 0.5487 GB, free: 26.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004335, allocations: 0 / 0.5487 GB, free: 26.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.004346, allocations: 0 / 0.5487 GB, free: 26.12 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.0005261/0.004873, allocations: 0.4936 MB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.004901, allocations: 16.03 kB / 0.5492 GB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.004939, allocations: 24.92 kB / 0.5492 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.005074, allocations: 171.1 kB / 0.5494 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.00509, allocations: 11.92 kB / 0.5494 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.005114, allocations: 16.38 kB / 0.5494 GB, free: 25.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.005253, allocations: 167.4 kB / 0.5496 GB, free: 25.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.005263, allocations: 0 / 0.5496 GB, free: 25.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.005274, allocations: 4 kB / 0.5496 GB, free: 25.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.005279, allocations: 4 kB / 0.5496 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.5e-05/0.005354, allocations: 76.7 kB / 0.5497 GB, free: 25.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.00569, allocations: 372.8 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.005849, allocations: 116 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.005884, allocations: 58.55 kB / 0.5502 GB, free: 24.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.005892, allocations: 4 kB / 0.5502 GB, free: 24.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.006019, allocations: 184.4 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.122e-06/0.00602, allocations: 0 / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005269/0.006547, allocations: 0.5266 MB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.006583, allocations: 162.2 kB / 0.551 GB, free: 23.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.006674, allocations: 206.1 kB / 0.5512 GB, free: 23.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.006685, allocations: 29.7 kB / 0.5513 GB, free: 23.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.006719, allocations: 120.4 kB / 0.5514 GB, free: 23.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.006749, allocations: 71.41 kB / 0.5514 GB, free: 23.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.006805, allocations: 55.17 kB / 0.5515 GB, free: 22.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.799e-05/0.006843, allocations: 330.8 kB / 0.5518 GB, free: 22.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.089e-05/0.006894, allocations: 105 kB / 0.5519 GB, free: 22.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-05/0.006961, allocations: 175.8 kB / 0.5521 GB, free: 22.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.007064, allocations: 215.7 kB / 0.5523 GB, free: 22.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007065, allocations: 0 / 0.5523 GB, free: 22.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001556/0.007221, allocations: 266.7 kB / 0.5525 GB, free: 21.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.183e-05/0.007263, allocations: 63.39 kB / 0.5526 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.007267, allocations: 0 / 0.5526 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.007277, allocations: 4 kB / 0.5526 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.007425, allocations: 63.91 kB / 0.5527 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.00743, allocations: 6.656 kB / 0.5527 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.007508, allocations: 20.14 kB / 0.5527 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.007518, allocations: 12 kB / 0.5527 GB, free: 21.61 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.000144/0.007662, allocations: 165.7 kB / 0.5529 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.007696, allocations: 25.67 kB / 0.5529 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.007742, allocations: 25.95 kB / 0.5529 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.007745, allocations: 0 / 0.5529 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.007748, allocations: 0 / 0.5529 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.007754, allocations: 4 kB / 0.5529 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.008032, allocations: 382.2 kB / 0.5533 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008034, allocations: 3.938 kB / 0.5533 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.008153, allocations: 43.91 kB / 0.5533 GB, free: 20.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.008172, allocations: 15.86 kB / 0.5533 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.008174, allocations: 4 kB / 0.5533 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.008186, allocations: 7.984 kB / 0.5533 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008188, allocations: 0 / 0.5533 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.008189, allocations: 7.938 kB / 0.5534 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.008361, allocations: 355.1 kB / 0.5537 GB, free: 20.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.008384, allocations: 12 kB / 0.5537 GB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.008453, allocations: 8 kB / 0.5537 GB, free: 20.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.0085, allocations: 19.95 kB / 0.5537 GB, free: 20.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.008508, allocations: 7.938 kB / 0.5537 GB, free: 20.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.229e-05/0.00855, allocations: 69.94 kB / 0.5538 GB, free: 20.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00855, allocations: 0 / 0.5538 GB, free: 20.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001599/0.00871, allocations: 56 kB / 0.5539 GB, free: 20.34 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 5.725e-05/0.008767, allocations: 88.36 kB / 0.5539 GB, free: 20.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.008925, allocations: 316.5 kB / 0.5542 GB, free: 19.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.008932, allocations: 7.984 kB / 0.5542 GB, free: 19.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.037e-05/0.009002, allocations: 145.9 kB / 0.5544 GB, free: 19.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.009218, allocations: 90.44 kB / 0.5545 GB, free: 19.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005214/0.01443, allocations: 0.5549 MB / 0.555 GB, free: 19.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.312e-05/0.01447, allocations: 80.33 kB / 0.5551 GB, free: 18.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.382e-05/0.01454, allocations: 25.94 kB / 0.5551 GB, free: 18.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.01467, allocations: 115.3 kB / 0.5552 GB, free: 18.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01467, allocations: 0 / 0.5552 GB, free: 18.8 MB / 410.7 MB Notification: Performance of Templates: time 0.00466/0.01933, allocations: 3.777 MB / 0.5589 GB, free: 15.13 MB / 410.7 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.000064065679908]