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.436/1.436, allocations: 252 MB / 267 MB, free: 10.96 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.001068/0.001068, allocations: 188.8 kB / 326.6 MB, free: 2.219 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.985/1.985, allocations: 205.4 MB / 0.5776 GB, free: 20.59 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.0008036/0.0008036, allocations: 97.78 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.000366, allocations: 10.38 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.252, allocations: 106.4 MB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9687/1.221, allocations: 296.6 MB / 1.19 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03639/1.257, allocations: 21.59 MB / 1.211 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00461/1.262, allocations: 75.03 kB / 1.211 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00414/1.266, allocations: 0.9687 MB / 1.212 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01224/1.278, allocations: 3.149 MB / 1.215 GB, free: 176 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.007064/1.285, allocations: 1.801 MB / 1.217 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01136/1.297, allocations: 6.81 MB / 1.224 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003503/1.3, allocations: 1.587 MB / 1.225 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007236/1.308, allocations: 2.529 MB / 1.228 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00453/1.312, allocations: 1.72 MB / 1.229 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005707/1.313, allocations: 92 kB / 1.229 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007152/1.32, allocations: 2.21 MB / 1.231 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001304/1.321, allocations: 0.7514 MB / 1.232 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001354/1.323, allocations: 0.5083 MB / 1.233 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.006104/1.329, allocations: 3.347 MB / 1.236 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/1.329, allocations: 0 / 1.236 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.725e-06/1.329, allocations: 4 kB / 1.236 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.829e-05/1.329, allocations: 0 / 1.236 GB, free: 10.88 MB / 0.7605 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.005561/1.334, allocations: 2.582 MB / 1.239 GB, free: 8.23 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 8.305e-05/1.335, allocations: 8.031 kB / 1.239 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003213/1.335, allocations: 198.6 kB / 1.239 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005327/1.34, allocations: 0.8633 MB / 1.24 GB, free: 7.152 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/1.344, allocations: 1.735 MB / 1.241 GB, free: 5.344 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004029/1.344, allocations: 182.6 kB / 1.241 GB, free: 5.164 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/1.345, allocations: 144 kB / 1.242 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003698/1.348, allocations: 1.721 MB / 1.243 GB, free: 3.246 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/1.348, allocations: 11.95 kB / 1.243 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/1.349, allocations: 52 kB / 1.243 GB, free: 3.184 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/1.349, allocations: 50.62 kB / 1.243 GB, free: 3.133 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/1.352, allocations: 1.501 MB / 1.245 GB, free: 1.625 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 preOpt removeSimpleEquations (simulation): time 0.01269/1.365, allocations: 7.844 MB / 1.252 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/1.367, allocations: 1.138 MB / 1.254 GB, free: 8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/1.369, allocations: 0.5646 MB / 1.254 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/1.369, allocations: 117.7 kB / 1.254 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/1.369, allocations: 39.22 kB / 1.254 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001174/1.37, allocations: 195.1 kB / 1.254 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=77): time 3.567e-06/1.37, allocations: 0 / 1.254 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of matching and sorting (n=77): time 0.004009/1.374, allocations: 1.53 MB / 1.256 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/1.374, allocations: 68.02 kB / 1.256 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/1.377, allocations: 1.804 MB / 1.258 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/1.377, allocations: 41.7 kB / 1.258 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008408/1.378, allocations: 0.9762 MB / 1.259 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000266/1.378, allocations: 272 kB / 1.259 GB, free: 2.305 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/1.378, allocations: 20 kB / 1.259 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002138/1.378, allocations: 349.9 kB / 1.259 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/1.38, allocations: 485.9 kB / 1.26 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/1.381, allocations: 0.8858 MB / 1.261 GB, free: 392 kB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/1.383, allocations: 0.565 MB / 1.261 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/1.383, allocations: 4 kB / 1.261 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003459/1.386, allocations: 1.483 MB / 1.263 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002849/1.386, allocations: 389.9 kB / 1.263 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.386, allocations: 8 kB / 1.263 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.95e-05/1.387, allocations: 19.98 kB / 1.263 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/1.388, allocations: 303.5 kB / 1.263 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004331/1.388, allocations: 0.6171 MB / 1.264 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/1.39, allocations: 173.1 kB / 1.264 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/1.391, allocations: 55.98 kB / 1.264 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/1.391, allocations: 4 kB / 1.264 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002264/1.393, allocations: 1.168 MB / 1.265 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.393, allocations: 15.94 kB / 1.265 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/1.393, allocations: 19.95 kB / 1.265 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009761/1.394, allocations: 263.9 kB / 1.266 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/1.394, allocations: 15.94 kB / 1.266 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/1.396, allocations: 161 kB / 1.266 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.157e-05/1.396, allocations: 48 kB / 1.266 GB, free: 10.94 MB / 0.7917 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.001183/1.397, allocations: 0.5865 MB / 1.266 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/1.397, allocations: 193.6 kB / 1.267 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/1.4, allocations: 1.197 MB / 1.268 GB, free: 8.945 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/1.4, allocations: 8 kB / 1.268 GB, free: 8.938 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/1.4, allocations: 0 / 1.268 GB, free: 8.938 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002308/1.403, allocations: 1.015 MB / 1.269 GB, free: 7.891 MB / 0.7917 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.006316/1.409, allocations: 3.05 MB / 1.272 GB, free: 4.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.409, allocations: 0 / 1.272 GB, free: 4.73 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/1.41, allocations: 231.9 kB / 1.272 GB, free: 4.504 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/1.41, allocations: 7.984 kB / 1.272 GB, free: 4.496 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/1.41, allocations: 23.98 kB / 1.272 GB, free: 4.473 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003323/1.411, allocations: 0.5976 MB / 1.273 GB, free: 3.852 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.411, allocations: 11.91 kB / 1.273 GB, free: 3.84 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004112/1.415, allocations: 1.807 MB / 1.274 GB, free: 2 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009274/1.416, allocations: 370.5 kB / 1.275 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/1.416, allocations: 20 kB / 1.275 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/1.417, allocations: 166.5 kB / 1.275 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.418, allocations: 56.61 kB / 1.275 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/1.418, allocations: 27.98 kB / 1.275 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002/1.42, allocations: 1.227 MB / 1.276 GB, free: 112 kB / 0.7917 GB Notification: Performance of sort global known variables: time 1.41e-07/1.42, allocations: 0 / 1.276 GB, free: 112 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003361/1.423, allocations: 0.9781 MB / 1.277 GB, free: 15.12 MB / 0.8073 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.005758/1.429, allocations: 2.614 MB / 1.28 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004752/1.434, allocations: 1.738 MB / 1.281 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.434, allocations: 4 kB / 1.281 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/1.435, allocations: 0.5168 MB / 1.282 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0056/1.441, allocations: 1.05 MB / 1.283 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02739/1.468, allocations: 12.63 MB / 1.295 GB, free: 11.59 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.47, allocations: 1.562 MB / 1.297 GB, free: 9.996 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00268/1.472, allocations: 496.6 kB / 1.297 GB, free: 9.508 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/1.474, allocations: 0.8507 MB / 1.298 GB, free: 8.656 MB / 0.823 GB Notification: Performance of SimCode: time 1.944e-06/1.474, allocations: 0 / 1.298 GB, free: 8.656 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/1.596, allocations: 55.97 MB / 1.353 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/1.597, allocations: 269.2 kB / 1.353 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.161/5.757, allocations: 0 / 1.353 GB, free: 0.7852 MB / 0.8698 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)