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.0008494/0.0008494, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.001952, 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.0007125/0.0007125, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009046/0.001617, 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.06/1.06, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1335/1.194, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.925/0.925, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0485/0.9735, allocations: 21.03 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.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 2.795e-06/2.795e-06, allocations: 0 / 0.5444 GB, free: 30.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.859e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKTwoCompartmentModel): time 0.003202/0.003231, allocations: 2.506 MB / 0.5469 GB, free: 28.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.004405, allocations: 0.6231 MB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.004517, allocations: 4 kB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.557e-05/0.004602, allocations: 27.7 kB / 0.5475 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.004808, allocations: 87.27 kB / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.005007, allocations: 59.86 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.005309, allocations: 302.6 kB / 0.5479 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.005488, allocations: 62.38 kB / 0.548 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.005751, allocations: 181.6 kB / 0.5482 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.005926, allocations: 91.77 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.005974, allocations: 20 kB / 0.5483 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.162e-05/0.006006, allocations: 24 kB / 0.5483 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.00605, allocations: 35.86 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.086e-05/0.006141, allocations: 71.88 kB / 0.5484 GB, free: 26.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.006398, allocations: 163.5 kB / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.348e-05/0.006422, allocations: 0 / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.006423, allocations: 0 / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.42e-05/0.006447, allocations: 0 / 0.5485 GB, free: 26.44 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.000906/0.007353, allocations: 0.5352 MB / 0.5491 GB, free: 25.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.007401, allocations: 11.89 kB / 0.5491 GB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.014e-05/0.007471, allocations: 36.84 kB / 0.5491 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.00772, allocations: 172.8 kB / 0.5493 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.00775, allocations: 12.7 kB / 0.5493 GB, free: 25.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.00779, allocations: 20.33 kB / 0.5493 GB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.008036, allocations: 187.1 kB / 0.5495 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.008049, allocations: 8.188 kB / 0.5495 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.008065, allocations: 4.375 kB / 0.5495 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.008075, allocations: 7.938 kB / 0.5495 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.00821, allocations: 135.8 kB / 0.5496 GB, free: 25.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.008755, allocations: 336.5 kB / 0.55 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.009017, allocations: 157.2 kB / 0.5501 GB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/0.009081, allocations: 100.2 kB / 0.5502 GB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.009098, allocations: 4 kB / 0.5502 GB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.009375, allocations: 318.2 kB / 0.5505 GB, free: 24.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 3.136e-06/0.009378, allocations: 0 / 0.5505 GB, free: 24.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001098/0.01048, allocations: 0.7857 MB / 0.5513 GB, free: 23.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.01059, allocations: 221.6 kB / 0.5515 GB, free: 23.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.01072, allocations: 166.8 kB / 0.5516 GB, free: 22.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.01074, allocations: 33.7 kB / 0.5517 GB, free: 22.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.0108, allocations: 120.5 kB / 0.5518 GB, free: 22.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.01087, allocations: 103.1 kB / 0.5519 GB, free: 22.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.01094, allocations: 68.19 kB / 0.552 GB, free: 22.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.01105, allocations: 342.7 kB / 0.5523 GB, free: 22.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.624e-05/0.01115, allocations: 139.4 kB / 0.5524 GB, free: 22.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.0113, allocations: 234.2 kB / 0.5526 GB, free: 21.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.01152, allocations: 300.5 kB / 0.5529 GB, free: 21.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01152, allocations: 4 kB / 0.5529 GB, free: 21.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003128/0.01183, allocations: 363.3 kB / 0.5533 GB, free: 21.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/0.01191, allocations: 93.09 kB / 0.5534 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.01192, allocations: 0 / 0.5534 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.01193, allocations: 7.938 kB / 0.5534 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.01218, allocations: 95.88 kB / 0.5535 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.01219, allocations: 8.188 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.071e-05/0.01228, allocations: 19.98 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.0123, allocations: 12 kB / 0.5535 GB, free: 20.79 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.0002133/0.01251, allocations: 199.2 kB / 0.5537 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.01255, allocations: 31.97 kB / 0.5537 GB, free: 20.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.0126, allocations: 22.59 kB / 0.5537 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.01261, allocations: 4 kB / 0.5537 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01261, allocations: 0 / 0.5537 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.01262, allocations: 7.984 kB / 0.5538 GB, free: 20.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.0131, allocations: 0.4957 MB / 0.5542 GB, free: 19.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01311, allocations: 0 / 0.5542 GB, free: 19.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.0133, allocations: 75.81 kB / 0.5543 GB, free: 19.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.01332, allocations: 11.91 kB / 0.5543 GB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.01333, allocations: 4 kB / 0.5543 GB, free: 19.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.01335, allocations: 8 kB / 0.5543 GB, free: 19.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01335, allocations: 0 / 0.5543 GB, free: 19.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01335, allocations: 4 kB / 0.5543 GB, free: 19.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.0138, allocations: 0.507 MB / 0.5548 GB, free: 19.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.01384, allocations: 15.98 kB / 0.5548 GB, free: 19.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.01393, allocations: 16 kB / 0.5549 GB, free: 19.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.01401, allocations: 27.95 kB / 0.5549 GB, free: 19.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.01402, allocations: 7.984 kB / 0.5549 GB, free: 19.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.397e-05/0.01407, allocations: 45.52 kB / 0.5549 GB, free: 19.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01407, allocations: 0 / 0.5549 GB, free: 19.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.01429, allocations: 75.94 kB / 0.555 GB, free: 19.12 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 0.0001188/0.01441, allocations: 104.1 kB / 0.5551 GB, free: 19.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003747/0.01478, allocations: 469.7 kB / 0.5556 GB, free: 18.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/0.01479, allocations: 11.92 kB / 0.5556 GB, free: 18.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.01494, allocations: 258.7 kB / 0.5558 GB, free: 18.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.01522, allocations: 95.77 kB / 0.5559 GB, free: 18.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00563/0.02085, allocations: 0.6212 MB / 0.5565 GB, free: 17.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.281e-05/0.02092, allocations: 88.92 kB / 0.5566 GB, free: 17.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.02103, allocations: 21.95 kB / 0.5566 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.02121, allocations: 127.3 kB / 0.5567 GB, free: 17.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.02121, allocations: 0 / 0.5567 GB, free: 17.18 MB / 410.7 MB Notification: Performance of Templates: time 0.3796/0.4008, allocations: 4.017 MB / 0.5607 GB, free: 84.95 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: 4.684059850871563]