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.585/1.585, allocations: 288.4 MB / 304.3 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.0009374/0.0009377, allocations: 184.5 kB / 373 MB, free: 10.17 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.345/1.345, allocations: 205.4 MB / 0.6317 GB, free: 9.824 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.0008069/0.0008069, allocations: 92.19 kB / 0.745 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006547/0.0006548, allocations: 12.59 kB / 0.8681 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2031, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.55/5.753, allocations: 2.318 GB / 3.298 GB, free: 349.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/5.753, allocations: 91.16 kB / 3.299 GB, free: 349.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.536/7.289, allocations: 0.5978 GB / 3.896 GB, free: 140.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.132e-06/7.289, allocations: 0 / 3.896 GB, free: 140.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001116/7.289, allocations: 41.7 kB / 3.896 GB, free: 140.3 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002568/7.291, allocations: 1.524 MB / 3.898 GB, free: 138.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/7.291, allocations: 16.02 kB / 3.898 GB, free: 138.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/7.294, allocations: 0.569 MB / 3.898 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/7.296, allocations: 0.9787 MB / 3.899 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/7.296, allocations: 58.38 kB / 3.899 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/7.296, allocations: 80.38 kB / 3.899 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/7.298, allocations: 1.092 MB / 3.901 GB, free: 135.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/7.298, allocations: 7.938 kB / 3.901 GB, free: 135.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/7.298, allocations: 39.92 kB / 3.901 GB, free: 135.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/7.298, allocations: 23.86 kB / 3.901 GB, free: 135.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/7.301, allocations: 1.004 MB / 3.902 GB, free: 134.7 MB / 0.948 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.004384/7.305, allocations: 4.979 MB / 3.906 GB, free: 129.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/7.308, allocations: 0.9526 MB / 3.907 GB, free: 128.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/7.309, allocations: 498.1 kB / 3.908 GB, free: 128.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009003/7.31, allocations: 1.594 MB / 3.909 GB, free: 126.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/7.311, allocations: 0.5842 MB / 3.91 GB, free: 125.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.206e-06/7.311, allocations: 0 / 3.91 GB, free: 125.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.004168/7.316, allocations: 1.512 MB / 3.911 GB, free: 124 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/7.316, allocations: 55.97 kB / 3.912 GB, free: 123.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/7.317, allocations: 1.132 MB / 3.913 GB, free: 122.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.05e-05/7.317, allocations: 37.7 kB / 3.913 GB, free: 122.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/7.317, allocations: 0.5551 MB / 3.913 GB, free: 122.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/7.317, allocations: 203 kB / 3.913 GB, free: 122 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/7.317, allocations: 16 kB / 3.913 GB, free: 122 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.835e-05/7.317, allocations: 341.9 kB / 3.914 GB, free: 121.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/7.319, allocations: 447.5 kB / 3.914 GB, free: 121.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/7.32, allocations: 0.7815 MB / 3.915 GB, free: 120.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/7.323, allocations: 1.136 MB / 3.916 GB, free: 119 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/7.323, allocations: 4 kB / 3.916 GB, free: 119 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003117/7.326, allocations: 1.289 MB / 3.917 GB, free: 117.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/7.326, allocations: 11.94 kB / 3.917 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/7.326, allocations: 8 kB / 3.917 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/7.326, allocations: 12 kB / 3.917 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/7.327, allocations: 271.8 kB / 3.918 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/7.327, allocations: 19.94 kB / 3.918 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/7.328, allocations: 218.8 kB / 3.918 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/7.328, allocations: 47.97 kB / 3.918 GB, free: 117.2 MB / 0.948 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.0005263/7.329, allocations: 295.8 kB / 3.918 GB, free: 116.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/7.329, allocations: 122.4 kB / 3.918 GB, free: 116.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/7.332, allocations: 1.432 MB / 3.92 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/7.332, allocations: 11.98 kB / 3.92 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/7.332, allocations: 0 / 3.92 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/7.332, allocations: 3.984 kB / 3.92 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004374/7.337, allocations: 2.488 MB / 3.922 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/7.337, allocations: 8.031 kB / 3.922 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009891/7.338, allocations: 195.8 kB / 3.922 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/7.338, allocations: 4 kB / 3.922 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/7.338, allocations: 27.91 kB / 3.922 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/7.338, allocations: 7.938 kB / 3.922 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/7.338, allocations: 7.812 kB / 3.922 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00436/7.342, allocations: 2.051 MB / 3.924 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/7.343, allocations: 303.3 kB / 3.925 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/7.343, allocations: 23.94 kB / 3.925 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009314/7.344, allocations: 131.8 kB / 3.925 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/7.344, allocations: 56.42 kB / 3.925 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.575e-05/7.344, allocations: 39.97 kB / 3.925 GB, free: 109.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008642/7.345, allocations: 0.7642 MB / 3.926 GB, free: 109.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/7.345, allocations: 0 / 3.926 GB, free: 109.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001238/7.346, allocations: 399.5 kB / 3.926 GB, free: 108.7 MB / 0.948 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.001521/7.348, allocations: 0.8122 MB / 3.927 GB, free: 108.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002919/7.351, allocations: 1.138 MB / 3.928 GB, free: 107 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/7.351, allocations: 0 / 3.928 GB, free: 107 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001378/7.352, allocations: 0.6006 MB / 3.928 GB, free: 106.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/7.354, allocations: 436 kB / 3.929 GB, free: 106 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/7.359, allocations: 2.769 MB / 3.932 GB, free: 103.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/7.359, allocations: 1.116 MB / 3.933 GB, free: 102 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001049/7.36, allocations: 258.6 kB / 3.933 GB, free: 101.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/7.361, allocations: 111.4 kB / 3.933 GB, free: 101.6 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/7.361, allocations: 0 / 3.933 GB, free: 101.6 MB / 0.948 GB Notification: Performance of Templates: time 0.02978/7.39, allocations: 21.72 MB / 3.954 GB, free: 80.18 MB / 0.948 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)