Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.8/1.8, allocations: 288.4 MB / 303.4 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009923/0.0009923, allocations: 184.5 kB / 372 MB, free: 10.21 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 0.6307 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008061/0.0008062, allocations: 96.86 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004168, allocations: 13.03 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2059, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01891/0.2249, allocations: 26.94 MB / 1.006 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008815/0.2338, allocations: 6.369 MB / 1.012 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.2349, allocations: 43.69 kB / 1.012 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.2361, allocations: 0.5441 MB / 1.013 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.2388, allocations: 1.17 MB / 1.014 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.2413, allocations: 0.9418 MB / 1.015 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002707/0.244, allocations: 2.75 MB / 1.017 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008172/0.2449, allocations: 0.643 MB / 1.018 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.2462, allocations: 0.8984 MB / 1.019 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008098/0.247, allocations: 0.7546 MB / 1.02 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.602e-05/0.2471, allocations: 36 kB / 1.02 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.2483, allocations: 0.495 MB / 1.02 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.2486, allocations: 235 kB / 1.02 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.2488, allocations: 233 kB / 1.021 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.2498, allocations: 1.044 MB / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2498, allocations: 0 / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2498, allocations: 0 / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.2498, allocations: 0 / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002858/0.2527, allocations: 1.376 MB / 1.023 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2527, allocations: 8.031 kB / 1.023 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00538/0.2581, allocations: 0.6422 MB / 1.024 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.26, allocations: 0.7702 MB / 1.024 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-05/0.2601, allocations: 58 kB / 1.024 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.2603, allocations: 79.94 kB / 1.025 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003721/0.2641, allocations: 1.103 MB / 1.026 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.2641, allocations: 3.938 kB / 1.026 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.2642, allocations: 28 kB / 1.026 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.2643, allocations: 20 kB / 1.026 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004633/0.2689, allocations: 1.024 MB / 1.027 GB, free: 11.12 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009174/0.2781, allocations: 4.967 MB / 1.031 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004544/0.2827, allocations: 0.9639 MB / 1.032 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/0.2851, allocations: 498.1 kB / 1.033 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002157/0.2873, allocations: 1.603 MB / 1.034 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00251/0.2898, allocations: 0.5923 MB / 1.035 GB, free: 1.852 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 5.76e-06/0.2898, allocations: 0 / 1.035 GB, free: 1.852 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.007252/0.2971, allocations: 1.512 MB / 1.037 GB, free: 336 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.2972, allocations: 63.97 kB / 1.037 GB, free: 260 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.2993, allocations: 1.117 MB / 1.038 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.2994, allocations: 37.7 kB / 1.038 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006719/0.3001, allocations: 0.5551 MB / 1.038 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.3004, allocations: 217 kB / 1.038 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/0.3005, allocations: 16 kB / 1.038 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3007, allocations: 337.9 kB / 1.039 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.3029, allocations: 457.6 kB / 1.039 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/0.3055, allocations: 0.7475 MB / 1.04 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/0.3077, allocations: 0.49 MB / 1.04 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.3077, allocations: 4 kB / 1.04 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004748/0.3125, allocations: 1.286 MB / 1.042 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/0.3125, allocations: 9.562 kB / 1.042 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.3126, allocations: 11.95 kB / 1.042 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.603e-05/0.3126, allocations: 12 kB / 1.042 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.3145, allocations: 275.8 kB / 1.042 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.295e-05/0.3145, allocations: 23.92 kB / 1.042 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.3165, allocations: 199 kB / 1.042 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.3167, allocations: 47.97 kB / 1.042 GB, free: 10.28 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007689/0.3175, allocations: 296.6 kB / 1.043 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/0.3179, allocations: 118.5 kB / 1.043 GB, free: 9.863 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006313/0.3242, allocations: 1.398 MB / 1.044 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-05/0.3242, allocations: 11.95 kB / 1.044 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.3243, allocations: 0 / 1.044 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.3243, allocations: 3.984 kB / 1.044 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008143/0.3324, allocations: 2.382 MB / 1.046 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.3325, allocations: 0 / 1.046 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/0.3341, allocations: 195.9 kB / 1.047 GB, free: 5.789 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-05/0.3341, allocations: 4 kB / 1.047 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.3342, allocations: 27.97 kB / 1.047 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/0.3343, allocations: 7.938 kB / 1.047 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.3343, allocations: 0 / 1.047 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00753/0.3418, allocations: 2.008 MB / 1.049 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007481/0.3426, allocations: 283.3 kB / 1.049 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/0.3429, allocations: 23.98 kB / 1.049 GB, free: 3.387 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.3445, allocations: 123.9 kB / 1.049 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.3447, allocations: 52.44 kB / 1.049 GB, free: 3.211 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.3448, allocations: 40.06 kB / 1.049 GB, free: 3.172 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001631/0.3465, allocations: 0.7564 MB / 1.05 GB, free: 2.41 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2e-07/0.3465, allocations: 0 / 1.05 GB, free: 2.41 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001745/0.3482, allocations: 347.5 kB / 1.05 GB, free: 2.07 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002226/0.3505, allocations: 0.6552 MB / 1.051 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004723/0.3552, allocations: 1.122 MB / 1.052 GB, free: 452 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.3552, allocations: 0 / 1.052 GB, free: 452 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002551/0.3578, allocations: 0.5931 MB / 1.052 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003771/0.3616, allocations: 455.4 kB / 1.053 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007985/0.3696, allocations: 2.708 MB / 1.056 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.3707, allocations: 1.112 MB / 1.057 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001871/0.3726, allocations: 248.8 kB / 1.057 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004936/0.3732, allocations: 107.4 kB / 1.057 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of SimCode: time 9.31e-07/0.3732, allocations: 0 / 1.057 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of Templates: time 0.4256/0.7988, allocations: 18.9 MB / 1.075 GB, free: 86.26 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)