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.0007748/0.0007748, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.001942, 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.0007815/0.0007815, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001469/0.002251, 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.079/1.079, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08567/1.164, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.8041/0.8041, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02844/0.8325, allocations: 21.04 MB / 0.5432 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_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 1.262e-06/1.262e-06, allocations: 3.938 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.503e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Han1994_reference): time 0.002063/0.002078, allocations: 2.518 MB / 0.547 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007644/0.002842, allocations: 0.631 MB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.725e-05/0.002929, allocations: 4 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.406e-05/0.002993, allocations: 31.66 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.003116, allocations: 75.34 kB / 0.5477 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.003245, allocations: 59.8 kB / 0.5478 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.003439, allocations: 266.6 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.003544, allocations: 42.47 kB / 0.5481 GB, free: 26.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.003709, allocations: 172.3 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.003863, allocations: 83.72 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.003889, allocations: 20 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.068e-05/0.00391, allocations: 20 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.003934, allocations: 27.88 kB / 0.5484 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.003989, allocations: 59.88 kB / 0.5484 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.004144, allocations: 143.5 kB / 0.5486 GB, free: 26.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.557e-05/0.004159, allocations: 4 kB / 0.5486 GB, free: 26.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00416, allocations: 0 / 0.5486 GB, free: 26.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.004177, allocations: 0 / 0.5486 GB, free: 26.4 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.0005646/0.004742, allocations: 0.4937 MB / 0.549 GB, free: 25.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.004771, allocations: 15.89 kB / 0.5491 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.004817, allocations: 24.92 kB / 0.5491 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.004973, allocations: 175.1 kB / 0.5493 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.004991, allocations: 12.61 kB / 0.5493 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.005015, allocations: 12.38 kB / 0.5493 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.005179, allocations: 159.5 kB / 0.5494 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.00519, allocations: 0 / 0.5494 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.005201, allocations: 8 kB / 0.5494 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.005207, allocations: 7.938 kB / 0.5494 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.005286, allocations: 76.64 kB / 0.5495 GB, free: 25.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.005705, allocations: 372.9 kB / 0.5499 GB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.005928, allocations: 108.2 kB / 0.55 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.005966, allocations: 50.56 kB / 0.55 GB, free: 24.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.749e-06/0.005976, allocations: 4 kB / 0.55 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.006157, allocations: 192.3 kB / 0.5502 GB, free: 24.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.154e-06/0.00616, allocations: 0 / 0.5502 GB, free: 24.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006736/0.006833, allocations: 0.5159 MB / 0.5507 GB, free: 23.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.006874, allocations: 132.5 kB / 0.5508 GB, free: 23.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.006978, allocations: 206.1 kB / 0.551 GB, free: 23.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.006998, allocations: 33.7 kB / 0.5511 GB, free: 23.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.00704, allocations: 112.4 kB / 0.5512 GB, free: 23.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.007085, allocations: 75.41 kB / 0.5513 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.00715, allocations: 59.16 kB / 0.5513 GB, free: 23.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.802e-05/0.007198, allocations: 338.8 kB / 0.5516 GB, free: 22.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-05/0.007259, allocations: 93 kB / 0.5517 GB, free: 22.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/0.007335, allocations: 181.3 kB / 0.5519 GB, free: 22.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.007456, allocations: 214.8 kB / 0.5521 GB, free: 22.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.007458, allocations: 0 / 0.5521 GB, free: 22.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001957/0.007654, allocations: 262.2 kB / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.007697, allocations: 63.33 kB / 0.5524 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.007704, allocations: 4 kB / 0.5524 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.007717, allocations: 4 kB / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.007898, allocations: 67.89 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.007903, allocations: 7.938 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.088e-05/0.007984, allocations: 20.16 kB / 0.5525 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.007995, allocations: 11.98 kB / 0.5525 GB, free: 21.92 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.0001124/0.008107, allocations: 161.7 kB / 0.5527 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.008131, allocations: 27.95 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.008162, allocations: 21.97 kB / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.008165, allocations: 4 kB / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.008168, allocations: 0 / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.008173, allocations: 3.984 kB / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.008431, allocations: 382.2 kB / 0.5531 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.008433, allocations: 3.938 kB / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.008568, allocations: 39.97 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.00859, allocations: 15.86 kB / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.008593, allocations: 3.984 kB / 0.5532 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.008605, allocations: 8 kB / 0.5532 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.008608, allocations: 3.312 kB / 0.5532 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008609, allocations: 0 / 0.5532 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.008797, allocations: 359.8 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.008821, allocations: 4 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.008895, allocations: 11.98 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.008941, allocations: 19.97 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.008949, allocations: 7.938 kB / 0.5535 GB, free: 20.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.402e-05/0.008993, allocations: 65.94 kB / 0.5536 GB, free: 20.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008993, allocations: 0 / 0.5536 GB, free: 20.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001716/0.009165, allocations: 52 kB / 0.5537 GB, free: 20.66 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.181e-05/0.009237, allocations: 99.06 kB / 0.5538 GB, free: 20.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.009408, allocations: 316.5 kB / 0.5541 GB, free: 20.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.009415, allocations: 0 / 0.5541 GB, free: 20.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.27e-05/0.009478, allocations: 145.9 kB / 0.5542 GB, free: 20.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.009723, allocations: 93.12 kB / 0.5543 GB, free: 19.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/0.0152, allocations: 0.5705 MB / 0.5548 GB, free: 19.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.812e-05/0.01524, allocations: 76.33 kB / 0.5549 GB, free: 19.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.604e-05/0.01532, allocations: 29.97 kB / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.01546, allocations: 119.3 kB / 0.5551 GB, free: 19.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/0.01546, allocations: 0 / 0.5551 GB, free: 19.11 MB / 410.7 MB Notification: Performance of Templates: time 0.005274/0.02073, allocations: 3.789 MB / 0.5588 GB, free: 15.43 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.370246994309127]