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.0006365/0.0006365, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000894/0.001531, 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.0006723/0.0006723, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009692/0.001642, 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.9782/0.9782, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08194/1.06, allocations: 53.67 MB / 243.3 MB, free: 15.56 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.631/0.631, allocations: 291.2 MB / 0.5227 GB, free: 52.69 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02492/0.6559, allocations: 21.04 MB / 0.5433 GB, free: 31.71 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.334e-06/2.334e-06, allocations: 0 / 0.5446 GB, free: 30.4 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.533e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.39 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Eleveld): time 0.003101/0.003116, allocations: 2.756 MB / 0.5473 GB, free: 27.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006916/0.003808, allocations: 319.1 kB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.003926, allocations: 0 / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.982e-05/0.004016, allocations: 39.58 kB / 0.5476 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.004299, allocations: 134.9 kB / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.004448, allocations: 63.91 kB / 0.5478 GB, free: 27.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.00484, allocations: 406 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.004984, allocations: 50.88 kB / 0.5482 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.005306, allocations: 290.4 kB / 0.5485 GB, free: 26.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.005544, allocations: 147.5 kB / 0.5486 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.827e-05/0.005602, allocations: 24 kB / 0.5487 GB, free: 26.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.404e-05/0.005656, allocations: 24 kB / 0.5487 GB, free: 26.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.005704, allocations: 51.75 kB / 0.5487 GB, free: 26.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.005821, allocations: 91.81 kB / 0.5488 GB, free: 26.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.006079, allocations: 207.2 kB / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/0.006092, allocations: 0 / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006092, allocations: 0 / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.006108, allocations: 0 / 0.549 GB, free: 25.82 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.0009251/0.007033, allocations: 0.6785 MB / 0.5497 GB, free: 25.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.007067, allocations: 11.89 kB / 0.5497 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.993e-05/0.007147, allocations: 44.91 kB / 0.5497 GB, free: 25.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.007396, allocations: 209.4 kB / 0.5499 GB, free: 24.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.00742, allocations: 12.88 kB / 0.5499 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.007462, allocations: 28.36 kB / 0.55 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.007708, allocations: 245.7 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.007725, allocations: 4.141 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.007742, allocations: 12.38 kB / 0.5502 GB, free: 24.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.00775, allocations: 4.375 kB / 0.5502 GB, free: 24.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.007918, allocations: 186.4 kB / 0.5504 GB, free: 24.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.008403, allocations: 378.1 kB / 0.5508 GB, free: 23.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.008606, allocations: 205.3 kB / 0.551 GB, free: 23.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.721e-05/0.008663, allocations: 142.2 kB / 0.5511 GB, free: 23.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.008674, allocations: 4 kB / 0.5511 GB, free: 23.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.008845, allocations: 417 kB / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.613e-06/0.008846, allocations: 0 / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008235/0.00967, allocations: 1.089 MB / 0.5526 GB, free: 21.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.009732, allocations: 387.8 kB / 0.5529 GB, free: 21.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.009843, allocations: 237 kB / 0.5532 GB, free: 21.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.009857, allocations: 33.7 kB / 0.5532 GB, free: 21.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.705e-05/0.009884, allocations: 133.4 kB / 0.5533 GB, free: 20.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.009946, allocations: 150.8 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.01001, allocations: 78.16 kB / 0.5535 GB, free: 20.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.01005, allocations: 346.7 kB / 0.5539 GB, free: 20.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.01012, allocations: 159.8 kB / 0.554 GB, free: 20.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.406e-05/0.01022, allocations: 228.3 kB / 0.5542 GB, free: 19.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.01042, allocations: 0.501 MB / 0.5547 GB, free: 19.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01042, allocations: 0 / 0.5547 GB, free: 19.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002212/0.01064, allocations: 422.7 kB / 0.5551 GB, free: 18.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.01068, allocations: 93.09 kB / 0.5552 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01069, allocations: 4 kB / 0.5552 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.0107, allocations: 7.938 kB / 0.5552 GB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.01097, allocations: 138.2 kB / 0.5554 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.01097, allocations: 11.92 kB / 0.5554 GB, free: 18.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.01108, allocations: 12 kB / 0.5554 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.01109, allocations: 16 kB / 0.5554 GB, free: 18.57 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.0001236/0.01122, allocations: 252.5 kB / 0.5556 GB, free: 18.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.01125, allocations: 43.91 kB / 0.5557 GB, free: 18.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.01128, allocations: 35.3 kB / 0.5557 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01129, allocations: 4 kB / 0.5557 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.01129, allocations: 0 / 0.5557 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01129, allocations: 0 / 0.5557 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.01171, allocations: 0.6382 MB / 0.5563 GB, free: 17.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01171, allocations: 7.984 kB / 0.5564 GB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.01194, allocations: 103.9 kB / 0.5564 GB, free: 17.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.01197, allocations: 23.81 kB / 0.5565 GB, free: 17.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01197, allocations: 0 / 0.5565 GB, free: 17.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.01199, allocations: 15.98 kB / 0.5565 GB, free: 17.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01199, allocations: 3.938 kB / 0.5565 GB, free: 17.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.012, allocations: 7.312 kB / 0.5565 GB, free: 17.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.0123, allocations: 0.6819 MB / 0.5572 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.01234, allocations: 16 kB / 0.5572 GB, free: 16.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.01244, allocations: 12 kB / 0.5572 GB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.01249, allocations: 35.94 kB / 0.5572 GB, free: 16.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.0125, allocations: 8 kB / 0.5572 GB, free: 16.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.362e-05/0.01257, allocations: 102.7 kB / 0.5573 GB, free: 16.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01257, allocations: 0 / 0.5573 GB, free: 16.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001947/0.01276, allocations: 96 kB / 0.5574 GB, free: 16.34 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.75e-05/0.01283, allocations: 96.36 kB / 0.5575 GB, free: 16.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.01306, allocations: 0.5335 MB / 0.558 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.01307, allocations: 4 kB / 0.558 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.01321, allocations: 396.3 kB / 0.5584 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.01346, allocations: 120.1 kB / 0.5585 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2013/0.2147, allocations: 0.8021 MB / 0.5593 GB, free: 84.41 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.627e-05/0.2148, allocations: 101.8 kB / 0.5594 GB, free: 84.34 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.215, allocations: 41.94 kB / 0.5595 GB, free: 84.34 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.2152, allocations: 148.4 kB / 0.5596 GB, free: 84.3 MB / 410.8 MB Notification: Performance of SimCode: time 1.283e-06/0.2152, allocations: 0 / 0.5596 GB, free: 84.3 MB / 410.8 MB Notification: Performance of Templates: time 0.007424/0.2226, allocations: 5.662 MB / 0.5651 GB, free: 83.34 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.3476481307297945]