Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.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.001245/0.001245, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002232/0.003477, allocations: 443.8 kB / 10.3 MB, free: 400 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.001426/0.001426, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001906/0.003332, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.972/0.972, allocations: 177.2 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09602/1.068, 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.7734/0.7734, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02459/0.798, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.SodiumSelenite.SodiumSelenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.554e-06/8.676e-06, allocations: 2.312 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite): time 0.002191/0.002199, allocations: 3.331 MB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006708/0.00287, allocations: 0.7206 MB / 0.5484 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.934e-05/0.002949, allocations: 4 kB / 0.5485 GB, free: 26.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.991e-05/0.003009, allocations: 39.58 kB / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.003152, allocations: 134.9 kB / 0.5486 GB, free: 26.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.003271, allocations: 91.77 kB / 0.5487 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.003494, allocations: 425.9 kB / 0.5491 GB, free: 25.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.003597, allocations: 79.3 kB / 0.5492 GB, free: 25.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.003789, allocations: 262.6 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.003938, allocations: 123.6 kB / 0.5496 GB, free: 25.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.003966, allocations: 32 kB / 0.5496 GB, free: 25.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.327e-05/0.003999, allocations: 36 kB / 0.5496 GB, free: 25.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.00403, allocations: 51.8 kB / 0.5497 GB, free: 25.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.217e-05/0.004102, allocations: 103.8 kB / 0.5498 GB, free: 25.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.004275, allocations: 231.2 kB / 0.55 GB, free: 24.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/0.004287, allocations: 0 / 0.55 GB, free: 24.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004288, allocations: 0 / 0.55 GB, free: 24.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.004299, allocations: 4 kB / 0.55 GB, free: 24.89 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005711/0.00487, allocations: 0.6395 MB / 0.5506 GB, free: 24.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.398e-05/0.004894, allocations: 12.03 kB / 0.5506 GB, free: 24.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.004944, allocations: 40.91 kB / 0.5507 GB, free: 24.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.00511, allocations: 193.5 kB / 0.5509 GB, free: 23.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.00513, allocations: 20.88 kB / 0.5509 GB, free: 23.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.005155, allocations: 24.33 kB / 0.5509 GB, free: 23.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.005333, allocations: 246.1 kB / 0.5511 GB, free: 23.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.005345, allocations: 0 / 0.5511 GB, free: 23.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.00536, allocations: 12 kB / 0.5511 GB, free: 23.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005365, allocations: 4 kB / 0.5511 GB, free: 23.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.005467, allocations: 142.6 kB / 0.5513 GB, free: 23.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.00591, allocations: 477.9 kB / 0.5517 GB, free: 22.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.006096, allocations: 170.9 kB / 0.5519 GB, free: 22.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.006148, allocations: 108.5 kB / 0.552 GB, free: 22.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.00616, allocations: 7.938 kB / 0.552 GB, free: 22.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.006316, allocations: 322.8 kB / 0.5523 GB, free: 22.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.006318, allocations: 0 / 0.5523 GB, free: 22.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.000657/0.006975, allocations: 0.8376 MB / 0.5531 GB, free: 21.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.007011, allocations: 221.6 kB / 0.5533 GB, free: 21.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/0.007106, allocations: 233 kB / 0.5536 GB, free: 20.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.007121, allocations: 33.7 kB / 0.5536 GB, free: 20.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.007154, allocations: 137.4 kB / 0.5537 GB, free: 20.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.007197, allocations: 119 kB / 0.5538 GB, free: 20.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.007256, allocations: 74.12 kB / 0.5539 GB, free: 20.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.211e-05/0.007288, allocations: 346.7 kB / 0.5542 GB, free: 20.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/0.007352, allocations: 151.9 kB / 0.5544 GB, free: 19.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.729e-05/0.007439, allocations: 246.9 kB / 0.5546 GB, free: 19.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.007583, allocations: 338.3 kB / 0.555 GB, free: 19.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007585, allocations: 3.938 kB / 0.555 GB, free: 19.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002054/0.007791, allocations: 392.6 kB / 0.5553 GB, free: 18.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.007822, allocations: 89.09 kB / 0.5554 GB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.007827, allocations: 4 kB / 0.5554 GB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.007835, allocations: 4 kB / 0.5554 GB, free: 18.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.008043, allocations: 107.8 kB / 0.5555 GB, free: 18.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.008048, allocations: 4 kB / 0.5555 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-05/0.008144, allocations: 28.27 kB / 0.5556 GB, free: 18.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.008159, allocations: 16 kB / 0.5556 GB, free: 18.58 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.0001073/0.008267, allocations: 219.6 kB / 0.5558 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.008294, allocations: 35.97 kB / 0.5558 GB, free: 18.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.008323, allocations: 30.91 kB / 0.5558 GB, free: 18.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.008325, allocations: 7.984 kB / 0.5559 GB, free: 18.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.008327, allocations: 0 / 0.5559 GB, free: 18.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.008331, allocations: 4 kB / 0.5559 GB, free: 18.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.008674, allocations: 0.5445 MB / 0.5564 GB, free: 17.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.008676, allocations: 0 / 0.5564 GB, free: 17.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.008847, allocations: 67.95 kB / 0.5565 GB, free: 17.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.008902, allocations: 35.8 kB / 0.5565 GB, free: 17.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.008904, allocations: 0 / 0.5565 GB, free: 17.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.00892, allocations: 11.98 kB / 0.5565 GB, free: 17.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.008923, allocations: 7.938 kB / 0.5565 GB, free: 17.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.008925, allocations: 7.938 kB / 0.5565 GB, free: 17.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.009189, allocations: 0.5273 MB / 0.557 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.009222, allocations: 16 kB / 0.557 GB, free: 16.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.009312, allocations: 15.98 kB / 0.5571 GB, free: 16.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.00936, allocations: 23.95 kB / 0.5571 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.009371, allocations: 8 kB / 0.5571 GB, free: 16.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.088e-05/0.009422, allocations: 86.7 kB / 0.5572 GB, free: 16.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009422, allocations: 0 / 0.5572 GB, free: 16.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001923/0.009615, allocations: 88 kB / 0.5573 GB, free: 16.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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.976e-05/0.009694, allocations: 112.1 kB / 0.5574 GB, free: 16.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.009917, allocations: 484.3 kB / 0.5578 GB, free: 16.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.009921, allocations: 0 / 0.5578 GB, free: 16.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.919e-05/0.01002, allocations: 278.2 kB / 0.5581 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.01029, allocations: 142 kB / 0.5582 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.02051, allocations: 0.7944 MB / 0.559 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.378e-05/0.02061, allocations: 164.3 kB / 0.5592 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.02084, allocations: 153.3 kB / 0.5593 GB, free: 14.45 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02084, allocations: 0 / 0.5593 GB, free: 14.45 MB / 410.7 MB Notification: Performance of Templates: time 0.2373/0.2581, allocations: 4.318 MB / 0.5635 GB, free: 84.2 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.441475517116487]