Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.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.0007735/0.0007735, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001131/0.001904, 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.001114/0.001114, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002439, 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.041/1.041, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09591/1.136, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.82/0.82, allocations: 291.1 MB / 0.5227 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02924/0.8493, allocations: 21.05 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.Pharmacokinetic.Models.PK_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.5446 GB, free: 30.15 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.092e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_2C): time 0.003583/0.003603, allocations: 2.845 MB / 0.5474 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.004892, allocations: 0.7057 MB / 0.5481 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.005015, allocations: 7.938 kB / 0.5481 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.514e-05/0.0051, allocations: 35.64 kB / 0.5481 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.005342, allocations: 123 kB / 0.5482 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.005536, allocations: 79.77 kB / 0.5483 GB, free: 26.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.005875, allocations: 386 kB / 0.5487 GB, free: 25.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.006003, allocations: 66.84 kB / 0.5487 GB, free: 25.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.006313, allocations: 241.5 kB / 0.549 GB, free: 25.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.006524, allocations: 123.6 kB / 0.5491 GB, free: 25.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.006563, allocations: 32 kB / 0.5491 GB, free: 25.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.835e-05/0.006612, allocations: 24 kB / 0.5491 GB, free: 25.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.006651, allocations: 43.8 kB / 0.5492 GB, free: 25.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.937e-05/0.00675, allocations: 91.88 kB / 0.5493 GB, free: 25.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.006984, allocations: 195.2 kB / 0.5495 GB, free: 25.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.006993, allocations: 0 / 0.5495 GB, free: 25.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006994, allocations: 0 / 0.5495 GB, free: 25.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.007002, allocations: 0 / 0.5495 GB, free: 25.15 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006746/0.007677, allocations: 0.6283 MB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.007707, allocations: 11.89 kB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.535e-05/0.007782, allocations: 40.22 kB / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.008054, allocations: 189.5 kB / 0.5503 GB, free: 24.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.008095, allocations: 24.73 kB / 0.5503 GB, free: 24.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.008135, allocations: 20.36 kB / 0.5503 GB, free: 24.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.008401, allocations: 247.6 kB / 0.5506 GB, free: 23.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.008413, allocations: 4 kB / 0.5506 GB, free: 23.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.008425, allocations: 7.938 kB / 0.5506 GB, free: 23.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.008432, allocations: 12 kB / 0.5506 GB, free: 23.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.008541, allocations: 129.8 kB / 0.5507 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.00912, allocations: 0.5155 MB / 0.5512 GB, free: 23.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.009304, allocations: 162.1 kB / 0.5514 GB, free: 23.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.961e-05/0.009354, allocations: 100.5 kB / 0.5515 GB, free: 22.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.009364, allocations: 7.938 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.009535, allocations: 317.3 kB / 0.5518 GB, free: 22.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.009536, allocations: 0 / 0.5518 GB, free: 22.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006653/0.0102, allocations: 0.8234 MB / 0.5526 GB, free: 21.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.01025, allocations: 273 kB / 0.5529 GB, free: 21.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.01035, allocations: 225 kB / 0.5531 GB, free: 21.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.01037, allocations: 37.7 kB / 0.5531 GB, free: 21.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.0104, allocations: 133.3 kB / 0.5532 GB, free: 20.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.01044, allocations: 111.1 kB / 0.5533 GB, free: 20.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.0105, allocations: 74.16 kB / 0.5534 GB, free: 20.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.72e-05/0.01054, allocations: 350.7 kB / 0.5537 GB, free: 20.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.0106, allocations: 155.8 kB / 0.5539 GB, free: 20.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.323e-05/0.01068, allocations: 251.1 kB / 0.5541 GB, free: 19.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.01083, allocations: 341.3 kB / 0.5545 GB, free: 19.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.01083, allocations: 0 / 0.5545 GB, free: 19.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002072/0.01104, allocations: 387.2 kB / 0.5548 GB, free: 19.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.01108, allocations: 97.09 kB / 0.5549 GB, free: 18.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01108, allocations: 0 / 0.5549 GB, free: 18.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.01109, allocations: 4 kB / 0.5549 GB, free: 18.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.01133, allocations: 112.2 kB / 0.555 GB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01133, allocations: 4 kB / 0.555 GB, free: 18.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-05/0.01143, allocations: 16 kB / 0.5551 GB, free: 18.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.01144, allocations: 19.11 kB / 0.5551 GB, free: 18.8 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: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0001293/0.01157, allocations: 211 kB / 0.5553 GB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.0116, allocations: 35.97 kB / 0.5553 GB, free: 18.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.01164, allocations: 34.95 kB / 0.5553 GB, free: 18.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01164, allocations: 4 kB / 0.5553 GB, free: 18.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01164, allocations: 0 / 0.5553 GB, free: 18.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01165, allocations: 7.922 kB / 0.5553 GB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.01201, allocations: 0.5142 MB / 0.5559 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01201, allocations: 0 / 0.5559 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.01218, allocations: 64.55 kB / 0.5559 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.01221, allocations: 27.81 kB / 0.5559 GB, free: 17.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.01221, allocations: 8 kB / 0.5559 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.01223, allocations: 11.98 kB / 0.556 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01223, allocations: 3.938 kB / 0.556 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01223, allocations: 0 / 0.556 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.01251, allocations: 0.5125 MB / 0.5565 GB, free: 17.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.01254, allocations: 12 kB / 0.5565 GB, free: 17.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.01262, allocations: 15.98 kB / 0.5565 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.01268, allocations: 32.06 kB / 0.5565 GB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.01269, allocations: 8 kB / 0.5565 GB, free: 17.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.01274, allocations: 82.77 kB / 0.5566 GB, free: 17.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01274, allocations: 4 kB / 0.5566 GB, free: 17.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000179/0.01292, allocations: 84 kB / 0.5567 GB, free: 17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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 9.029e-05/0.01301, allocations: 96.17 kB / 0.5568 GB, free: 16.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.01325, allocations: 497.4 kB / 0.5573 GB, free: 16.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.01326, allocations: 8.281 kB / 0.5573 GB, free: 16.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.01337, allocations: 278.9 kB / 0.5575 GB, free: 16.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.01374, allocations: 0.6592 MB / 0.5582 GB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007309/0.02105, allocations: 0.7223 MB / 0.5589 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.863e-05/0.02109, allocations: 93.12 kB / 0.559 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.011e-05/0.02118, allocations: 34.95 kB / 0.559 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2574/0.2785, allocations: 149.2 kB / 0.5591 GB, free: 83.31 MB / 410.8 MB Notification: Performance of SimCode: time 1.392e-06/0.2785, allocations: 2.688 kB / 0.5591 GB, free: 83.31 MB / 410.8 MB Notification: Performance of Templates: time 0.00838/0.2869, allocations: 5.238 MB / 0.5643 GB, free: 82.67 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.74034003354609]