Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.275/1.275, allocations: 252 MB / 267.9 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008942/0.0008946, allocations: 176 kB / 327.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.4 MB / 0.5785 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000739/0.0007392, allocations: 95.12 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 15.91 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1772, allocations: 106.3 MB / 0.9012 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.419/4.596, allocations: 2.435 GB / 3.336 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/4.596, allocations: 92.66 kB / 3.336 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.689/6.285, allocations: 0.5812 GB / 3.917 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.974e-06/6.285, allocations: 0 / 3.917 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001361/6.285, allocations: 47.86 kB / 3.917 GB, free: 217.3 MB / 0.8855 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.003257/6.289, allocations: 1.532 MB / 3.919 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/6.289, allocations: 6.5 kB / 3.919 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/6.291, allocations: 0.5787 MB / 3.919 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/6.294, allocations: 0.976 MB / 3.92 GB, free: 216 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/6.294, allocations: 58.81 kB / 3.92 GB, free: 216 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/6.294, allocations: 77.12 kB / 3.92 GB, free: 216 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/6.296, allocations: 1.097 MB / 3.921 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/6.296, allocations: 3.562 kB / 3.921 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/6.296, allocations: 34.25 kB / 3.921 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/6.296, allocations: 17.81 kB / 3.921 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/6.298, allocations: 1.002 MB / 3.922 GB, free: 215.5 MB / 0.8855 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.004786/6.303, allocations: 4.964 MB / 3.927 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/6.306, allocations: 0.9589 MB / 3.928 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/6.307, allocations: 490.8 kB / 3.929 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008419/6.308, allocations: 1.603 MB / 3.93 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/6.309, allocations: 0.5791 MB / 3.931 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 2.846e-06/6.309, allocations: 0 / 3.931 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.003825/6.313, allocations: 1.506 MB / 3.932 GB, free: 209 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/6.313, allocations: 63 kB / 3.932 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/6.314, allocations: 1.123 MB / 3.933 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.713e-05/6.314, allocations: 44.73 kB / 3.933 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/6.315, allocations: 0.5509 MB / 3.934 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/6.315, allocations: 213.3 kB / 3.934 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/6.315, allocations: 18.89 kB / 3.934 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.173e-05/6.315, allocations: 336.8 kB / 3.934 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/6.316, allocations: 455.1 kB / 3.935 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/6.317, allocations: 0.7762 MB / 3.936 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002336/6.32, allocations: 1.139 MB / 3.937 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/6.32, allocations: 0 / 3.937 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003051/6.323, allocations: 1.285 MB / 3.938 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/6.323, allocations: 11.81 kB / 3.938 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/6.323, allocations: 9.406 kB / 3.938 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/6.323, allocations: 11.81 kB / 3.938 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/6.324, allocations: 278.3 kB / 3.938 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/6.324, allocations: 14.5 kB / 3.938 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/6.325, allocations: 218.2 kB / 3.939 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/6.325, allocations: 53.44 kB / 3.939 GB, free: 205.1 MB / 0.8855 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.0005618/6.326, allocations: 297 kB / 3.939 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/6.326, allocations: 126.6 kB / 3.939 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/6.33, allocations: 1.43 MB / 3.94 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/6.33, allocations: 6.625 kB / 3.94 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/6.33, allocations: 3.469 kB / 3.94 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/6.33, allocations: 7.734 kB / 3.94 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004512/6.334, allocations: 2.477 MB / 3.943 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/6.334, allocations: 6.375 kB / 3.943 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008947/6.335, allocations: 202.3 kB / 3.943 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/6.335, allocations: 4.906 kB / 3.943 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.727e-05/6.335, allocations: 26.38 kB / 3.943 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/6.335, allocations: 7.188 kB / 3.943 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/6.335, allocations: 3.469 kB / 3.943 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/6.339, allocations: 2.044 MB / 3.945 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005243/6.34, allocations: 312.8 kB / 3.945 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/6.34, allocations: 15.03 kB / 3.945 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009739/6.341, allocations: 135.4 kB / 3.946 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/6.341, allocations: 60.92 kB / 3.946 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/6.341, allocations: 34.41 kB / 3.946 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009736/6.342, allocations: 0.7641 MB / 3.946 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/6.342, allocations: 0 / 3.946 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001257/6.344, allocations: 397.9 kB / 3.947 GB, free: 200.7 MB / 0.8855 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 (76): * Single equations (assignments): 61 * 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.001509/6.345, allocations: 0.8116 MB / 3.948 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002716/6.348, allocations: 1.137 MB / 3.949 GB, free: 200 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/6.348, allocations: 3.781 kB / 3.949 GB, free: 200 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/6.349, allocations: 0.5996 MB / 3.949 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/6.351, allocations: 442.4 kB / 3.95 GB, free: 199.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/6.355, allocations: 2.771 MB / 3.952 GB, free: 197.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/6.356, allocations: 1.108 MB / 3.953 GB, free: 197 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009587/6.357, allocations: 260.4 kB / 3.954 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/6.357, allocations: 116.4 kB / 3.954 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of SimCode: time 4.41e-07/6.357, allocations: 0 / 3.954 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.027/6.384, allocations: 21.74 MB / 3.975 GB, free: 177.1 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)