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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 177.6 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.4 MB / 0.5775 GB, free: 20.32 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008723/0.0008726, allocations: 94.28 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003485, allocations: 12.36 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2707, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9235/1.194, allocations: 262.9 MB / 1.157 GB, free: 1.648 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03507/1.229, allocations: 21.19 MB / 1.178 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004643/1.234, allocations: 74.88 kB / 1.178 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005814/1.24, allocations: 1.305 MB / 1.179 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01554/1.256, allocations: 3.784 MB / 1.183 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01108/1.267, allocations: 3.242 MB / 1.186 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.009188/1.276, allocations: 3.437 MB / 1.189 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003575/1.279, allocations: 1.621 MB / 1.191 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006259/1.286, allocations: 2.22 MB / 1.193 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003341/1.289, allocations: 1.161 MB / 1.194 GB, free: 364 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006322/1.29, allocations: 97.34 kB / 1.194 GB, free: 360 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006559/1.296, allocations: 1.808 MB / 1.196 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001594/1.298, allocations: 0.6738 MB / 1.197 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001437/1.299, allocations: 0.5121 MB / 1.197 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006193/1.306, allocations: 3.125 MB / 1.2 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.306, allocations: 0 / 1.2 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.346e-06/1.306, allocations: 0 / 1.2 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.898e-05/1.306, allocations: 0 / 1.2 GB, free: 11.12 MB / 0.7292 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.005344/1.311, allocations: 2.5 MB / 1.203 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.311, allocations: 12.03 kB / 1.203 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003266/1.311, allocations: 198.6 kB / 1.203 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005284/1.317, allocations: 0.8594 MB / 1.204 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/1.321, allocations: 1.812 MB / 1.205 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003853/1.321, allocations: 182.6 kB / 1.206 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/1.322, allocations: 148 kB / 1.206 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/1.325, allocations: 1.694 MB / 1.207 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/1.325, allocations: 0 / 1.207 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/1.325, allocations: 56 kB / 1.207 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.961e-05/1.325, allocations: 50.62 kB / 1.207 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003529/1.329, allocations: 1.482 MB / 1.209 GB, free: 1.922 MB / 0.7292 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.0112/1.34, allocations: 7.803 MB / 1.217 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/1.342, allocations: 1.107 MB / 1.218 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.999e-05/1.342, allocations: 24.86 kB / 1.218 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/1.343, allocations: 43.22 kB / 1.218 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001162/1.344, allocations: 199.1 kB / 1.218 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=77): time 3.366e-06/1.344, allocations: 0 / 1.218 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77): time 0.004092/1.348, allocations: 1.503 MB / 1.219 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/1.348, allocations: 60.06 kB / 1.219 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002472/1.35, allocations: 1.777 MB / 1.221 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/1.351, allocations: 49.7 kB / 1.221 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007873/1.351, allocations: 0.9799 MB / 1.222 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/1.352, allocations: 268.1 kB / 1.222 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/1.352, allocations: 20 kB / 1.222 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.352, allocations: 345.9 kB / 1.223 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/1.353, allocations: 470 kB / 1.223 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/1.355, allocations: 0.8702 MB / 1.224 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/1.356, allocations: 0.5494 MB / 1.225 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/1.356, allocations: 4 kB / 1.225 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003626/1.36, allocations: 1.472 MB / 1.226 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001581/1.361, allocations: 3.962 MB / 1.23 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/1.361, allocations: 8 kB / 1.23 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.659e-05/1.361, allocations: 19.98 kB / 1.23 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/1.363, allocations: 315.5 kB / 1.23 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004146/1.363, allocations: 0.6055 MB / 1.231 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/1.366, allocations: 179.9 kB / 1.231 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/1.366, allocations: 59.97 kB / 1.231 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.366, allocations: 4 kB / 1.231 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002678/1.369, allocations: 1.148 MB / 1.232 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/1.369, allocations: 15.94 kB / 1.232 GB, free: 8.875 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/1.369, allocations: 16 kB / 1.232 GB, free: 8.859 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.37, allocations: 267.7 kB / 1.232 GB, free: 8.598 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/1.37, allocations: 19.94 kB / 1.232 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/1.372, allocations: 160.9 kB / 1.233 GB, free: 8.422 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/1.372, allocations: 51.98 kB / 1.233 GB, free: 8.371 MB / 0.7605 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.001554/1.374, allocations: 0.5879 MB / 1.233 GB, free: 7.773 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005926/1.374, allocations: 193.6 kB / 1.233 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003356/1.378, allocations: 1.181 MB / 1.235 GB, free: 6.395 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.378, allocations: 7.953 kB / 1.235 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.378, allocations: 4 kB / 1.235 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002347/1.38, allocations: 1.007 MB / 1.236 GB, free: 5.344 MB / 0.7605 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.006349/1.387, allocations: 2.96 MB / 1.238 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.387, allocations: 7.984 kB / 1.238 GB, free: 2.277 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/1.388, allocations: 235.9 kB / 1.239 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/1.388, allocations: 4 kB / 1.239 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/1.388, allocations: 27.98 kB / 1.239 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000345/1.388, allocations: 0.5899 MB / 1.239 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.388, allocations: 0 / 1.239 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004205/1.392, allocations: 1.877 MB / 1.241 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009805/1.393, allocations: 370.5 kB / 1.241 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003926/1.394, allocations: 12 kB / 1.241 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/1.395, allocations: 175.6 kB / 1.242 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/1.395, allocations: 48.59 kB / 1.242 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.3e-05/1.396, allocations: 35.97 kB / 1.242 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001948/1.397, allocations: 1.208 MB / 1.243 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/1.398, allocations: 0 / 1.243 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002943/1.4, allocations: 0.9742 MB / 1.244 GB, free: 12.61 MB / 0.7761 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.005311/1.406, allocations: 2.982 MB / 1.247 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004411/1.41, allocations: 1.711 MB / 1.248 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.41, allocations: 4 kB / 1.248 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/1.412, allocations: 0.5045 MB / 1.249 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005314/1.417, allocations: 1.034 MB / 1.25 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/1.432, allocations: 11.8 MB / 1.261 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/1.434, allocations: 1.613 MB / 1.263 GB, free: 8.617 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002962/1.437, allocations: 0.4889 MB / 1.264 GB, free: 8.125 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/1.439, allocations: 0.8507 MB / 1.264 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of SimCode: time 8.41e-07/1.439, allocations: 4 kB / 1.264 GB, free: 7.27 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/1.548, allocations: 54.41 MB / 1.317 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/1.549, allocations: 259.7 kB / 1.318 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.789/5.338, allocations: 0 / 1.318 GB, free: 0.9453 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)