Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.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.0007133/0.0007133, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009312/0.001645, allocations: 455.9 kB / 10.35 MB, free: 348 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.0007211/0.0007211, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008924/0.001613, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.951/0.951, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07526/1.026, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.6794/0.6794, allocations: 291.2 MB / 0.5227 GB, free: 52.69 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02433/0.7038, allocations: 21.05 MB / 0.5433 GB, free: 31.7 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.Propofol.Paedfusor,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor") translateModel(Pharmacolibrary.Examples.Propofol.Paedfusor,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5445 GB, free: 30.41 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.68e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.4 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Paedfusor): time 0.001984/0.002001, allocations: 2.68 MB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004832/0.002484, allocations: 314.9 kB / 0.5475 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.002559, allocations: 4 kB / 0.5475 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.408e-05/0.002624, allocations: 31.64 kB / 0.5475 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.002787, allocations: 115.1 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.542e-05/0.002873, allocations: 59.91 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.003094, allocations: 374.2 kB / 0.548 GB, free: 26.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.003209, allocations: 62.73 kB / 0.5481 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.003385, allocations: 240 kB / 0.5483 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.003511, allocations: 119.7 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.003543, allocations: 27.94 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.125e-05/0.003575, allocations: 24 kB / 0.5485 GB, free: 26.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.003603, allocations: 39.86 kB / 0.5485 GB, free: 26.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.003675, allocations: 87.81 kB / 0.5486 GB, free: 26.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.003839, allocations: 187.3 kB / 0.5488 GB, free: 26.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.003849, allocations: 0 / 0.5488 GB, free: 26.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00385, allocations: 4 kB / 0.5488 GB, free: 26.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.003863, allocations: 7.922 kB / 0.5488 GB, free: 26.05 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005957/0.004458, allocations: 0.593 MB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.576e-05/0.004484, allocations: 12.03 kB / 0.5494 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.004533, allocations: 36.91 kB / 0.5494 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.004706, allocations: 202 kB / 0.5496 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.004725, allocations: 16.88 kB / 0.5496 GB, free: 25.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.004755, allocations: 24.38 kB / 0.5496 GB, free: 25.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.004919, allocations: 241.7 kB / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.004931, allocations: 192 / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.004943, allocations: 8.375 kB / 0.5499 GB, free: 24.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.004949, allocations: 4.375 kB / 0.5499 GB, free: 24.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.005056, allocations: 190.4 kB / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.005472, allocations: 382 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.005671, allocations: 201.3 kB / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.485e-05/0.005726, allocations: 138.2 kB / 0.5507 GB, free: 23.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.005736, allocations: 4 kB / 0.5508 GB, free: 23.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.0059, allocations: 417 kB / 0.5511 GB, free: 23.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.063e-06/0.005902, allocations: 0 / 0.5511 GB, free: 23.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007883/0.00669, allocations: 1.093 MB / 0.5522 GB, free: 22.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.006742, allocations: 383.8 kB / 0.5526 GB, free: 21.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.006826, allocations: 195.6 kB / 0.5528 GB, free: 21.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.006839, allocations: 37.7 kB / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.066e-05/0.00686, allocations: 116.9 kB / 0.5529 GB, free: 21.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.006915, allocations: 146.8 kB / 0.5531 GB, free: 21.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.006973, allocations: 78.16 kB / 0.5531 GB, free: 21.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.215e-05/0.007005, allocations: 346.7 kB / 0.5535 GB, free: 20.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-05/0.007071, allocations: 151.9 kB / 0.5536 GB, free: 20.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.77e-05/0.007148, allocations: 228.3 kB / 0.5538 GB, free: 20.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.007336, allocations: 0.5049 MB / 0.5543 GB, free: 19.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007338, allocations: 0 / 0.5543 GB, free: 19.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002043/0.007543, allocations: 415.3 kB / 0.5547 GB, free: 19.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.007574, allocations: 89.09 kB / 0.5548 GB, free: 19.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.007579, allocations: 352 / 0.5548 GB, free: 19.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.007589, allocations: 15.94 kB / 0.5548 GB, free: 19.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.007842, allocations: 125.8 kB / 0.5549 GB, free: 19.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.007848, allocations: 11.92 kB / 0.5549 GB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.408e-05/0.007942, allocations: 19.38 kB / 0.555 GB, free: 19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.007956, allocations: 16 kB / 0.555 GB, free: 18.99 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: infusion_source.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Ce:VARIABLE(start = 0.0 fixed = true ) \"Effect site concentration\" 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: 24 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral1.Cmin,$PRE.peripheral1.Cmin,peripheral1.Cmax,$PRE.peripheral1.Cmax,peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral2.rising,$PRE.peripheral2.rising,peripheral1.rising,$PRE.peripheral1.rising,central.rising,$PRE.central.rising,$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 (57): * Single equations (assignments): 54 * 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.0001209/0.008077, allocations: 248.7 kB / 0.5552 GB, free: 18.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.008107, allocations: 43.91 kB / 0.5553 GB, free: 18.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.008137, allocations: 30.98 kB / 0.5553 GB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.008139, allocations: 4 kB / 0.5553 GB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.008142, allocations: 0 / 0.5553 GB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.008146, allocations: 3.938 kB / 0.5553 GB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.008529, allocations: 0.6265 MB / 0.5559 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.00853, allocations: 4 kB / 0.5559 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.008745, allocations: 87.92 kB / 0.556 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.00877, allocations: 23.81 kB / 0.556 GB, free: 17.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008772, allocations: 0 / 0.556 GB, free: 17.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.008789, allocations: 23.92 kB / 0.556 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.008791, allocations: 4 kB / 0.556 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008792, allocations: 0 / 0.556 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.009088, allocations: 0.678 MB / 0.5567 GB, free: 17.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.009119, allocations: 12 kB / 0.5567 GB, free: 17.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.009207, allocations: 19.98 kB / 0.5567 GB, free: 17.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.009257, allocations: 23.95 kB / 0.5568 GB, free: 17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.009269, allocations: 15.05 kB / 0.5568 GB, free: 16.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.581e-05/0.009315, allocations: 61.81 kB / 0.5568 GB, free: 16.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009315, allocations: 8 kB / 0.5568 GB, free: 16.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001901/0.009505, allocations: 88 kB / 0.5569 GB, free: 16.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (central.C,central.AUC,peripheral1.C,peripheral1.AUC,peripheral2.C,peripheral2.AUC,elim.MExc,infusion_source.TotalCumulativeMass,Ce) * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,central.Cmax,central.Cmin,central.rising,peripheral1.Cmax,peripheral1.Cmin,peripheral1.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 15 (peripheral1.Cmin,$whenCondition4,peripheral1.Cmax,$whenCondition3,peripheral1.rising,peripheral2.Cmin,$whenCondition2,peripheral2.Cmax,$whenCondition1,peripheral2.rising,central.Cmin,$whenCondition6,central.Cmax,$whenCondition5,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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 Backend phase and start with SimCode phase: time 7.493e-05/0.00958, allocations: 105.7 kB / 0.557 GB, free: 16.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.009808, allocations: 0.534 MB / 0.5575 GB, free: 16.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/0.009817, allocations: 4 kB / 0.5575 GB, free: 16.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.009938, allocations: 400.5 kB / 0.5579 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.01018, allocations: 115.8 kB / 0.558 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006078/0.01625, allocations: 0.7393 MB / 0.5588 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.811e-05/0.01629, allocations: 93.12 kB / 0.5589 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.0164, allocations: 42.95 kB / 0.5589 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.01656, allocations: 147.3 kB / 0.559 GB, free: 14.47 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01657, allocations: 0 / 0.559 GB, free: 14.47 MB / 410.7 MB Notification: Performance of Templates: time 0.2089/0.2255, allocations: 5.012 MB / 0.5639 GB, free: 84.81 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.361447410658002]