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.0006732/0.0006732, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001698, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007107/0.0007107, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008857/0.001596, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.016/1.016, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08557/1.102, allocations: 53.67 MB / 243.2 MB, free: 15.59 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.7085/0.7085, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03152/0.7401, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.212e-06/1.212e-06, allocations: 0 / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.367e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride): time 0.00204/0.002054, allocations: 2.532 MB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006217/0.002676, allocations: 0.6271 MB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.002743, allocations: 4 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.826e-05/0.002801, allocations: 27.66 kB / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.002911, allocations: 75.34 kB / 0.5477 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.003024, allocations: 63.84 kB / 0.5478 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.003204, allocations: 262.6 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.003308, allocations: 42.47 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.00346, allocations: 172.2 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.003601, allocations: 87.72 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.003625, allocations: 16 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.099e-05/0.003646, allocations: 20 kB / 0.5484 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.003672, allocations: 27.88 kB / 0.5484 GB, free: 26.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.003722, allocations: 59.88 kB / 0.5484 GB, free: 26.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.003869, allocations: 139.5 kB / 0.5486 GB, free: 26.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.44e-05/0.003883, allocations: 0 / 0.5486 GB, free: 26.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003884, allocations: 4 kB / 0.5486 GB, free: 26.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.0039, allocations: 4 kB / 0.5486 GB, free: 26.38 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.0005398/0.00444, allocations: 0.4937 MB / 0.5491 GB, free: 25.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.605e-05/0.004466, allocations: 11.97 kB / 0.5491 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.004506, allocations: 24.92 kB / 0.5491 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.004643, allocations: 171.1 kB / 0.5493 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.004659, allocations: 12.61 kB / 0.5493 GB, free: 25.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.00468, allocations: 12.38 kB / 0.5493 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.004824, allocations: 167.4 kB / 0.5495 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.004834, allocations: 3.938 kB / 0.5495 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.004846, allocations: 8 kB / 0.5495 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.004852, allocations: 4 kB / 0.5495 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.489e-05/0.004927, allocations: 76.69 kB / 0.5495 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.00528, allocations: 368.8 kB / 0.5499 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.005444, allocations: 108 kB / 0.55 GB, free: 24.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.005477, allocations: 65.36 kB / 0.5501 GB, free: 24.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.005486, allocations: 4 kB / 0.5501 GB, free: 24.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.005616, allocations: 196.4 kB / 0.5502 GB, free: 24.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.005618, allocations: 0 / 0.5502 GB, free: 24.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004809/0.006099, allocations: 0.5002 MB / 0.5507 GB, free: 23.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.00613, allocations: 140.5 kB / 0.5509 GB, free: 23.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.006219, allocations: 210.1 kB / 0.5511 GB, free: 23.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.006231, allocations: 33.7 kB / 0.5511 GB, free: 23.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.006261, allocations: 112.4 kB / 0.5512 GB, free: 23.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.006295, allocations: 75.41 kB / 0.5513 GB, free: 23.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.006339, allocations: 55.16 kB / 0.5513 GB, free: 23.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.205e-05/0.006371, allocations: 334.8 kB / 0.5517 GB, free: 22.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.75e-05/0.006419, allocations: 97 kB / 0.5517 GB, free: 22.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.004e-05/0.006479, allocations: 173.3 kB / 0.5519 GB, free: 22.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.573e-05/0.006575, allocations: 219.7 kB / 0.5521 GB, free: 22.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.006576, allocations: 0 / 0.5521 GB, free: 22.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001353/0.006712, allocations: 259.5 kB / 0.5524 GB, free: 22.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.00674, allocations: 67.39 kB / 0.5524 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006745, allocations: 12.16 kB / 0.5524 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.006753, allocations: 4 kB / 0.5524 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.006895, allocations: 63.59 kB / 0.5525 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.006901, allocations: 10.64 kB / 0.5525 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.006973, allocations: 15.94 kB / 0.5525 GB, free: 21.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.006984, allocations: 12 kB / 0.5525 GB, free: 21.89 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 9.273e-05/0.007077, allocations: 165.7 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.007094, allocations: 23.97 kB / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.007122, allocations: 21.97 kB / 0.5527 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007124, allocations: 4 kB / 0.5528 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.007129, allocations: 0 / 0.5528 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.007133, allocations: 3.984 kB / 0.5528 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.007359, allocations: 378.2 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007361, allocations: 3.938 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.007471, allocations: 43.91 kB / 0.5532 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.887e-05/0.00749, allocations: 19.86 kB / 0.5532 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.007491, allocations: 4 kB / 0.5532 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.007501, allocations: 7.984 kB / 0.5532 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.007502, allocations: 0 / 0.5532 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007503, allocations: 0 / 0.5532 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.007668, allocations: 347.8 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.00769, allocations: 8 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.007759, allocations: 11.98 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.007802, allocations: 19.97 kB / 0.5536 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.007811, allocations: 7.938 kB / 0.5536 GB, free: 20.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.824e-05/0.007849, allocations: 69.94 kB / 0.5536 GB, free: 20.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007849, allocations: 0 / 0.5536 GB, free: 20.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001529/0.008002, allocations: 56 kB / 0.5537 GB, free: 20.63 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 6.011e-05/0.008062, allocations: 96.34 kB / 0.5538 GB, free: 20.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.008227, allocations: 308.5 kB / 0.5541 GB, free: 20.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.008234, allocations: 7.938 kB / 0.5541 GB, free: 20.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.334e-05/0.008297, allocations: 141.3 kB / 0.5542 GB, free: 20.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.00852, allocations: 89.78 kB / 0.5543 GB, free: 19.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00522/0.01374, allocations: 0.5722 MB / 0.5549 GB, free: 19.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.981e-05/0.01377, allocations: 80.33 kB / 0.5549 GB, free: 19.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.129e-05/0.01383, allocations: 25.97 kB / 0.555 GB, free: 19.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.01394, allocations: 119.3 kB / 0.5551 GB, free: 19.09 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01394, allocations: 0 / 0.5551 GB, free: 19.09 MB / 410.7 MB Notification: Performance of Templates: time 0.004434/0.01838, allocations: 3.779 MB / 0.5588 GB, free: 15.41 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.269717159681022]