Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.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.0006852/0.0006852, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001183/0.001868, 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.001087/0.001087, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009792/0.002066, 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 0.987/0.987, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09847/1.085, allocations: 53.65 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.6972/0.6972, allocations: 291.2 MB / 0.5226 GB, free: 52.96 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03661/0.7338, allocations: 21.04 MB / 0.5431 GB, free: 31.98 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_Houpert1997_lactating,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.824e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating): time 0.00334/0.003358, allocations: 2.525 MB / 0.547 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.004402, allocations: 0.6232 MB / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.004519, allocations: 0 / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.076e-05/0.0046, allocations: 35.66 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.004779, allocations: 79.33 kB / 0.5477 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.004955, allocations: 59.8 kB / 0.5478 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.005249, allocations: 266.6 kB / 0.548 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.005385, allocations: 38.47 kB / 0.5481 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.005653, allocations: 172.3 kB / 0.5482 GB, free: 26.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.005872, allocations: 87.72 kB / 0.5483 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.005908, allocations: 20 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.465e-05/0.005943, allocations: 16 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.00598, allocations: 27.88 kB / 0.5484 GB, free: 26.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.088e-05/0.00606, allocations: 63.88 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.006289, allocations: 139.5 kB / 0.5486 GB, free: 26.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.006308, allocations: 0 / 0.5486 GB, free: 26.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006309, allocations: 0 / 0.5486 GB, free: 26.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.006329, allocations: 0 / 0.5486 GB, free: 26.43 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.0008869/0.007216, allocations: 0.5015 MB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.007254, allocations: 11.89 kB / 0.5491 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.007322, allocations: 28.91 kB / 0.5491 GB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.007539, allocations: 175.1 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.007565, allocations: 8.609 kB / 0.5493 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.007601, allocations: 16.38 kB / 0.5493 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.007824, allocations: 159.5 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.007838, allocations: 0 / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.007851, allocations: 4 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.007859, allocations: 4 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.007982, allocations: 84.58 kB / 0.5495 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.008536, allocations: 368.9 kB / 0.5499 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.008813, allocations: 107.6 kB / 0.55 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.008875, allocations: 61.67 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.008888, allocations: 4 kB / 0.55 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.009094, allocations: 192.3 kB / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.515e-06/0.009097, allocations: 4 kB / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008407/0.009937, allocations: 0.5081 MB / 0.5507 GB, free: 24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.01, allocations: 132.5 kB / 0.5508 GB, free: 23.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.01014, allocations: 206.1 kB / 0.551 GB, free: 23.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.01016, allocations: 29.7 kB / 0.5511 GB, free: 23.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.01022, allocations: 120.4 kB / 0.5512 GB, free: 23.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.01027, allocations: 71.41 kB / 0.5512 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.01035, allocations: 55.17 kB / 0.5513 GB, free: 23.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.621e-05/0.0104, allocations: 334.8 kB / 0.5516 GB, free: 23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.69e-05/0.0105, allocations: 101 kB / 0.5517 GB, free: 22.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.01061, allocations: 177.3 kB / 0.5519 GB, free: 22.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.01077, allocations: 207.8 kB / 0.5521 GB, free: 22.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01078, allocations: 32 / 0.5521 GB, free: 22.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002471/0.01102, allocations: 266.7 kB / 0.5523 GB, free: 22.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.01106, allocations: 63.39 kB / 0.5524 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.01107, allocations: 2.656 kB / 0.5524 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.01109, allocations: 4 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.01132, allocations: 63.91 kB / 0.5525 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.01133, allocations: 12.14 kB / 0.5525 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.01146, allocations: 19.94 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.01147, allocations: 8 kB / 0.5525 GB, free: 21.95 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.0001468/0.01162, allocations: 177.6 kB / 0.5527 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.01165, allocations: 27.97 kB / 0.5527 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.0117, allocations: 21.97 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.0117, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.0117, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.01171, allocations: 11.98 kB / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.01209, allocations: 370.2 kB / 0.5531 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.01209, allocations: 7.312 kB / 0.5531 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.01228, allocations: 43.91 kB / 0.5531 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.01231, allocations: 15.86 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.01232, allocations: 4 kB / 0.5532 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.01233, allocations: 7.984 kB / 0.5532 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.01234, allocations: 4 kB / 0.5532 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01234, allocations: 0 / 0.5532 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.01262, allocations: 351.8 kB / 0.5535 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.01266, allocations: 8 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.01278, allocations: 15.92 kB / 0.5535 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.01285, allocations: 15.97 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.01286, allocations: 7.938 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.079e-05/0.01293, allocations: 69.94 kB / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01293, allocations: 0 / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.01319, allocations: 56 kB / 0.5537 GB, free: 20.68 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.0001018/0.01329, allocations: 96.42 kB / 0.5538 GB, free: 20.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.01354, allocations: 308.5 kB / 0.5541 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.01355, allocations: 4 kB / 0.5541 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.01366, allocations: 145.9 kB / 0.5542 GB, free: 20.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.014, allocations: 86.22 kB / 0.5543 GB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008748/0.02275, allocations: 0.5772 MB / 0.5548 GB, free: 19.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.96e-05/0.02281, allocations: 80.33 kB / 0.5549 GB, free: 19.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.02295, allocations: 29.97 kB / 0.5549 GB, free: 19.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.02314, allocations: 111.3 kB / 0.5551 GB, free: 19.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02314, allocations: 0 / 0.5551 GB, free: 19.14 MB / 410.7 MB Notification: Performance of Templates: time 0.006489/0.02963, allocations: 3.786 MB / 0.5587 GB, free: 15.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.311056566424668]