Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009161/0.009161, allocations: 100.9 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 197.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.539/1.539, allocations: 251.7 MB / 0.5094 GB, free: 3.012 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 75.89 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2457, allocations: 104.7 MB / 0.8281 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.081/1.326, allocations: 324.3 MB / 1.145 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0399/1.366, allocations: 23.05 MB / 1.167 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006407/1.373, allocations: 95.44 kB / 1.167 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.006598/1.38, allocations: 1.514 MB / 1.169 GB, free: 15.22 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01509/1.395, allocations: 4.293 MB / 1.173 GB, free: 10.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007501/1.402, allocations: 2.352 MB / 1.175 GB, free: 8.566 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01126/1.414, allocations: 5.973 MB / 1.181 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004358/1.418, allocations: 2.167 MB / 1.183 GB, free: 376 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009184/1.427, allocations: 3.141 MB / 1.186 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00467/1.432, allocations: 1.754 MB / 1.188 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000778/1.433, allocations: 220 kB / 1.188 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/1.443, allocations: 3.687 MB / 1.192 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001959/1.445, allocations: 0.8764 MB / 1.193 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002961/1.448, allocations: 1.33 MB / 1.194 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01505/1.463, allocations: 4.763 MB / 1.199 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/1.463, allocations: 0 / 1.199 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.075e-06/1.463, allocations: 0 / 1.199 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001059/1.463, allocations: 0 / 1.199 GB, free: 0.5625 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.007694/1.471, allocations: 2.963 MB / 1.202 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/1.471, allocations: 11.97 kB / 1.202 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005606/1.477, allocations: 0.8164 MB / 1.202 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005086/1.482, allocations: 1.9 MB / 1.204 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/1.482, allocations: 114.7 kB / 1.204 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/1.482, allocations: 147.9 kB / 1.205 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00355/1.486, allocations: 1.666 MB / 1.206 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/1.486, allocations: 4 kB / 1.206 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/1.486, allocations: 59.94 kB / 1.206 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.397e-05/1.486, allocations: 50.58 kB / 1.206 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/1.489, allocations: 1.353 MB / 1.208 GB, free: 7.262 MB / 0.9512 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.01301/1.502, allocations: 7.861 MB / 1.215 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/1.504, allocations: 0.9929 MB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/1.506, allocations: 486.6 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/1.506, allocations: 106 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/1.506, allocations: 51.2 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=72): time 3.005e-06/1.506, allocations: 0 / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=72): time 0.004081/1.51, allocations: 1.315 MB / 1.218 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/1.51, allocations: 64.05 kB / 1.218 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003684/1.514, allocations: 1.789 MB / 1.22 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001906/1.514, allocations: 45.7 kB / 1.22 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/1.515, allocations: 0.9877 MB / 1.221 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000318/1.515, allocations: 252.3 kB / 1.221 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004238/1.516, allocations: 218.4 kB / 1.221 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.516, allocations: 345.9 kB / 1.222 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/1.517, allocations: 452.6 kB / 1.222 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/1.519, allocations: 0.8304 MB / 1.223 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/1.521, allocations: 1.196 MB / 1.224 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/1.521, allocations: 4 kB / 1.224 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003802/1.525, allocations: 1.389 MB / 1.225 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/1.525, allocations: 12 kB / 1.225 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/1.525, allocations: 8 kB / 1.226 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.918e-05/1.525, allocations: 16 kB / 1.226 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/1.527, allocations: 269.4 kB / 1.226 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004379/1.527, allocations: 0.6132 MB / 1.226 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/1.529, allocations: 144.2 kB / 1.227 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/1.529, allocations: 55.97 kB / 1.227 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002064/1.531, allocations: 0.8103 MB / 1.227 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001312/1.533, allocations: 0.7797 MB / 1.228 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002191/1.535, allocations: 1.098 MB / 1.229 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.5e-05/1.535, allocations: 7.984 kB / 1.229 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003181/1.538, allocations: 1.288 MB / 1.23 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.538, allocations: 15.94 kB / 1.23 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/1.538, allocations: 8 kB / 1.23 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.538, allocations: 16 kB / 1.23 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/1.539, allocations: 248 kB / 1.231 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-05/1.539, allocations: 23.86 kB / 1.231 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/1.541, allocations: 119 kB / 1.231 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-05/1.541, allocations: 44 kB / 1.231 GB, free: 13.95 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004626/1.541, allocations: 247.9 kB / 1.231 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/1.542, allocations: 193.5 kB / 1.231 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/1.545, allocations: 1.047 MB / 1.232 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.545, allocations: 11.94 kB / 1.232 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.545, allocations: 0 / 1.232 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002116/1.547, allocations: 0.8787 MB / 1.233 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006535/1.553, allocations: 2.841 MB / 1.236 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/1.553, allocations: 7.984 kB / 1.236 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/1.555, allocations: 199.8 kB / 1.236 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/1.555, allocations: 8 kB / 1.236 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.551e-05/1.555, allocations: 19.98 kB / 1.236 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003642/1.555, allocations: 0.5899 MB / 1.237 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.555, allocations: 7.969 kB / 1.237 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/1.559, allocations: 1.602 MB / 1.238 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.56, allocations: 370.3 kB / 1.239 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/1.56, allocations: 23.92 kB / 1.239 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009858/1.561, allocations: 51.89 kB / 1.239 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/1.562, allocations: 56.44 kB / 1.239 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.561e-05/1.562, allocations: 27.97 kB / 1.239 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002008/1.564, allocations: 1.22 MB / 1.24 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.564, allocations: 0 / 1.24 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002807/1.566, allocations: 0.9429 MB / 1.241 GB, free: 3.359 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009983/1.567, allocations: 365.4 kB / 1.241 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004306/1.572, allocations: 1.582 MB / 1.243 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/1.572, allocations: 4 kB / 1.243 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/1.573, allocations: 455.4 kB / 1.243 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005117/1.578, allocations: 1.051 MB / 1.244 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007211/1.585, allocations: 3.475 MB / 1.248 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/1.587, allocations: 1.562 MB / 1.249 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002304/1.589, allocations: 488.5 kB / 1.25 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/1.59, allocations: 143.4 kB / 1.25 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of SimCode: time 1.754e-06/1.59, allocations: 3.938 kB / 1.25 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.07421/1.664, allocations: 38.22 MB / 1.287 GB, free: 4.559 MB / 1.029 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)