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.001144/0.001144, allocations: 104.9 kB / 16.41 MB, free: 6.465 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.001159/0.001159, allocations: 189.8 kB / 17.34 MB, free: 5.719 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002162, allocations: 284.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9336/0.9336, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 91.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.5, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.8136/1.314, allocations: 325 MB / 1.084 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03514/1.349, allocations: 22.29 MB / 1.106 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004648/1.354, allocations: 98.12 kB / 1.106 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.007476/1.361, allocations: 2.352 MB / 1.109 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01318/1.374, allocations: 4.522 MB / 1.113 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006778/1.381, allocations: 2.573 MB / 1.116 GB, free: 4.012 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01834/1.399, allocations: 12.16 MB / 1.127 GB, free: 7.82 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003975/1.403, allocations: 2.234 MB / 1.13 GB, free: 5.539 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007721/1.411, allocations: 3.269 MB / 1.133 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004126/1.415, allocations: 1.87 MB / 1.135 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0008028/1.416, allocations: 240 kB / 1.135 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008334/1.425, allocations: 3.878 MB / 1.139 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001596/1.426, allocations: 1.157 MB / 1.14 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002732/1.429, allocations: 1.706 MB / 1.141 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01077/1.44, allocations: 5.858 MB / 1.147 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.44, allocations: 0 / 1.147 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.495e-06/1.44, allocations: 0 / 1.147 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.384e-05/1.44, allocations: 8 kB / 1.147 GB, free: 3.508 MB / 0.7794 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.007504/1.447, allocations: 3.801 MB / 1.151 GB, free: 15.62 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/1.447, allocations: 12.02 kB / 1.151 GB, free: 15.61 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007123/1.455, allocations: 1.096 MB / 1.152 GB, free: 14.51 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007545/1.462, allocations: 4.033 MB / 1.156 GB, free: 10.41 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/1.462, allocations: 114.8 kB / 1.156 GB, free: 10.3 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/1.463, allocations: 151.9 kB / 1.156 GB, free: 10.15 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003619/1.466, allocations: 1.718 MB / 1.158 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/1.466, allocations: 0 / 1.158 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/1.466, allocations: 60 kB / 1.158 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.095e-05/1.467, allocations: 50.58 kB / 1.158 GB, free: 8.254 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003508/1.47, allocations: 1.447 MB / 1.159 GB, free: 6.801 MB / 0.795 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.01357/1.484, allocations: 8.669 MB / 1.168 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/1.486, allocations: 1.014 MB / 1.169 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/1.487, allocations: 0.5066 MB / 1.169 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/1.487, allocations: 105.6 kB / 1.169 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/1.487, allocations: 43.5 kB / 1.169 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 3.106e-06/1.487, allocations: 7.938 kB / 1.169 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.004386/1.492, allocations: 1.456 MB / 1.171 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/1.492, allocations: 59.97 kB / 1.171 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005419/1.497, allocations: 2.979 MB / 1.174 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002062/1.498, allocations: 45.7 kB / 1.174 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/1.499, allocations: 1.276 MB / 1.175 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/1.499, allocations: 260.4 kB / 1.175 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006927/1.5, allocations: 423 kB / 1.176 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.5, allocations: 305.1 kB / 1.176 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/1.502, allocations: 0.8129 MB / 1.177 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/1.504, allocations: 1.318 MB / 1.178 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003305/1.507, allocations: 1.907 MB / 1.18 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.507, allocations: 4 kB / 1.18 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004835/1.512, allocations: 2.396 MB / 1.182 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.512, allocations: 8.469 kB / 1.182 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/1.512, allocations: 16 kB / 1.182 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/1.512, allocations: 23.94 kB / 1.182 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/1.514, allocations: 391.3 kB / 1.183 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000462/1.514, allocations: 0.6055 MB / 1.183 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/1.517, allocations: 234.1 kB / 1.184 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/1.517, allocations: 75.97 kB / 1.184 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002699/1.519, allocations: 1.433 MB / 1.185 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001955/1.521, allocations: 1.286 MB / 1.186 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002985/1.524, allocations: 1.869 MB / 1.188 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.568e-06/1.524, allocations: 0 / 1.188 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004455/1.529, allocations: 2.357 MB / 1.19 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.529, allocations: 12.03 kB / 1.19 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/1.529, allocations: 12 kB / 1.19 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.529, allocations: 20 kB / 1.191 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.53, allocations: 355.4 kB / 1.191 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.699e-05/1.53, allocations: 27.92 kB / 1.191 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/1.533, allocations: 194.8 kB / 1.191 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/1.533, allocations: 67.98 kB / 1.191 GB, free: 4.789 MB / 0.8262 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.0003988/1.533, allocations: 263.8 kB / 1.191 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006882/1.534, allocations: 272.4 kB / 1.192 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/1.537, allocations: 1.13 MB / 1.193 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/1.537, allocations: 12 kB / 1.193 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.537, allocations: 4 kB / 1.193 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002258/1.539, allocations: 0.9178 MB / 1.194 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007531/1.547, allocations: 3.337 MB / 1.197 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.547, allocations: 4 kB / 1.197 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/1.548, allocations: 211.8 kB / 1.197 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/1.548, allocations: 4 kB / 1.197 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.636e-05/1.548, allocations: 23.92 kB / 1.197 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003363/1.549, allocations: 0.5899 MB / 1.198 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.549, allocations: 0 / 1.198 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004215/1.553, allocations: 1.715 MB / 1.199 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/1.554, allocations: 469.4 kB / 1.2 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000771/1.555, allocations: 15.98 kB / 1.2 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/1.557, allocations: 90.67 kB / 1.2 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/1.557, allocations: 40.5 kB / 1.2 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.908e-05/1.557, allocations: 35.97 kB / 1.2 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003767/1.561, allocations: 1.992 MB / 1.202 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/1.561, allocations: 0 / 1.202 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003832/1.564, allocations: 1.263 MB / 1.203 GB, free: 8.188 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.001314/1.566, allocations: 0.5068 MB / 1.204 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005782/1.572, allocations: 2.677 MB / 1.206 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/1.572, allocations: 4.562 kB / 1.206 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.573, allocations: 471.1 kB / 1.207 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006902/1.58, allocations: 1.461 MB / 1.208 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009955/1.59, allocations: 4.858 MB / 1.213 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/1.592, allocations: 1.909 MB / 1.215 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009179/1.593, allocations: 227.3 kB / 1.215 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of SimCode: time 8.11e-07/1.593, allocations: 0 / 1.215 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of Templates: time 0.07934/1.672, allocations: 58.88 MB / 1.273 GB, free: 1.523 MB / 0.9044 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)