Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.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.0006825/0.0006825, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008941/0.001577, 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.000693/0.000693, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009126/0.001606, 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.015/1.015, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09078/1.106, allocations: 53.66 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.8017/0.8017, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03233/0.834, allocations: 21.04 MB / 0.5431 GB, free: 31.94 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.DevModels.PKTwoCompartmentModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel") translateModel(Pharmacolibrary.DevModels.PKTwoCompartmentModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.866e-06/1.042e-05, allocations: 10.19 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.PKTwoCompartmentModel): time 0.001988/0.001998, allocations: 2.502 MB / 0.5468 GB, free: 28.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006679/0.002666, allocations: 0.6387 MB / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.002729, allocations: 4 kB / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.426e-05/0.002773, allocations: 23.72 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.002896, allocations: 87.25 kB / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.003007, allocations: 75.78 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.003208, allocations: 306.5 kB / 0.5479 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.003321, allocations: 53.72 kB / 0.548 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.003491, allocations: 197.5 kB / 0.5482 GB, free: 26.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.003599, allocations: 87.77 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.00363, allocations: 20 kB / 0.5483 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.406e-05/0.003654, allocations: 24 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.003686, allocations: 35.88 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.003753, allocations: 75.88 kB / 0.5484 GB, free: 26.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.003932, allocations: 171.4 kB / 0.5486 GB, free: 26.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.003948, allocations: 4 kB / 0.5486 GB, free: 26.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003949, allocations: 0 / 0.5486 GB, free: 26.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.003967, allocations: 0 / 0.5486 GB, free: 26.39 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005915/0.004558, allocations: 0.5463 MB / 0.5491 GB, free: 25.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.004588, allocations: 11.89 kB / 0.5491 GB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.004635, allocations: 28.92 kB / 0.5491 GB, free: 25.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.004784, allocations: 178.1 kB / 0.5493 GB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.004803, allocations: 12.38 kB / 0.5493 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.004829, allocations: 20.33 kB / 0.5493 GB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.004991, allocations: 204 kB / 0.5495 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.005003, allocations: 12.11 kB / 0.5495 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.005015, allocations: 8.125 kB / 0.5496 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.005021, allocations: 4 kB / 0.5496 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.005126, allocations: 131.1 kB / 0.5497 GB, free: 25.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.00552, allocations: 355.4 kB / 0.55 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.00572, allocations: 157.9 kB / 0.5502 GB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.72e-05/0.005767, allocations: 99.62 kB / 0.5503 GB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.005777, allocations: 4 kB / 0.5503 GB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.005951, allocations: 314.2 kB / 0.5506 GB, free: 24.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.005953, allocations: 0 / 0.5506 GB, free: 24.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006766/0.006629, allocations: 0.7895 MB / 0.5513 GB, free: 23.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.00667, allocations: 221.6 kB / 0.5516 GB, free: 23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.493e-05/0.006735, allocations: 161.2 kB / 0.5517 GB, free: 22.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.00675, allocations: 33.7 kB / 0.5517 GB, free: 22.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.006782, allocations: 120.9 kB / 0.5519 GB, free: 22.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.006826, allocations: 107.1 kB / 0.552 GB, free: 22.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.006879, allocations: 65.66 kB / 0.552 GB, free: 22.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.295e-05/0.006912, allocations: 338.7 kB / 0.5523 GB, free: 22.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.531e-05/0.006977, allocations: 143.3 kB / 0.5525 GB, free: 21.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.846e-05/0.007066, allocations: 219.2 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.007196, allocations: 291.8 kB / 0.553 GB, free: 21.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.007198, allocations: 3.938 kB / 0.553 GB, free: 21.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001763/0.007374, allocations: 363.4 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.007408, allocations: 89.09 kB / 0.5534 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.007416, allocations: 7.938 kB / 0.5534 GB, free: 20.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.007426, allocations: 4 kB / 0.5534 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.007618, allocations: 95.81 kB / 0.5535 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.007623, allocations: 4 kB / 0.5535 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.007701, allocations: 24.2 kB / 0.5535 GB, free: 20.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.007712, allocations: 8 kB / 0.5535 GB, free: 20.73 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: 21 (intestine.Cmin,$PRE.intestine.Cmin,intestine.Cmax,$PRE.intestine.Cmax,blood.Cmin,$PRE.blood.Cmin,blood.Cmax,$PRE.blood.Cmax,blood.rising,$PRE.blood.rising,intestine.rising,$PRE.intestine.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 (43): * Single equations (assignments): 40 * 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.0001097/0.007822, allocations: 199.8 kB / 0.5537 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.007847, allocations: 39.89 kB / 0.5538 GB, free: 20.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.007877, allocations: 22.66 kB / 0.5538 GB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.007879, allocations: 4 kB / 0.5538 GB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.007881, allocations: 0 / 0.5538 GB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.007888, allocations: 7.359 kB / 0.5538 GB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.008215, allocations: 0.4925 MB / 0.5543 GB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008217, allocations: 3.938 kB / 0.5543 GB, free: 19.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.008376, allocations: 71.39 kB / 0.5543 GB, free: 19.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.008394, allocations: 15.86 kB / 0.5544 GB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.008397, allocations: 7.984 kB / 0.5544 GB, free: 19.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.00841, allocations: 8 kB / 0.5544 GB, free: 19.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.008412, allocations: 0 / 0.5544 GB, free: 19.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008413, allocations: 0 / 0.5544 GB, free: 19.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.008649, allocations: 0.5102 MB / 0.5549 GB, free: 19.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.008675, allocations: 8 kB / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.008753, allocations: 15.98 kB / 0.5549 GB, free: 19.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.008801, allocations: 27.89 kB / 0.5549 GB, free: 19.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.008811, allocations: 12 kB / 0.5549 GB, free: 19.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.664e-05/0.008838, allocations: 41.03 kB / 0.555 GB, free: 19.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008838, allocations: 0 / 0.555 GB, free: 19.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.009011, allocations: 72 kB / 0.555 GB, free: 19.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (periodicDose.TotalCumulativeMass,intestine.C,intestine.AUC,blood.C,blood.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,periodicDose.pulse.T_start,periodicDose.pulse.count,intestine.Cmax,intestine.Cmin,intestine.rising,blood.Cmax,blood.Cmin,blood.rising) * Number of discrete states: 11 (periodicDose.pulse.count,blood.Cmin,$whenCondition3,blood.Cmax,$whenCondition2,blood.rising,intestine.Cmin,$whenCondition5,intestine.Cmax,$whenCondition4,intestine.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 6.591e-05/0.009077, allocations: 100.4 kB / 0.5551 GB, free: 18.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.009282, allocations: 460.7 kB / 0.5556 GB, free: 18.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.00929, allocations: 4 kB / 0.5556 GB, free: 18.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.125e-05/0.009382, allocations: 262.8 kB / 0.5558 GB, free: 18.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.009599, allocations: 90.83 kB / 0.5559 GB, free: 18.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.01521, allocations: 0.629 MB / 0.5565 GB, free: 17.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.27e-05/0.01525, allocations: 88.92 kB / 0.5566 GB, free: 17.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.688e-05/0.01531, allocations: 21.95 kB / 0.5566 GB, free: 17.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.01544, allocations: 123.3 kB / 0.5568 GB, free: 17.14 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01544, allocations: 0 / 0.5568 GB, free: 17.14 MB / 410.7 MB Notification: Performance of Templates: time 0.2465/0.2619, allocations: 3.968 MB / 0.5606 GB, free: 84.93 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.658224742859602]