Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.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.0009174/0.0009174, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001634/0.002551, 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.0007282/0.0007282, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009368/0.001665, 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 0.9082/0.9082, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08836/0.9965, allocations: 53.66 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.7118/0.7118, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03536/0.7472, allocations: 21.04 MB / 0.5433 GB, free: 31.48 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.PKThreeCompartmentModel,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel") translateModel(Pharmacolibrary.Examples.PKThreeCompartmentModel,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.5446 GB, free: 30.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.605e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.17 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKThreeCompartmentModel): time 0.002398/0.002414, allocations: 2.825 MB / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007286/0.003143, allocations: 0.6894 MB / 0.548 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.531e-05/0.003228, allocations: 4 kB / 0.548 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.766e-05/0.003306, allocations: 39.52 kB / 0.5481 GB, free: 26.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.003456, allocations: 115.1 kB / 0.5482 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.003588, allocations: 79.83 kB / 0.5482 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.003855, allocations: 421.9 kB / 0.5486 GB, free: 25.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.003992, allocations: 58.86 kB / 0.5487 GB, free: 25.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.004194, allocations: 228.2 kB / 0.5489 GB, free: 25.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.004348, allocations: 123.7 kB / 0.549 GB, free: 25.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.004385, allocations: 28 kB / 0.5491 GB, free: 25.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.539e-05/0.004421, allocations: 28 kB / 0.5491 GB, free: 25.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.004461, allocations: 43.81 kB / 0.5491 GB, free: 25.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.976e-05/0.00454, allocations: 103.9 kB / 0.5492 GB, free: 25.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.004753, allocations: 215.2 kB / 0.5494 GB, free: 25.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/0.004767, allocations: 0 / 0.5494 GB, free: 25.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.004768, allocations: 0 / 0.5494 GB, free: 25.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.004778, allocations: 0 / 0.5494 GB, free: 25.18 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0007018/0.00548, allocations: 0.6424 MB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.005516, allocations: 15.89 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.005575, allocations: 44.91 kB / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.005757, allocations: 178.9 kB / 0.5503 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.005777, allocations: 24.81 kB / 0.5503 GB, free: 24.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.005813, allocations: 20.38 kB / 0.5503 GB, free: 24.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.006035, allocations: 257.7 kB / 0.5506 GB, free: 23.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.006052, allocations: 12.12 kB / 0.5506 GB, free: 23.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.006067, allocations: 12.38 kB / 0.5506 GB, free: 23.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.006074, allocations: 7.938 kB / 0.5506 GB, free: 23.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.006207, allocations: 186.5 kB / 0.5508 GB, free: 23.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.006716, allocations: 410.8 kB / 0.5512 GB, free: 23.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.006954, allocations: 223.8 kB / 0.5514 GB, free: 23.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.721e-05/0.007022, allocations: 138.2 kB / 0.5515 GB, free: 22.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.007034, allocations: 4 kB / 0.5515 GB, free: 22.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.007309, allocations: 434.4 kB / 0.5519 GB, free: 22.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 2.104e-06/0.007311, allocations: 0 / 0.5519 GB, free: 22.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009623/0.008273, allocations: 1.091 MB / 0.553 GB, free: 21.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.008344, allocations: 391.8 kB / 0.5534 GB, free: 20.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.008422, allocations: 167.4 kB / 0.5535 GB, free: 20.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.00844, allocations: 41.7 kB / 0.5536 GB, free: 20.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.008479, allocations: 128.8 kB / 0.5537 GB, free: 20.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.008536, allocations: 154.7 kB / 0.5539 GB, free: 20.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.008603, allocations: 86.14 kB / 0.5539 GB, free: 20.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.008645, allocations: 342.7 kB / 0.5543 GB, free: 19.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.008729, allocations: 188.9 kB / 0.5544 GB, free: 19.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.008841, allocations: 293.5 kB / 0.5547 GB, free: 19.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.009032, allocations: 433.5 kB / 0.5551 GB, free: 18.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.009035, allocations: 3.938 kB / 0.5551 GB, free: 18.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0002516/0.009286, allocations: 477.8 kB / 0.5556 GB, free: 18.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.009333, allocations: 125.9 kB / 0.5557 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.009339, allocations: 0 / 0.5557 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.009353, allocations: 8 kB / 0.5557 GB, free: 17.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.009603, allocations: 128.2 kB / 0.5558 GB, free: 17.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.009608, allocations: 7.938 kB / 0.5558 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.921e-05/0.009708, allocations: 23.98 kB / 0.5559 GB, free: 17.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.009723, allocations: 16 kB / 0.5559 GB, free: 17.82 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: 12 * Number of states: 0 () * Number of discrete variables: 29 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral2.rising,$PRE.peripheral2.rising,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,$whenCondition7,$whenCondition6,$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 (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 4 * 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.0001389/0.009862, allocations: 249.3 kB / 0.5561 GB, free: 17.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.009894, allocations: 35.97 kB / 0.5562 GB, free: 17.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.009933, allocations: 38.98 kB / 0.5562 GB, free: 17.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.009936, allocations: 4 kB / 0.5562 GB, free: 17.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.009939, allocations: 0 / 0.5562 GB, free: 17.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.009944, allocations: 0 / 0.5562 GB, free: 17.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.01048, allocations: 0.6397 MB / 0.5568 GB, free: 16.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.01048, allocations: 0 / 0.5568 GB, free: 16.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.01075, allocations: 91.06 kB / 0.5569 GB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.01078, allocations: 19.86 kB / 0.5569 GB, free: 16.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.01078, allocations: 7.922 kB / 0.5569 GB, free: 16.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.01081, allocations: 19.88 kB / 0.557 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01081, allocations: 0 / 0.557 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01081, allocations: 0 / 0.557 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.01123, allocations: 0.6853 MB / 0.5576 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.01127, allocations: 19.94 kB / 0.5576 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.01139, allocations: 15.98 kB / 0.5577 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.01146, allocations: 39.94 kB / 0.5577 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.01148, allocations: 12 kB / 0.5577 GB, free: 15.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.713e-05/0.01153, allocations: 54.7 kB / 0.5578 GB, free: 15.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01153, allocations: 0 / 0.5578 GB, free: 15.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.01182, allocations: 100 kB / 0.5579 GB, free: 15.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC,central.C,central.AUC,elim.MExc,peripheral2.C,peripheral2.AUC) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising,central.Cmax,central.Cmin,central.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 16 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition7,peripheral.Cmax,$whenCondition6,peripheral.rising,peripheral2.Cmin,$whenCondition3,peripheral2.Cmax,$whenCondition2,peripheral2.rising,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 3 * 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 9.318e-05/0.01191, allocations: 96.36 kB / 0.558 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003591/0.01227, allocations: 0.6445 MB / 0.5586 GB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.01228, allocations: 4 kB / 0.5586 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.01247, allocations: 392 kB / 0.559 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2207/0.2332, allocations: 436.7 kB / 0.5594 GB, free: 84.75 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00709/0.2403, allocations: 0.7564 MB / 0.5601 GB, free: 84.35 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.679e-05/0.2404, allocations: 98.88 kB / 0.5602 GB, free: 84.28 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.2405, allocations: 34.03 kB / 0.5602 GB, free: 84.27 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.2407, allocations: 154.6 kB / 0.5604 GB, free: 84.23 MB / 410.8 MB Notification: Performance of SimCode: time 1.222e-06/0.2407, allocations: 0.5938 kB / 0.5604 GB, free: 84.23 MB / 410.8 MB Notification: Performance of Templates: time 0.007223/0.2479, allocations: 5.343 MB / 0.5656 GB, free: 83.32 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3191570695489645]