Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.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.0009795/0.0009795, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.002273, 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.001026/0.001026, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.002307, 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.9093/0.9093, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08115/0.9905, allocations: 53.67 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.6298/0.6298, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02246/0.6523, allocations: 21.04 MB / 0.5432 GB, free: 31.72 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.Propofol_Gerts_3C_ES,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES") translateModel(Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.5447 GB, free: 30.26 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.417e-06/1.081e-05, allocations: 10.25 kB / 0.5447 GB, free: 30.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES): time 0.003327/0.003338, allocations: 3.55 MB / 0.5482 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.004394, allocations: 0.8107 MB / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.00453, allocations: 0 / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.00464, allocations: 63.41 kB / 0.549 GB, free: 25.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.00491, allocations: 170.6 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.0051, allocations: 91.8 kB / 0.5493 GB, free: 25.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.005492, allocations: 0.5425 MB / 0.5498 GB, free: 25.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.005657, allocations: 92.27 kB / 0.5499 GB, free: 24.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.005978, allocations: 330.3 kB / 0.5502 GB, free: 24.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.006224, allocations: 183.5 kB / 0.5504 GB, free: 24.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.006275, allocations: 32 kB / 0.5504 GB, free: 24.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.381e-05/0.006339, allocations: 32 kB / 0.5504 GB, free: 24.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.006386, allocations: 55.75 kB / 0.5505 GB, free: 24.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.006523, allocations: 131.8 kB / 0.5506 GB, free: 24.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.006805, allocations: 282.9 kB / 0.5509 GB, free: 23.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.006816, allocations: 0 / 0.5509 GB, free: 23.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.006817, allocations: 0 / 0.5509 GB, free: 23.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.006831, allocations: 0 / 0.5509 GB, free: 23.89 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.000869/0.0077, allocations: 0.7785 MB / 0.5516 GB, free: 23.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.007731, allocations: 15.89 kB / 0.5516 GB, free: 23.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.007807, allocations: 48.91 kB / 0.5517 GB, free: 23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.008035, allocations: 217.3 kB / 0.5519 GB, free: 22.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.008063, allocations: 25.03 kB / 0.5519 GB, free: 22.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.00811, allocations: 36.33 kB / 0.552 GB, free: 22.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.008423, allocations: 330.4 kB / 0.5523 GB, free: 22.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.008437, allocations: 7.984 kB / 0.5523 GB, free: 22.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.008453, allocations: 15.94 kB / 0.5523 GB, free: 22.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.008459, allocations: 8 kB / 0.5523 GB, free: 22.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.008592, allocations: 216.1 kB / 0.5525 GB, free: 22.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.009211, allocations: 0.6769 MB / 0.5532 GB, free: 21.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.009404, allocations: 219.5 kB / 0.5534 GB, free: 21.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.221e-05/0.009466, allocations: 150.2 kB / 0.5535 GB, free: 20.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.009477, allocations: 11.94 kB / 0.5535 GB, free: 20.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.009669, allocations: 437.1 kB / 0.554 GB, free: 20.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 1.683e-06/0.009671, allocations: 0 / 0.554 GB, free: 20.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.0008075/0.01048, allocations: 1.153 MB / 0.5551 GB, free: 19.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.01053, allocations: 383.8 kB / 0.5554 GB, free: 18.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.01063, allocations: 255 kB / 0.5557 GB, free: 18.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.01065, allocations: 37.7 kB / 0.5557 GB, free: 18.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.01069, allocations: 173.3 kB / 0.5559 GB, free: 18.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.01075, allocations: 166.6 kB / 0.556 GB, free: 18.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.01082, allocations: 98.3 kB / 0.5561 GB, free: 17.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.612e-05/0.01085, allocations: 354.7 kB / 0.5565 GB, free: 17.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.133e-05/0.01093, allocations: 194.2 kB / 0.5567 GB, free: 17.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.01104, allocations: 338.9 kB / 0.557 GB, free: 16.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.01128, allocations: 0.6367 MB / 0.5576 GB, free: 16.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01128, allocations: 0 / 0.5576 GB, free: 16.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002649/0.01155, allocations: 0.5076 MB / 0.5581 GB, free: 15.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.01159, allocations: 123.3 kB / 0.5582 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01159, allocations: 11.38 kB / 0.5582 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.0116, allocations: 11.98 kB / 0.5582 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.01188, allocations: 149.7 kB / 0.5584 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.01188, allocations: 11.98 kB / 0.5584 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.012, allocations: 20 kB / 0.5584 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.01202, allocations: 23.98 kB / 0.5584 GB, free: 15.3 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real effectSite.Ce:VARIABLE(min = -1e-9 start = effectSite.Ce0 unit = \"kg/m3\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 29 (peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,peripheral2.rising,$PRE.peripheral2.rising,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 67 * 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.0001256/0.01214, allocations: 273.2 kB / 0.5587 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.01218, allocations: 43.97 kB / 0.5587 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.01221, allocations: 43.56 kB / 0.5588 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01221, allocations: 4 kB / 0.5588 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01221, allocations: 4 kB / 0.5588 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01222, allocations: 3.984 kB / 0.5588 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2304/0.2426, allocations: 0.6767 MB / 0.5595 GB, free: 84.53 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2426, allocations: 3.5 kB / 0.5595 GB, free: 84.53 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.2429, allocations: 99.16 kB / 0.5596 GB, free: 84.53 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.243, allocations: 31.91 kB / 0.5596 GB, free: 84.53 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.243, allocations: 2.125 kB / 0.5596 GB, free: 84.53 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.243, allocations: 13.98 kB / 0.5596 GB, free: 84.53 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.243, allocations: 1.344 kB / 0.5596 GB, free: 84.53 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.243, allocations: 1.094 kB / 0.5596 GB, free: 84.53 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.2435, allocations: 0.7121 MB / 0.5603 GB, free: 84.12 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.2436, allocations: 20.31 kB / 0.5603 GB, free: 84.12 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.2437, allocations: 20.27 kB / 0.5603 GB, free: 84.12 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.2438, allocations: 36.42 kB / 0.5604 GB, free: 84.12 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2438, allocations: 13.73 kB / 0.5604 GB, free: 84.12 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.886e-05/0.2439, allocations: 98.38 kB / 0.5605 GB, free: 84.11 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2439, allocations: 2.156 kB / 0.5605 GB, free: 84.11 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003192/0.2442, allocations: 123.1 kB / 0.5606 GB, free: 84.11 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC,peripheral2.C,peripheral2.AUC,effectSite.Ce) * Number of discrete variables: 18 ($whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 16 (periodicDose.pulse.count,peripheral2.Cmin,$whenCondition6,peripheral2.Cmax,$whenCondition5,peripheral2.rising,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 (40): * Single equations (assignments): 35 * 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 0.0001255/0.2443, allocations: 109.4 kB / 0.5607 GB, free: 84.04 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004581/0.2448, allocations: 0.6661 MB / 0.5614 GB, free: 83.56 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/0.2448, allocations: 5.562 kB / 0.5614 GB, free: 83.56 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.245, allocations: 410.2 kB / 0.5618 GB, free: 83.27 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.2454, allocations: 170.8 kB / 0.5619 GB, free: 83.27 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.2561, allocations: 0.9563 MB / 0.5628 GB, free: 82.79 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.264e-05/0.2562, allocations: 115.6 kB / 0.563 GB, free: 82.71 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.2564, allocations: 48.12 kB / 0.563 GB, free: 82.71 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.2567, allocations: 188.9 kB / 0.5632 GB, free: 82.66 MB / 410.8 MB Notification: Performance of SimCode: time 8.22e-07/0.2567, allocations: 0.7188 kB / 0.5632 GB, free: 82.66 MB / 410.8 MB Notification: Performance of Templates: time 0.008818/0.2655, allocations: 7.051 MB / 0.5701 GB, free: 80.82 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3118152795359492]