Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002439/0.002438, allocations: 355.7 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.484/1.484, allocations: 165.8 MB / 182.5 MB, free: 5.406 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.756/3.756, allocations: 410.7 MB / 0.5995 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00171/0.001709, allocations: 202.1 kB / 0.6662 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.000463, allocations: 12 kB / 0.7423 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3322, allocations: 67.43 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7223/1.055, allocations: 287.3 MB / 1.089 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.04206/1.097, allocations: 22.34 MB / 1.111 GB, free: 3.023 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003769/1.1, allocations: 71.5 kB / 1.111 GB, free: 2.953 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.004891/1.105, allocations: 1.138 MB / 1.112 GB, free: 1.809 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.01464/1.12, allocations: 4.058 MB / 1.116 GB, free: 13.73 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01211/1.132, allocations: 3.256 MB / 1.119 GB, free: 10.51 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01115/1.143, allocations: 6.773 MB / 1.125 GB, free: 3.719 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003583/1.147, allocations: 1.563 MB / 1.127 GB, free: 2.133 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00713/1.154, allocations: 2.423 MB / 1.129 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003753/1.158, allocations: 1.692 MB / 1.131 GB, free: 14 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.000636/1.159, allocations: 92 kB / 1.131 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005813/1.165, allocations: 1.738 MB / 1.133 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001559/1.166, allocations: 0.7397 MB / 1.134 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/1.167, allocations: 0.5122 MB / 1.134 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.006225/1.174, allocations: 3.141 MB / 1.137 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/1.174, allocations: 7.938 kB / 1.137 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.655e-06/1.174, allocations: 0 / 1.137 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.067e-05/1.174, allocations: 0 / 1.137 GB, free: 7.75 MB / 0.5886 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.006392/1.18, allocations: 2.515 MB / 1.14 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.18, allocations: 8.031 kB / 1.14 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00731/1.188, allocations: 0.875 MB / 1.14 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00506/1.193, allocations: 1.738 MB / 1.142 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005382/1.193, allocations: 186.5 kB / 1.142 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004595/1.194, allocations: 148 kB / 1.142 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005148/1.199, allocations: 1.706 MB / 1.144 GB, free: 392 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.042e-05/1.199, allocations: 11.98 kB / 1.144 GB, free: 380 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/1.199, allocations: 56 kB / 1.144 GB, free: 324 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.933e-05/1.199, allocations: 46.61 kB / 1.144 GB, free: 276 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006061/1.205, allocations: 1.494 MB / 1.146 GB, free: 14.77 MB / 0.6042 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.01664/1.222, allocations: 7.848 MB / 1.153 GB, free: 6.324 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003368/1.225, allocations: 1.16 MB / 1.154 GB, free: 5.121 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/1.227, allocations: 0.5608 MB / 1.155 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/1.228, allocations: 109.7 kB / 1.155 GB, free: 4.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/1.228, allocations: 43.22 kB / 1.155 GB, free: 4.379 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001179/1.229, allocations: 195 kB / 1.155 GB, free: 4.188 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=77): time 4.351e-06/1.229, allocations: 0 / 1.155 GB, free: 4.188 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77): time 0.005815/1.235, allocations: 1.546 MB / 1.157 GB, free: 2.633 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/1.235, allocations: 60.06 kB / 1.157 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003632/1.239, allocations: 1.804 MB / 1.159 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002111/1.239, allocations: 45.7 kB / 1.159 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.3191/1.558, allocations: 0.9652 MB / 1.16 GB, free: 256.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/1.558, allocations: 271 kB / 1.16 GB, free: 256.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.235e-05/1.559, allocations: 23.72 kB / 1.16 GB, free: 256.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.559, allocations: 345.7 kB / 1.16 GB, free: 256.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/1.561, allocations: 478.7 kB / 1.161 GB, free: 256.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/1.563, allocations: 0.8942 MB / 1.162 GB, free: 255.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/1.565, allocations: 0.5641 MB / 1.162 GB, free: 255.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/1.565, allocations: 2.156 kB / 1.162 GB, free: 255.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005279/1.57, allocations: 1.49 MB / 1.164 GB, free: 255 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002172/1.571, allocations: 384.9 kB / 1.164 GB, free: 254.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/1.571, allocations: 12.28 kB / 1.164 GB, free: 254.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.35e-05/1.571, allocations: 18.66 kB / 1.164 GB, free: 254.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/1.573, allocations: 305.1 kB / 1.164 GB, free: 254.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004028/1.573, allocations: 0.6088 MB / 1.165 GB, free: 253.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/1.576, allocations: 177.1 kB / 1.165 GB, free: 253.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/1.576, allocations: 54.16 kB / 1.165 GB, free: 253.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/1.576, allocations: 6.5 kB / 1.165 GB, free: 253.9 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003346/1.579, allocations: 1.178 MB / 1.166 GB, free: 253.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/1.579, allocations: 9.375 kB / 1.166 GB, free: 253.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/1.579, allocations: 16.59 kB / 1.166 GB, free: 253.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/1.581, allocations: 266.7 kB / 1.167 GB, free: 253.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.03e-05/1.581, allocations: 21.64 kB / 1.167 GB, free: 253.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/1.583, allocations: 155.8 kB / 1.167 GB, free: 253.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/1.583, allocations: 50.47 kB / 1.167 GB, free: 253.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (125): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001277/1.584, allocations: 0.5811 MB / 1.167 GB, free: 253.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/1.585, allocations: 194 kB / 1.168 GB, free: 253 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/1.589, allocations: 1.199 MB / 1.169 GB, free: 252.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/1.589, allocations: 7.406 kB / 1.169 GB, free: 252.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.476e-06/1.589, allocations: 1.281 kB / 1.169 GB, free: 252.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003639/1.593, allocations: 1.032 MB / 1.17 GB, free: 252.1 MB / 0.6042 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 postOpt removeSimpleEquations (simulation): time 0.007965/1.601, allocations: 3.029 MB / 1.173 GB, free: 250.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/1.601, allocations: 6.156 kB / 1.173 GB, free: 250.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/1.603, allocations: 241.2 kB / 1.173 GB, free: 250.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/1.603, allocations: 3.969 kB / 1.173 GB, free: 250.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/1.603, allocations: 23.45 kB / 1.173 GB, free: 250.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002832/1.603, allocations: 0.5968 MB / 1.173 GB, free: 250.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.481e-06/1.603, allocations: 7.188 kB / 1.173 GB, free: 250.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005572/1.609, allocations: 1.825 MB / 1.175 GB, free: 249.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/1.61, allocations: 361.8 kB / 1.176 GB, free: 249.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/1.61, allocations: 15.94 kB / 1.176 GB, free: 249.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/1.612, allocations: 165.5 kB / 1.176 GB, free: 249.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.612, allocations: 49.27 kB / 1.176 GB, free: 249.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-05/1.612, allocations: 33.86 kB / 1.176 GB, free: 249 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002194/1.614, allocations: 1.215 MB / 1.177 GB, free: 248.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.032e-06/1.614, allocations: 0 / 1.177 GB, free: 248.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003362/1.618, allocations: 0.9863 MB / 1.178 GB, free: 248.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009369/1.619, allocations: 367.3 kB / 1.178 GB, free: 248.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005496/1.624, allocations: 1.752 MB / 1.18 GB, free: 247 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.241e-06/1.624, allocations: 0 / 1.18 GB, free: 247 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/1.626, allocations: 0.5154 MB / 1.181 GB, free: 246.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005461/1.632, allocations: 1.046 MB / 1.182 GB, free: 245.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007446/1.639, allocations: 4.272 MB / 1.186 GB, free: 241.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/1.64, allocations: 1.611 MB / 1.187 GB, free: 239.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002887/1.643, allocations: 484.3 kB / 1.188 GB, free: 239.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006202/1.644, allocations: 155.4 kB / 1.188 GB, free: 238.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.942e-06/1.644, allocations: 0 / 1.188 GB, free: 238.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.07634/1.72, allocations: 37.44 MB / 1.225 GB, free: 201.9 MB / 0.6042 GB