Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_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.001028/0.001028, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002371, allocations: 443.9 kB / 10.36 MB, free: 332 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.001069/0.001069, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002459, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9757/0.9757, allocations: 177.2 MB / 189.6 MB, free: 5.285 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09408/1.07, allocations: 53.66 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.8679/0.8679, allocations: 291.1 MB / 0.5226 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.032/0.8999, allocations: 21.05 MB / 0.5431 GB, free: 31.78 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_Jayachandran2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.5445 GB, free: 30.37 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.303e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference): time 0.002346/0.002359, allocations: 3.327 MB / 0.5478 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007913/0.00315, allocations: 0.7339 MB / 0.5485 GB, free: 26.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.025e-05/0.003241, allocations: 4 kB / 0.5485 GB, free: 26.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.438e-05/0.003315, allocations: 47.48 kB / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.003472, allocations: 127 kB / 0.5487 GB, free: 26.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.003604, allocations: 87.84 kB / 0.5488 GB, free: 26.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.003838, allocations: 433.8 kB / 0.5492 GB, free: 25.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.003968, allocations: 71.36 kB / 0.5492 GB, free: 25.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.00419, allocations: 266.5 kB / 0.5495 GB, free: 25.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.00437, allocations: 127.6 kB / 0.5496 GB, free: 25.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.004407, allocations: 32 kB / 0.5497 GB, free: 25.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.102e-05/0.004438, allocations: 32 kB / 0.5497 GB, free: 25.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.004475, allocations: 51.8 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.389e-05/0.004559, allocations: 103.8 kB / 0.5498 GB, free: 24.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.004755, allocations: 223.3 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.004765, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004766, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.004779, allocations: 0 / 0.55 GB, free: 24.7 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.0006288/0.005408, allocations: 0.6473 MB / 0.5507 GB, free: 24.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.00544, allocations: 11.89 kB / 0.5507 GB, free: 24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.005493, allocations: 40.91 kB / 0.5507 GB, free: 23.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.005663, allocations: 201.5 kB / 0.5509 GB, free: 23.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.005683, allocations: 24.86 kB / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.005711, allocations: 24.33 kB / 0.551 GB, free: 23.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.005907, allocations: 246.2 kB / 0.5512 GB, free: 23.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.005919, allocations: 0 / 0.5512 GB, free: 23.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.005933, allocations: 12 kB / 0.5512 GB, free: 23.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.005939, allocations: 4 kB / 0.5512 GB, free: 23.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.006048, allocations: 138.5 kB / 0.5514 GB, free: 23.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.00657, allocations: 477.9 kB / 0.5518 GB, free: 22.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.006766, allocations: 174.9 kB / 0.552 GB, free: 22.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.006821, allocations: 107.1 kB / 0.5521 GB, free: 22.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.006831, allocations: 7.938 kB / 0.5521 GB, free: 22.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.007007, allocations: 334.6 kB / 0.5524 GB, free: 22.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.724e-06/0.007009, allocations: 0 / 0.5524 GB, free: 22.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007429/0.007751, allocations: 0.8384 MB / 0.5532 GB, free: 21.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.007801, allocations: 277 kB / 0.5535 GB, free: 20.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.007909, allocations: 233 kB / 0.5537 GB, free: 20.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.007924, allocations: 33.7 kB / 0.5537 GB, free: 20.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.007967, allocations: 133.3 kB / 0.5539 GB, free: 20.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.008016, allocations: 123 kB / 0.554 GB, free: 20.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.008084, allocations: 78.09 kB / 0.5541 GB, free: 20.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.594e-05/0.008129, allocations: 346.8 kB / 0.5544 GB, free: 19.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/0.008221, allocations: 151.8 kB / 0.5545 GB, free: 19.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.008316, allocations: 246.9 kB / 0.5548 GB, free: 19.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.008476, allocations: 342.3 kB / 0.5551 GB, free: 18.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008478, allocations: 0 / 0.5551 GB, free: 18.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002172/0.008695, allocations: 388.5 kB / 0.5555 GB, free: 18.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.008737, allocations: 93.44 kB / 0.5556 GB, free: 18.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.008743, allocations: 4 kB / 0.5556 GB, free: 18.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.008757, allocations: 4 kB / 0.5556 GB, free: 18.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.008979, allocations: 107.9 kB / 0.5557 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.008986, allocations: 7.938 kB / 0.5557 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.672e-05/0.009083, allocations: 19.98 kB / 0.5557 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.0091, allocations: 16 kB / 0.5557 GB, free: 18.3 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.0001329/0.009233, allocations: 215.7 kB / 0.5559 GB, free: 18.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.009264, allocations: 35.97 kB / 0.5559 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.009298, allocations: 38.88 kB / 0.556 GB, free: 17.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.009303, allocations: 0 / 0.556 GB, free: 17.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.009304, allocations: 4 kB / 0.556 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.009363, allocations: 35.8 kB / 0.556 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.009378, allocations: 11.31 kB / 0.556 GB, free: 17.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.009411, allocations: 15.94 kB / 0.556 GB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.009481, allocations: 23.92 kB / 0.5561 GB, free: 17.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.009533, allocations: 27.95 kB / 0.5561 GB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002794/0.009813, allocations: 393.2 kB / 0.5565 GB, free: 17.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003064/0.01012, allocations: 0.5984 MB / 0.5571 GB, free: 16.81 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.497e-05/0.0102, allocations: 151.9 kB / 0.5572 GB, free: 16.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.144e-05/0.01026, allocations: 82.77 kB / 0.5573 GB, free: 16.57 MB / 410.7 MB Notification: Performance of Backend: time 1.8e-07/0.01026, allocations: 4 kB / 0.5573 GB, free: 16.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.01059, allocations: 472.5 kB / 0.5577 GB, free: 16.04 MB / 410.7 MB Notification: Performance of SimCode: time 0.007497/0.01808, allocations: 1.371 MB / 0.5591 GB, free: 14.59 MB / 410.7 MB Notification: Performance of Templates: time 0.2811/0.2992, allocations: 5.528 MB / 0.5645 GB, free: 82.24 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Jayachandran2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.944000441581011]