Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004982/0.004982, allocations: 100.3 kB / 15.73 MB, free: 6.043 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.001123/0.001123, allocations: 190.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002368/0.002369, allocations: 271.2 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9586/0.9586, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.00178, allocations: 96.14 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1683, allocations: 86.97 MB / 0.7664 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7456/0.9139, allocations: 325 MB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5473/1.461, allocations: 22.27 MB / 1.106 GB, free: 75.35 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003399/1.465, allocations: 98.52 kB / 1.106 GB, free: 75.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006503/1.471, allocations: 2.341 MB / 1.108 GB, free: 75.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01141/1.483, allocations: 4.53 MB / 1.112 GB, free: 75.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005779/1.488, allocations: 2.563 MB / 1.115 GB, free: 75.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01894/1.507, allocations: 12.18 MB / 1.127 GB, free: 75.17 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005246/1.513, allocations: 2.24 MB / 1.129 GB, free: 74.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008765/1.522, allocations: 3.278 MB / 1.132 GB, free: 74.87 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004513/1.526, allocations: 1.857 MB / 1.134 GB, free: 74.87 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007477/1.527, allocations: 239.7 kB / 1.134 GB, free: 74.87 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008279/1.535, allocations: 3.877 MB / 1.138 GB, free: 74.83 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001643/1.537, allocations: 1.159 MB / 1.139 GB, free: 74.83 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003427/1.54, allocations: 1.707 MB / 1.141 GB, free: 74.61 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.009399/1.55, allocations: 5.852 MB / 1.146 GB, free: 73.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.55, allocations: 3.375 kB / 1.146 GB, free: 73.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/1.55, allocations: 0.6562 kB / 1.146 GB, free: 73.86 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.321e-05/1.55, allocations: 0.6562 kB / 1.146 GB, free: 73.86 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.005916/1.556, allocations: 3.806 MB / 1.15 GB, free: 71.94 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/1.556, allocations: 8.156 kB / 1.15 GB, free: 71.94 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006293/1.562, allocations: 1.102 MB / 1.151 GB, free: 71.76 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006066/1.568, allocations: 4.034 MB / 1.155 GB, free: 71.09 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/1.568, allocations: 117.4 kB / 1.155 GB, free: 71.09 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/1.568, allocations: 151.1 kB / 1.155 GB, free: 71.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003122/1.571, allocations: 1.715 MB / 1.157 GB, free: 70.87 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/1.572, allocations: 6.156 kB / 1.157 GB, free: 70.87 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/1.572, allocations: 61.38 kB / 1.157 GB, free: 70.87 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/1.572, allocations: 60.67 kB / 1.157 GB, free: 70.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003169/1.575, allocations: 1.438 MB / 1.159 GB, free: 70.85 MB / 0.8419 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.01101/1.586, allocations: 8.662 MB / 1.167 GB, free: 65.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/1.588, allocations: 1.012 MB / 1.168 GB, free: 65.06 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/1.589, allocations: 0.5065 MB / 1.169 GB, free: 64.96 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/1.59, allocations: 113.5 kB / 1.169 GB, free: 64.86 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/1.59, allocations: 42.75 kB / 1.169 GB, free: 64.82 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=70): time 3.306e-06/1.59, allocations: 0 / 1.169 GB, free: 64.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=70): time 0.004149/1.594, allocations: 1.455 MB / 1.17 GB, free: 64.44 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/1.594, allocations: 63.88 kB / 1.17 GB, free: 64.37 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003639/1.598, allocations: 2.981 MB / 1.173 GB, free: 63.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.954e-05/1.598, allocations: 50.2 kB / 1.173 GB, free: 63.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007519/1.598, allocations: 1.27 MB / 1.174 GB, free: 63.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/1.599, allocations: 251.8 kB / 1.175 GB, free: 62.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004926/1.599, allocations: 429.7 kB / 1.175 GB, free: 62.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.074e-05/1.599, allocations: 304.7 kB / 1.175 GB, free: 62.53 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.6, allocations: 0.8141 MB / 1.176 GB, free: 62.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/1.602, allocations: 1.316 MB / 1.177 GB, free: 61.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/1.605, allocations: 1.903 MB / 1.179 GB, free: 61.08 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/1.605, allocations: 6.312 kB / 1.179 GB, free: 61.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004085/1.609, allocations: 2.398 MB / 1.182 GB, free: 60.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/1.609, allocations: 14.34 kB / 1.182 GB, free: 60.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/1.609, allocations: 8 kB / 1.182 GB, free: 60.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/1.609, allocations: 20 kB / 1.182 GB, free: 60.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/1.611, allocations: 391 kB / 1.182 GB, free: 59.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002594/1.611, allocations: 0.6122 MB / 1.183 GB, free: 59.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/1.613, allocations: 242.2 kB / 1.183 GB, free: 58.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/1.613, allocations: 77.8 kB / 1.183 GB, free: 58.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002206/1.615, allocations: 1.442 MB / 1.184 GB, free: 57.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001455/1.617, allocations: 1.294 MB / 1.186 GB, free: 56.74 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002438/1.619, allocations: 1.859 MB / 1.188 GB, free: 55.33 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.864e-06/1.619, allocations: 8 kB / 1.188 GB, free: 55.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.00353/1.623, allocations: 2.345 MB / 1.19 GB, free: 53.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/1.623, allocations: 12 kB / 1.19 GB, free: 53.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.623, allocations: 12 kB / 1.19 GB, free: 53.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.623, allocations: 16 kB / 1.19 GB, free: 53.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.624, allocations: 361.9 kB / 1.19 GB, free: 53.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/1.624, allocations: 26.27 kB / 1.19 GB, free: 53.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/1.626, allocations: 187.5 kB / 1.19 GB, free: 52.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.626, allocations: 71.92 kB / 1.19 GB, free: 52.79 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (188): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003251/1.626, allocations: 278 kB / 1.191 GB, free: 52.53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/1.627, allocations: 268.4 kB / 1.191 GB, free: 52.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/1.629, allocations: 1.125 MB / 1.192 GB, free: 51.13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/1.629, allocations: 8 kB / 1.192 GB, free: 51.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.629, allocations: 7.922 kB / 1.192 GB, free: 51.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001912/1.631, allocations: 0.9154 MB / 1.193 GB, free: 50.17 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005766/1.637, allocations: 3.345 MB / 1.196 GB, free: 46.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.637, allocations: 0 / 1.196 GB, free: 46.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/1.638, allocations: 210.2 kB / 1.196 GB, free: 46.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/1.638, allocations: 7.984 kB / 1.196 GB, free: 46.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.897e-05/1.638, allocations: 23.92 kB / 1.196 GB, free: 46.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001889/1.638, allocations: 0.5891 MB / 1.197 GB, free: 45.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.638, allocations: 3.938 kB / 1.197 GB, free: 45.9 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/1.642, allocations: 1.712 MB / 1.199 GB, free: 44.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008621/1.643, allocations: 473.4 kB / 1.199 GB, free: 43.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/1.643, allocations: 15.98 kB / 1.199 GB, free: 43.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/1.644, allocations: 81.55 kB / 1.199 GB, free: 43.59 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.644, allocations: 52.44 kB / 1.199 GB, free: 43.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/1.644, allocations: 31.97 kB / 1.199 GB, free: 43.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002439/1.647, allocations: 1.988 MB / 1.201 GB, free: 41.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/1.647, allocations: 0 / 1.201 GB, free: 41.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002733/1.65, allocations: 1.259 MB / 1.203 GB, free: 40.26 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (72): * Single equations (assignments): 71 * 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.0009753/1.651, allocations: 0.4894 MB / 1.203 GB, free: 39.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004579/1.655, allocations: 2.703 MB / 1.206 GB, free: 37.19 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.655, allocations: 0 / 1.206 GB, free: 37.19 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/1.656, allocations: 475.1 kB / 1.206 GB, free: 36.74 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005439/1.662, allocations: 1.458 MB / 1.208 GB, free: 35.33 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00672/1.668, allocations: 4.688 MB / 1.212 GB, free: 30.62 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.67, allocations: 1.929 MB / 1.214 GB, free: 28.66 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002543/1.672, allocations: 0.7283 MB / 1.215 GB, free: 27.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005392/1.673, allocations: 211.3 kB / 1.215 GB, free: 27.72 MB / 0.8419 GB Notification: Performance of SimCode: time 6.91e-07/1.673, allocations: 0 / 1.215 GB, free: 27.72 MB / 0.8419 GB Notification: Performance of Templates: time 0.07422/1.747, allocations: 52.15 MB / 1.266 GB, free: 8.574 MB / 0.8731 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)