Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 289.9 MB / 297.4 MB, free: 6.32 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.0009979/0.0009977, allocations: 176.9 kB / 366.7 MB, free: 1.652 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.684/1.684, allocations: 205.2 MB / 0.626 GB, free: 7.152 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008846/0.0008846, allocations: 95.3 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.375e-05/2.342e-05, allocations: 8 kB / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6809/0.681, allocations: 116.3 MB / 0.9732 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.544/5.225, allocations: 2.068 GB / 3.041 GB, free: 61.76 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/5.225, allocations: 84.73 kB / 3.041 GB, free: 61.68 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.024/9.249, allocations: 0.9986 GB / 4.04 GB, free: 147.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.924e-06/9.249, allocations: 4 kB / 4.04 GB, free: 147.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001314/9.249, allocations: 36.61 kB / 4.04 GB, free: 147.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00647/9.256, allocations: 1.718 MB / 4.042 GB, free: 145.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.476e-05/9.256, allocations: 12.56 kB / 4.042 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004518/9.26, allocations: 0.705 MB / 4.043 GB, free: 145.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/9.263, allocations: 1.019 MB / 4.044 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/9.263, allocations: 31.98 kB / 4.044 GB, free: 144 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/9.263, allocations: 63.98 kB / 4.044 GB, free: 144 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001508/9.265, allocations: 0.9176 MB / 4.045 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/9.266, allocations: 1.127 MB / 4.046 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/9.266, allocations: 4 kB / 4.046 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.174e-05/9.267, allocations: 4 kB / 4.046 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/9.267, allocations: 45.98 kB / 4.046 GB, free: 141.8 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.008343/9.275, allocations: 5.555 MB / 4.051 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/9.276, allocations: 0.8994 MB / 4.052 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/9.277, allocations: 487.2 kB / 4.052 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000862/9.278, allocations: 0.5801 MB / 4.053 GB, free: 134 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008197/9.279, allocations: 0.5782 MB / 4.054 GB, free: 133.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 4.679e-06/9.279, allocations: 0 / 4.054 GB, free: 133.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002376/9.281, allocations: 1.065 MB / 4.055 GB, free: 132.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/9.281, allocations: 64.19 kB / 4.055 GB, free: 132.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/9.282, allocations: 0.8522 MB / 4.056 GB, free: 131.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/9.282, allocations: 29.7 kB / 4.056 GB, free: 131.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/9.283, allocations: 0.6013 MB / 4.056 GB, free: 130.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/9.283, allocations: 268 kB / 4.056 GB, free: 130.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/9.283, allocations: 0 / 4.056 GB, free: 130.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000109/9.283, allocations: 345.9 kB / 4.057 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/9.284, allocations: 402.4 kB / 4.057 GB, free: 129.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006914/9.284, allocations: 0.7266 MB / 4.058 GB, free: 128.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006215/9.285, allocations: 464.2 kB / 4.058 GB, free: 128.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/9.285, allocations: 0 / 4.058 GB, free: 128.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001628/9.287, allocations: 1.158 MB / 4.059 GB, free: 127.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/9.287, allocations: 10.41 kB / 4.059 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/9.287, allocations: 15.92 kB / 4.059 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/9.287, allocations: 16 kB / 4.059 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/9.288, allocations: 311.5 kB / 4.06 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/9.288, allocations: 15.94 kB / 4.06 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/9.29, allocations: 187 kB / 4.06 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/9.29, allocations: 63.95 kB / 4.06 GB, free: 126.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0002333/9.29, allocations: 146.9 kB / 4.06 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/9.29, allocations: 122.5 kB / 4.06 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/9.292, allocations: 1.153 MB / 4.061 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/9.292, allocations: 8 kB / 4.061 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/9.292, allocations: 4 kB / 4.061 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/9.292, allocations: 3.984 kB / 4.061 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/9.296, allocations: 2.58 MB / 4.064 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/9.296, allocations: 4 kB / 4.064 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/9.297, allocations: 248.1 kB / 4.064 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/9.297, allocations: 8 kB / 4.064 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.034e-05/9.298, allocations: 27.95 kB / 4.064 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/9.298, allocations: 11.94 kB / 4.064 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/9.298, allocations: 7.953 kB / 4.064 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/9.3, allocations: 2.089 MB / 4.066 GB, free: 120 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000616/9.301, allocations: 331.3 kB / 4.067 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/9.301, allocations: 11.98 kB / 4.067 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/9.302, allocations: 127.8 kB / 4.067 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/9.302, allocations: 68.38 kB / 4.067 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-05/9.302, allocations: 39.97 kB / 4.067 GB, free: 119.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008925/9.303, allocations: 0.6487 MB / 4.067 GB, free: 118.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.81e-07/9.303, allocations: 3.938 kB / 4.067 GB, free: 118.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001907/9.305, allocations: 454.6 kB / 4.068 GB, free: 118.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003736/9.309, allocations: 2.143 MB / 4.07 GB, free: 116.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001599/9.311, allocations: 1.004 MB / 4.071 GB, free: 115.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/9.311, allocations: 8.438 kB / 4.071 GB, free: 115.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006487/9.311, allocations: 0.5094 MB / 4.071 GB, free: 114.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/9.314, allocations: 431.1 kB / 4.072 GB, free: 114.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/9.327, allocations: 2.687 MB / 4.074 GB, free: 111.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/9.327, allocations: 1.215 MB / 4.076 GB, free: 110.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001664/9.329, allocations: 352.2 kB / 4.076 GB, free: 109.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003998/9.329, allocations: 115.3 kB / 4.076 GB, free: 109.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.914e-06/9.329, allocations: 0 / 4.076 GB, free: 109.8 MB / 0.948 GB Notification: Performance of Templates: time 0.03987/9.369, allocations: 27.34 MB / 4.103 GB, free: 82.62 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)