Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.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.0009972/0.0009972, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002289, 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.001017/0.001017, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001278/0.002295, 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 0.9758/0.9758, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08908/1.065, allocations: 53.65 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.7041/0.7041, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03184/0.736, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.Schnider,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider") translateModel(Pharmacolibrary.Examples.Propofol.Schnider,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.239e-05, allocations: 10.19 kB / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Schnider): time 0.002067/0.002079, allocations: 2.724 MB / 0.5471 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003204/0.0024, allocations: 286.9 kB / 0.5474 GB, free: 27.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.002467, allocations: 3.938 kB / 0.5474 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.173e-05/0.002529, allocations: 35.64 kB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.002667, allocations: 119 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.119e-05/0.002748, allocations: 67.78 kB / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.002956, allocations: 386.1 kB / 0.548 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.003051, allocations: 57.86 kB / 0.548 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.003205, allocations: 253.6 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.003327, allocations: 127.6 kB / 0.5484 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.003356, allocations: 24 kB / 0.5484 GB, free: 26.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.569e-05/0.003382, allocations: 24 kB / 0.5484 GB, free: 26.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.003412, allocations: 39.81 kB / 0.5485 GB, free: 26.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.474e-05/0.003476, allocations: 95.8 kB / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.003635, allocations: 195.3 kB / 0.5487 GB, free: 26.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.259e-05/0.003647, allocations: 4 kB / 0.5487 GB, free: 26.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.003648, allocations: 4 kB / 0.5487 GB, free: 26.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.003664, allocations: 3.938 kB / 0.5487 GB, free: 26.22 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.0005556/0.004219, allocations: 0.6279 MB / 0.5494 GB, free: 25.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.339e-05/0.004243, allocations: 15.89 kB / 0.5494 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.004289, allocations: 40.91 kB / 0.5494 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.004433, allocations: 193.5 kB / 0.5496 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.004452, allocations: 16.88 kB / 0.5496 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.004478, allocations: 24.33 kB / 0.5496 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.004637, allocations: 241.7 kB / 0.5499 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.004651, allocations: 4.188 kB / 0.5499 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.004662, allocations: 8.375 kB / 0.5499 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.004669, allocations: 12.38 kB / 0.5499 GB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.004782, allocations: 190.4 kB / 0.5501 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.005159, allocations: 378 kB / 0.5504 GB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.005352, allocations: 200.8 kB / 0.5506 GB, free: 24.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.005407, allocations: 142.2 kB / 0.5508 GB, free: 23.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.005418, allocations: 8 kB / 0.5508 GB, free: 23.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.005587, allocations: 405 kB / 0.5512 GB, free: 23.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.392e-06/0.005589, allocations: 3.938 kB / 0.5512 GB, free: 23.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007389/0.006328, allocations: 1.085 MB / 0.5522 GB, free: 22.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.006373, allocations: 298.7 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.57e-05/0.006459, allocations: 209 kB / 0.5527 GB, free: 21.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.006474, allocations: 37.7 kB / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.006498, allocations: 129.4 kB / 0.5529 GB, free: 21.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.006561, allocations: 146.8 kB / 0.553 GB, free: 21.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.006618, allocations: 78.16 kB / 0.5531 GB, free: 21.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.006657, allocations: 342.7 kB / 0.5534 GB, free: 20.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.718e-05/0.006724, allocations: 159.9 kB / 0.5536 GB, free: 20.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.006803, allocations: 228.3 kB / 0.5538 GB, free: 20.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.006996, allocations: 0.5087 MB / 0.5543 GB, free: 19.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006998, allocations: 0 / 0.5543 GB, free: 19.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002009/0.007198, allocations: 415.7 kB / 0.5547 GB, free: 19.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.007233, allocations: 89.14 kB / 0.5547 GB, free: 19.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.007238, allocations: 4 kB / 0.5548 GB, free: 19.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.007249, allocations: 7.938 kB / 0.5548 GB, free: 19.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.007486, allocations: 129.8 kB / 0.5549 GB, free: 19.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.007491, allocations: 4 kB / 0.5549 GB, free: 19.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.007574, allocations: 16 kB / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.007586, allocations: 16 kB / 0.5549 GB, free: 19.21 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.0001089/0.007695, allocations: 240.8 kB / 0.5551 GB, free: 18.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.007724, allocations: 43.91 kB / 0.5552 GB, free: 18.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.007756, allocations: 35.3 kB / 0.5552 GB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.007758, allocations: 4 kB / 0.5552 GB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.00776, allocations: 0 / 0.5552 GB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.007765, allocations: 4 kB / 0.5552 GB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.008147, allocations: 0.6414 MB / 0.5559 GB, free: 18.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008148, allocations: 0 / 0.5559 GB, free: 18.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.008351, allocations: 95.86 kB / 0.5559 GB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.008375, allocations: 23.81 kB / 0.556 GB, free: 18.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.008377, allocations: 0 / 0.556 GB, free: 18.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.00839, allocations: 8 kB / 0.556 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.008392, allocations: 11.98 kB / 0.556 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.008394, allocations: 0 / 0.556 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.008677, allocations: 0.6779 MB / 0.5567 GB, free: 17.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.008712, allocations: 16 kB / 0.5567 GB, free: 17.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.008795, allocations: 12 kB / 0.5567 GB, free: 17.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.008834, allocations: 23.95 kB / 0.5567 GB, free: 17.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.008846, allocations: 11.98 kB / 0.5567 GB, free: 17.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.461e-05/0.008891, allocations: 82.78 kB / 0.5568 GB, free: 17.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008891, allocations: 0 / 0.5568 GB, free: 17.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.009065, allocations: 96 kB / 0.5569 GB, free: 17.03 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 6.437e-05/0.009129, allocations: 108.3 kB / 0.557 GB, free: 16.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.009336, allocations: 0.5215 MB / 0.5575 GB, free: 16.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.009343, allocations: 0 / 0.5575 GB, free: 16.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.009453, allocations: 377.1 kB / 0.5579 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.009675, allocations: 123.1 kB / 0.558 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005918/0.01559, allocations: 0.7868 MB / 0.5587 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.805e-05/0.01563, allocations: 105.1 kB / 0.5588 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.783e-05/0.01572, allocations: 34.95 kB / 0.5589 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.01587, allocations: 147.3 kB / 0.559 GB, free: 14.65 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01587, allocations: 0 / 0.559 GB, free: 14.65 MB / 410.7 MB Notification: Performance of Templates: time 0.2472/0.2631, allocations: 4.972 MB / 0.5639 GB, free: 84.94 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.637979003600776]