Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.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.001273/0.001273, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001535/0.002808, 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.0007602/0.0007602, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001832, 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.9668/0.9668, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.07, allocations: 53.67 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.7302/0.7302, allocations: 291.2 MB / 0.5228 GB, free: 52.45 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0325/0.7627, 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.Propofol.Eleveld,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld") translateModel(Pharmacolibrary.Examples.Propofol.Eleveld,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0.5446 GB, free: 30.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.794e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.13 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Eleveld): time 0.002603/0.002631, allocations: 2.754 MB / 0.5473 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005493/0.003181, allocations: 315.1 kB / 0.5476 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.003281, allocations: 4 kB / 0.5476 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.721e-05/0.003358, allocations: 43.52 kB / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.003564, allocations: 130.9 kB / 0.5478 GB, free: 26.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.003675, allocations: 67.89 kB / 0.5478 GB, free: 26.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.003953, allocations: 398 kB / 0.5482 GB, free: 26.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.004077, allocations: 54.86 kB / 0.5483 GB, free: 26.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.004303, allocations: 290.4 kB / 0.5486 GB, free: 26.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.004487, allocations: 147.5 kB / 0.5487 GB, free: 25.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.004525, allocations: 24 kB / 0.5487 GB, free: 25.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-05/0.004562, allocations: 28 kB / 0.5487 GB, free: 25.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.0046, allocations: 47.75 kB / 0.5488 GB, free: 25.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.614e-05/0.004676, allocations: 95.8 kB / 0.5489 GB, free: 25.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.004858, allocations: 207.3 kB / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.004869, allocations: 0 / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.00487, allocations: 0 / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.004878, allocations: 0 / 0.5491 GB, free: 25.55 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.0006887/0.005566, allocations: 0.6824 MB / 0.5497 GB, free: 24.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.005596, allocations: 11.89 kB / 0.5498 GB, free: 24.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.005655, allocations: 36.91 kB / 0.5498 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.005834, allocations: 213.4 kB / 0.55 GB, free: 24.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.005853, allocations: 24.19 kB / 0.55 GB, free: 24.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.005883, allocations: 24.38 kB / 0.55 GB, free: 24.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.006064, allocations: 237.7 kB / 0.5503 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.006078, allocations: 16.12 kB / 0.5503 GB, free: 24.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.006091, allocations: 4.375 kB / 0.5503 GB, free: 24.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.006102, allocations: 8.375 kB / 0.5503 GB, free: 24.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.006218, allocations: 186.4 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.006668, allocations: 366.1 kB / 0.5508 GB, free: 23.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.006883, allocations: 213.3 kB / 0.551 GB, free: 23.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.00694, allocations: 130.2 kB / 0.5512 GB, free: 23.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.006953, allocations: 8 kB / 0.5512 GB, free: 23.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.007134, allocations: 416.9 kB / 0.5516 GB, free: 22.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.007136, allocations: 4 kB / 0.5516 GB, free: 22.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008027/0.007939, allocations: 1.085 MB / 0.5526 GB, free: 21.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.008002, allocations: 391.8 kB / 0.553 GB, free: 21.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.008111, allocations: 237 kB / 0.5532 GB, free: 20.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.008129, allocations: 37.7 kB / 0.5533 GB, free: 20.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.008157, allocations: 125.4 kB / 0.5534 GB, free: 20.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.008225, allocations: 154.8 kB / 0.5535 GB, free: 20.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.008282, allocations: 74.17 kB / 0.5536 GB, free: 20.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.008329, allocations: 354.7 kB / 0.5539 GB, free: 20.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.008399, allocations: 147.9 kB / 0.5541 GB, free: 19.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.869e-05/0.008488, allocations: 232.2 kB / 0.5543 GB, free: 19.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.008699, allocations: 0.5009 MB / 0.5548 GB, free: 19.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.008702, allocations: 3.984 kB / 0.5548 GB, free: 19.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002317/0.008933, allocations: 415.5 kB / 0.5552 GB, free: 18.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.008982, allocations: 85.11 kB / 0.5553 GB, free: 18.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.008988, allocations: 7.984 kB / 0.5553 GB, free: 18.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.009001, allocations: 7.938 kB / 0.5553 GB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.009269, allocations: 141.9 kB / 0.5554 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.009275, allocations: 4 kB / 0.5554 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.009386, allocations: 19.98 kB / 0.5554 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.009399, allocations: 16 kB / 0.5555 GB, free: 18.3 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.0001259/0.009525, allocations: 255.5 kB / 0.5557 GB, free: 18.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.00956, allocations: 43.91 kB / 0.5557 GB, free: 17.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.009598, allocations: 39.3 kB / 0.5558 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.009601, allocations: 4 kB / 0.5558 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.009604, allocations: 0 / 0.5558 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.009608, allocations: 0 / 0.5558 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.01003, allocations: 0.6381 MB / 0.5564 GB, free: 17.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01003, allocations: 4 kB / 0.5564 GB, free: 17.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.01026, allocations: 107.8 kB / 0.5565 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.01029, allocations: 23.81 kB / 0.5565 GB, free: 17.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01029, allocations: 4 kB / 0.5565 GB, free: 17.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.01031, allocations: 12 kB / 0.5565 GB, free: 17.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.01031, allocations: 3.984 kB / 0.5566 GB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01031, allocations: 0 / 0.5566 GB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.01062, allocations: 0.678 MB / 0.5572 GB, free: 16.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.01066, allocations: 12 kB / 0.5572 GB, free: 16.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.01076, allocations: 12 kB / 0.5572 GB, free: 16.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.01081, allocations: 31.88 kB / 0.5573 GB, free: 16.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.01082, allocations: 12 kB / 0.5573 GB, free: 16.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.041e-05/0.01089, allocations: 102.8 kB / 0.5574 GB, free: 16.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01089, allocations: 0 / 0.5574 GB, free: 16.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002094/0.0111, allocations: 96 kB / 0.5575 GB, free: 16.08 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 8.556e-05/0.01119, allocations: 98.28 kB / 0.5576 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.01146, allocations: 0.5309 MB / 0.5581 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.01148, allocations: 8.094 kB / 0.5581 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.01162, allocations: 399.5 kB / 0.5585 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.01197, allocations: 388.9 kB / 0.5588 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2231/0.235, allocations: 0.7862 MB / 0.5596 GB, free: 84.89 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.982e-05/0.2351, allocations: 106.1 kB / 0.5597 GB, free: 84.81 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.2353, allocations: 43.16 kB / 0.5598 GB, free: 84.81 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.2355, allocations: 153.4 kB / 0.5599 GB, free: 84.77 MB / 410.8 MB Notification: Performance of SimCode: time 7.72e-07/0.2355, allocations: 0 / 0.5599 GB, free: 84.77 MB / 410.8 MB Notification: Performance of Templates: time 0.00747/0.2429, allocations: 5.453 MB / 0.5652 GB, free: 83.86 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5064620804041624]