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.812/1.812, allocations: 288.4 MB / 303.6 MB, free: 8.168 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.001051/0.001051, allocations: 180.5 kB / 372.3 MB, free: 10.11 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.518/1.518, allocations: 205.4 MB / 0.631 GB, free: 9.863 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.0008109/0.0008104, allocations: 93.12 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004099, allocations: 15.44 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2312, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01926/0.2505, allocations: 26.94 MB / 1.006 GB, free: 304 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009866/0.2605, allocations: 6.354 MB / 1.013 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.2618, allocations: 43.62 kB / 1.013 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.2633, allocations: 0.5519 MB / 1.013 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.2669, allocations: 1.26 MB / 1.014 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002737/0.2696, allocations: 0.9484 MB / 1.015 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003452/0.2731, allocations: 2.773 MB / 1.018 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.2743, allocations: 0.7094 MB / 1.019 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.2761, allocations: 0.9218 MB / 1.02 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.2771, allocations: 0.7546 MB / 1.02 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.684e-05/0.2772, allocations: 36 kB / 1.02 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.279, allocations: 0.7209 MB / 1.021 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.2792, allocations: 243 kB / 1.021 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005687/0.2798, allocations: 0.5145 MB / 1.022 GB, free: 432 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.2812, allocations: 1.134 MB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.2813, allocations: 4 kB / 1.023 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2813, allocations: 0 / 1.023 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.2813, allocations: 0 / 1.023 GB, free: 15.28 MB / 0.6511 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.002279/0.2836, allocations: 1.368 MB / 1.024 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2836, allocations: 8.031 kB / 1.024 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/0.2869, allocations: 0.6392 MB / 1.025 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.2884, allocations: 0.8136 MB / 1.026 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.352e-05/0.2885, allocations: 50.38 kB / 1.026 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.2886, allocations: 87.86 kB / 1.026 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.291, allocations: 1.107 MB / 1.027 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.291, allocations: 7.984 kB / 1.027 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-05/0.2911, allocations: 28 kB / 1.027 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.2911, allocations: 16 kB / 1.027 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.294, allocations: 1.023 MB / 1.028 GB, free: 9.945 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.005638/0.2996, allocations: 4.967 MB / 1.033 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/0.3025, allocations: 0.9542 MB / 1.034 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.3039, allocations: 0.4937 MB / 1.034 GB, free: 3.234 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.3052, allocations: 1.599 MB / 1.036 GB, free: 1.285 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001538/0.3068, allocations: 0.5885 MB / 1.036 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 5.059e-06/0.3068, allocations: 0 / 1.036 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.00455/0.3114, allocations: 1.512 MB / 1.038 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.3114, allocations: 59.97 kB / 1.038 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.3128, allocations: 1.117 MB / 1.039 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.016e-05/0.3128, allocations: 41.7 kB / 1.039 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.3133, allocations: 0.5512 MB / 1.04 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.3134, allocations: 205.1 kB / 1.04 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.3135, allocations: 16 kB / 1.04 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3136, allocations: 341.9 kB / 1.04 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.315, allocations: 461.6 kB / 1.041 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.3166, allocations: 0.7397 MB / 1.041 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002771/0.3193, allocations: 1.14 MB / 1.042 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3194, allocations: 4 kB / 1.042 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003442/0.3228, allocations: 1.297 MB / 1.044 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.3228, allocations: 8 kB / 1.044 GB, free: 8.918 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3229, allocations: 8 kB / 1.044 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.3229, allocations: 12.75 kB / 1.044 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.3241, allocations: 275.6 kB / 1.044 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/0.3241, allocations: 15.94 kB / 1.044 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.3255, allocations: 211 kB / 1.044 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.926e-05/0.3256, allocations: 47.97 kB / 1.044 GB, free: 8.359 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.0005072/0.3261, allocations: 291.7 kB / 1.045 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.3263, allocations: 126.4 kB / 1.045 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/0.3299, allocations: 1.39 MB / 1.046 GB, free: 6.543 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/0.3299, allocations: 11.98 kB / 1.046 GB, free: 6.531 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.33, allocations: 4 kB / 1.046 GB, free: 6.527 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.33, allocations: 3.984 kB / 1.046 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004876/0.3349, allocations: 2.39 MB / 1.048 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.3349, allocations: 4 kB / 1.048 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009509/0.3358, allocations: 191.9 kB / 1.049 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.3359, allocations: 4 kB / 1.049 GB, free: 3.867 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/0.3359, allocations: 23.97 kB / 1.049 GB, free: 3.844 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.3359, allocations: 11.94 kB / 1.049 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.336, allocations: 4 kB / 1.049 GB, free: 3.828 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004772/0.3407, allocations: 2.008 MB / 1.051 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005166/0.3413, allocations: 283.3 kB / 1.051 GB, free: 1.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.3414, allocations: 16 kB / 1.051 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009116/0.3423, allocations: 127.9 kB / 1.051 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.3425, allocations: 56.44 kB / 1.051 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-05/0.3426, allocations: 31.97 kB / 1.051 GB, free: 1.258 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009204/0.3435, allocations: 0.7603 MB / 1.052 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3435, allocations: 4 kB / 1.052 GB, free: 500 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001126/0.3446, allocations: 343.6 kB / 1.052 GB, free: 156 kB / 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.001457/0.3461, allocations: 0.6537 MB / 1.053 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003174/0.3493, allocations: 1.122 MB / 1.054 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.3493, allocations: 4.188 kB / 1.054 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.3508, allocations: 0.5929 MB / 1.054 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.3531, allocations: 447.2 kB / 1.055 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.358, allocations: 2.715 MB / 1.058 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.3586, allocations: 1.108 MB / 1.059 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001102/0.3597, allocations: 248.8 kB / 1.059 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.36, allocations: 107.4 kB / 1.059 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/0.36, allocations: 0 / 1.059 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of Templates: time 0.4186/0.7787, allocations: 19.15 MB / 1.078 GB, free: 87.63 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)