Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_8_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_8_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.001064/0.001064, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001035/0.001035, allocations: 184 kB / 17.22 MB, free: 5.625 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.411/1.411, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.847/1.847, allocations: 292.3 MB / 0.5495 GB, free: 17.39 MB / 462.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.001648/0.001648, allocations: 67.91 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2587, allocations: 114.5 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9092/1.168, allocations: 323.8 MB / 1.1 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03898/1.207, allocations: 22.92 MB / 1.123 GB, free: 15.22 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004475/1.211, allocations: 95.44 kB / 1.123 GB, free: 15.13 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005477/1.217, allocations: 1.507 MB / 1.124 GB, free: 13.61 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01289/1.23, allocations: 4.208 MB / 1.128 GB, free: 9.391 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00707/1.237, allocations: 2.326 MB / 1.131 GB, free: 7.074 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01127/1.248, allocations: 5.913 MB / 1.136 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5492/1.798, allocations: 2.143 MB / 1.138 GB, free: 79.75 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007523/1.805, allocations: 3.196 MB / 1.142 GB, free: 79.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004166/1.809, allocations: 1.705 MB / 1.143 GB, free: 79.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007488/1.81, allocations: 219.2 kB / 1.143 GB, free: 79.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008466/1.819, allocations: 3.684 MB / 1.147 GB, free: 79.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002016/1.821, allocations: 0.8718 MB / 1.148 GB, free: 79.75 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00378/1.824, allocations: 1.326 MB / 1.149 GB, free: 79.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/1.837, allocations: 4.732 MB / 1.154 GB, free: 79.63 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.837, allocations: 4.25 kB / 1.154 GB, free: 79.63 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/1.837, allocations: 0.9688 kB / 1.154 GB, free: 79.63 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001255/1.837, allocations: 0 / 1.154 GB, free: 79.63 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.008437/1.845, allocations: 2.952 MB / 1.157 GB, free: 78.2 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.845, allocations: 9.406 kB / 1.157 GB, free: 78.2 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006235/1.851, allocations: 0.8396 MB / 1.158 GB, free: 78.06 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004551/1.856, allocations: 1.828 MB / 1.159 GB, free: 77.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004399/1.857, allocations: 165.9 kB / 1.159 GB, free: 77.51 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000437/1.857, allocations: 147.7 kB / 1.16 GB, free: 77.51 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003961/1.861, allocations: 1.666 MB / 1.161 GB, free: 77.31 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.692e-05/1.861, allocations: 5.969 kB / 1.161 GB, free: 77.31 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/1.861, allocations: 53.56 kB / 1.161 GB, free: 77.31 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.318e-05/1.861, allocations: 51.08 kB / 1.161 GB, free: 77.3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003435/1.865, allocations: 1.368 MB / 1.163 GB, free: 77.29 MB / 0.92 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.01137/1.876, allocations: 7.846 MB / 1.17 GB, free: 73.23 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/1.878, allocations: 1.004 MB / 1.171 GB, free: 73.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/1.879, allocations: 497.2 kB / 1.172 GB, free: 73.01 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002364/1.88, allocations: 109.5 kB / 1.172 GB, free: 72.91 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/1.88, allocations: 39.06 kB / 1.172 GB, free: 72.88 MB / 0.92 GB Notification: Performance of pre-optimization done (n=72): time 3.827e-06/1.88, allocations: 4.812 kB / 1.172 GB, free: 72.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=72): time 0.00428/1.884, allocations: 1.349 MB / 1.173 GB, free: 72.74 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/1.884, allocations: 61.34 kB / 1.173 GB, free: 72.68 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/1.888, allocations: 1.791 MB / 1.175 GB, free: 72.45 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002465/1.889, allocations: 47.33 kB / 1.175 GB, free: 72.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000789/1.889, allocations: 0.9822 MB / 1.176 GB, free: 72.1 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/1.89, allocations: 255.6 kB / 1.176 GB, free: 71.94 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003797/1.89, allocations: 213.2 kB / 1.177 GB, free: 71.92 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/1.89, allocations: 344.4 kB / 1.177 GB, free: 71.62 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/1.891, allocations: 460.2 kB / 1.177 GB, free: 71.61 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/1.893, allocations: 0.8379 MB / 1.178 GB, free: 71.14 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/1.895, allocations: 1.208 MB / 1.179 GB, free: 70.81 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.62e-05/1.895, allocations: 4.578 kB / 1.179 GB, free: 70.81 MB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00416/1.9, allocations: 1.403 MB / 1.181 GB, free: 70.68 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/1.9, allocations: 11.16 kB / 1.181 GB, free: 70.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.274e-05/1.9, allocations: 10.44 kB / 1.181 GB, free: 70.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.824e-05/1.9, allocations: 15.06 kB / 1.181 GB, free: 70.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/1.901, allocations: 277 kB / 1.181 GB, free: 70.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003285/1.902, allocations: 0.6081 MB / 1.182 GB, free: 70.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/1.904, allocations: 144.9 kB / 1.182 GB, free: 70.04 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/1.904, allocations: 59.27 kB / 1.182 GB, free: 70.04 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001899/1.906, allocations: 0.8188 MB / 1.183 GB, free: 69.95 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001059/1.907, allocations: 0.7886 MB / 1.183 GB, free: 69.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001817/1.909, allocations: 1.109 MB / 1.184 GB, free: 69.15 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.034e-05/1.909, allocations: 4.25 kB / 1.184 GB, free: 69.15 MB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002772/1.911, allocations: 1.3 MB / 1.186 GB, free: 69.01 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.911, allocations: 13.73 kB / 1.186 GB, free: 69.01 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/1.911, allocations: 15.56 kB / 1.186 GB, free: 69 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/1.911, allocations: 15 kB / 1.186 GB, free: 69 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009344/1.912, allocations: 246.4 kB / 1.186 GB, free: 69 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/1.912, allocations: 20.5 kB / 1.186 GB, free: 69 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/1.914, allocations: 115.3 kB / 1.186 GB, free: 68.97 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.914, allocations: 45.84 kB / 1.186 GB, free: 68.97 MB / 0.92 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.0003401/1.915, allocations: 246.4 kB / 1.186 GB, free: 68.79 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000545/1.915, allocations: 195.7 kB / 1.187 GB, free: 68.68 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/1.918, allocations: 1.065 MB / 1.188 GB, free: 68.61 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/1.918, allocations: 7.078 kB / 1.188 GB, free: 68.61 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.918, allocations: 0.9062 kB / 1.188 GB, free: 68.61 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001918/1.92, allocations: 0.8939 MB / 1.188 GB, free: 68.44 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005775/1.926, allocations: 2.866 MB / 1.191 GB, free: 67.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/1.926, allocations: 2.781 kB / 1.191 GB, free: 67.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009881/1.927, allocations: 212.7 kB / 1.191 GB, free: 67.81 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/1.927, allocations: 2.75 kB / 1.191 GB, free: 67.81 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/1.927, allocations: 23.28 kB / 1.192 GB, free: 67.81 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000199/1.927, allocations: 0.5874 MB / 1.192 GB, free: 67.22 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.927, allocations: 6.5 kB / 1.192 GB, free: 67.22 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/1.93, allocations: 1.627 MB / 1.194 GB, free: 66.91 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009743/1.931, allocations: 359.9 kB / 1.194 GB, free: 66.71 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005767/1.932, allocations: 16.59 kB / 1.194 GB, free: 66.71 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/1.933, allocations: 56.06 kB / 1.194 GB, free: 66.7 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.933, allocations: 46.77 kB / 1.194 GB, free: 66.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/1.933, allocations: 33.8 kB / 1.194 GB, free: 66.7 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002512/1.936, allocations: 1.212 MB / 1.195 GB, free: 66.55 MB / 0.92 GB Notification: Performance of sort global known variables: time 4e-07/1.936, allocations: 0 / 1.195 GB, free: 66.55 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004067/1.94, allocations: 0.9595 MB / 1.196 GB, free: 66.41 MB / 0.92 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.001161/1.941, allocations: 357.3 kB / 1.197 GB, free: 66.28 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003825/1.945, allocations: 1.611 MB / 1.198 GB, free: 66.24 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.945, allocations: 0 / 1.198 GB, free: 66.24 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/1.946, allocations: 467.7 kB / 1.199 GB, free: 66.23 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006195/1.952, allocations: 1.062 MB / 1.2 GB, free: 66.14 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006934/1.959, allocations: 3.46 MB / 1.203 GB, free: 64.75 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/1.961, allocations: 1.555 MB / 1.205 GB, free: 64 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002144/1.963, allocations: 482.9 kB / 1.205 GB, free: 63.88 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005045/1.963, allocations: 148.2 kB / 1.205 GB, free: 63.88 MB / 0.92 GB Notification: Performance of SimCode: time 1.172e-06/1.963, allocations: 0 / 1.205 GB, free: 63.88 MB / 0.92 GB Notification: Performance of Templates: time 0.05354/2.017, allocations: 38.06 MB / 1.242 GB, free: 38.39 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)