Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.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.0006326/0.0006326, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008785/0.001511, allocations: 440 kB / 10.41 MB, free: 284 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.0006452/0.0006452, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008442/0.001489, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.026/1.026, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08314/1.11, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7066/0.7066, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03755/0.7441, allocations: 21.05 MB / 0.5433 GB, free: 31.49 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.Examples.PKTwoCompartmentModel,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel") translateModel(Pharmacolibrary.Examples.PKTwoCompartmentModel,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5446 GB, free: 30.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.284e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.17 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKTwoCompartmentModel): time 0.003212/0.003235, allocations: 2.494 MB / 0.547 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006817/0.003916, allocations: 0.631 MB / 0.5476 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.003986, allocations: 4 kB / 0.5476 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.872e-05/0.004064, allocations: 23.72 kB / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.004192, allocations: 91.25 kB / 0.5477 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.004303, allocations: 63.8 kB / 0.5478 GB, free: 26.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.004503, allocations: 310.5 kB / 0.5481 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.004611, allocations: 46.47 kB / 0.5481 GB, free: 26.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.004773, allocations: 189.6 kB / 0.5483 GB, free: 26.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.00489, allocations: 91.72 kB / 0.5484 GB, free: 26.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.004921, allocations: 20 kB / 0.5484 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.577e-05/0.004947, allocations: 24 kB / 0.5485 GB, free: 26.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.004981, allocations: 31.88 kB / 0.5485 GB, free: 26.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.005039, allocations: 71.88 kB / 0.5486 GB, free: 26.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.00521, allocations: 163.4 kB / 0.5487 GB, free: 25.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.005222, allocations: 0 / 0.5487 GB, free: 25.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005223, allocations: 4 kB / 0.5487 GB, free: 25.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.005231, allocations: 0 / 0.5487 GB, free: 25.92 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005435/0.005774, allocations: 0.5391 MB / 0.5492 GB, free: 25.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.005804, allocations: 11.89 kB / 0.5493 GB, free: 25.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.005852, allocations: 28.92 kB / 0.5493 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.005997, allocations: 162.9 kB / 0.5494 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.006013, allocations: 12.7 kB / 0.5495 GB, free: 25.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.006041, allocations: 32.31 kB / 0.5495 GB, free: 25.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.006205, allocations: 183.2 kB / 0.5497 GB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.006215, allocations: 4.188 kB / 0.5497 GB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.006227, allocations: 8.375 kB / 0.5497 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.006233, allocations: 7.938 kB / 0.5497 GB, free: 24.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.343e-05/0.006327, allocations: 135.7 kB / 0.5498 GB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.006695, allocations: 324.5 kB / 0.5501 GB, free: 24.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.006867, allocations: 157.9 kB / 0.5503 GB, free: 24.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.006913, allocations: 107.3 kB / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.006924, allocations: 4 kB / 0.5504 GB, free: 24.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.007094, allocations: 310.3 kB / 0.5507 GB, free: 23.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.007096, allocations: 0 / 0.5507 GB, free: 23.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.000651/0.007747, allocations: 0.8069 MB / 0.5515 GB, free: 22.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.007795, allocations: 281 kB / 0.5517 GB, free: 22.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.496e-05/0.00786, allocations: 162.8 kB / 0.5519 GB, free: 22.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.007876, allocations: 37.7 kB / 0.5519 GB, free: 22.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.007905, allocations: 116.5 kB / 0.552 GB, free: 22.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.007946, allocations: 111.1 kB / 0.5521 GB, free: 22.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.007999, allocations: 68.17 kB / 0.5522 GB, free: 21.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.008039, allocations: 338.8 kB / 0.5525 GB, free: 21.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.328e-05/0.008103, allocations: 135.4 kB / 0.5526 GB, free: 21.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/0.008183, allocations: 230.3 kB / 0.5529 GB, free: 21.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.008309, allocations: 304.5 kB / 0.5532 GB, free: 20.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.00831, allocations: 0 / 0.5532 GB, free: 20.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000184/0.008494, allocations: 371.3 kB / 0.5535 GB, free: 20.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.00853, allocations: 89.09 kB / 0.5536 GB, free: 20.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.008535, allocations: 4 kB / 0.5536 GB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.008546, allocations: 7.938 kB / 0.5536 GB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.008729, allocations: 87.89 kB / 0.5537 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.008734, allocations: 7.984 kB / 0.5537 GB, free: 20.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.008815, allocations: 20.25 kB / 0.5537 GB, free: 20.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.008828, allocations: 12 kB / 0.5537 GB, free: 20.21 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: 9 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,central.rising,$PRE.central.rising,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,$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 (44): * Single equations (assignments): 41 * 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.000103/0.008931, allocations: 207.1 kB / 0.5539 GB, free: 19.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.008955, allocations: 27.98 kB / 0.554 GB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.008989, allocations: 34.58 kB / 0.554 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.008991, allocations: 4 kB / 0.554 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.008992, allocations: 0 / 0.554 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.008997, allocations: 3.188 kB / 0.554 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.009308, allocations: 0.4984 MB / 0.5545 GB, free: 19.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.009309, allocations: 0 / 0.5545 GB, free: 19.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.009458, allocations: 63.83 kB / 0.5545 GB, free: 19.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.009473, allocations: 15.91 kB / 0.5546 GB, free: 19.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.009475, allocations: 0 / 0.5546 GB, free: 19.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.00949, allocations: 15.98 kB / 0.5546 GB, free: 19.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.009491, allocations: 0 / 0.5546 GB, free: 19.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009492, allocations: 4 kB / 0.5546 GB, free: 19.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.009724, allocations: 0.519 MB / 0.5551 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.009749, allocations: 12 kB / 0.5551 GB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.009823, allocations: 15.98 kB / 0.5551 GB, free: 18.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.00987, allocations: 23.95 kB / 0.5551 GB, free: 18.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.00988, allocations: 8 kB / 0.5551 GB, free: 18.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.395e-05/0.009914, allocations: 45.27 kB / 0.5552 GB, free: 18.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009914, allocations: 0 / 0.5552 GB, free: 18.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001683/0.01008, allocations: 72 kB / 0.5553 GB, free: 18.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC,central.C,central.AUC,elim.MExc) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition5,peripheral.Cmax,$whenCondition4,peripheral.rising,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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.425e-05/0.01016, allocations: 104.3 kB / 0.5554 GB, free: 18.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.01036, allocations: 468.3 kB / 0.5558 GB, free: 17.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.01036, allocations: 0 / 0.5558 GB, free: 17.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.01047, allocations: 278.4 kB / 0.5561 GB, free: 17.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.01072, allocations: 343.1 kB / 0.5564 GB, free: 17.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005535/0.01625, allocations: 0.6095 MB / 0.557 GB, free: 16.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.314e-05/0.01629, allocations: 88.92 kB / 0.5571 GB, free: 16.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.994e-05/0.01637, allocations: 22.3 kB / 0.5571 GB, free: 16.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.01654, allocations: 123.3 kB / 0.5572 GB, free: 16.29 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01654, allocations: 0 / 0.5572 GB, free: 16.29 MB / 410.7 MB Notification: Performance of Templates: time 0.2656/0.2822, allocations: 4.061 MB / 0.5612 GB, free: 84.76 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4070331091061234]