Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.782/1.782, allocations: 288.4 MB / 303.3 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 180.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.942/1.942, allocations: 205.4 MB / 0.6307 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009034/0.0009034, allocations: 90.23 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004818, allocations: 12.75 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2768, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9404/1.217, allocations: 296 MB / 1.269 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.03137/1.249, allocations: 21.49 MB / 1.29 GB, free: 13.01 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004004/1.253, allocations: 75.5 kB / 1.29 GB, free: 12.93 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.004374/1.257, allocations: 0.9589 MB / 1.291 GB, free: 11.97 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/1.267, allocations: 3.099 MB / 1.294 GB, free: 8.859 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005961/1.273, allocations: 1.786 MB / 1.295 GB, free: 7.09 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00978/1.283, allocations: 6.759 MB / 1.302 GB, free: 324 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003171/1.286, allocations: 1.564 MB / 1.304 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006644/1.293, allocations: 2.552 MB / 1.306 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/1.297, allocations: 1.685 MB / 1.308 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0005056/1.297, allocations: 92 kB / 1.308 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008149/1.306, allocations: 2.21 MB / 1.31 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00192/1.307, allocations: 0.7475 MB / 1.311 GB, free: 7.426 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001788/1.309, allocations: 0.5083 MB / 1.311 GB, free: 6.91 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.006761/1.316, allocations: 3.328 MB / 1.314 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.316, allocations: 0 / 1.314 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.414e-06/1.316, allocations: 4 kB / 1.314 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.343e-05/1.316, allocations: 0 / 1.314 GB, free: 3.57 MB / 0.8386 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.005002/1.321, allocations: 2.563 MB / 1.317 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.321, allocations: 16.02 kB / 1.317 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002731/1.322, allocations: 198.6 kB / 1.317 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005413/1.327, allocations: 0.8749 MB / 1.318 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003662/1.331, allocations: 1.734 MB / 1.32 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004097/1.331, allocations: 178.6 kB / 1.32 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/1.331, allocations: 151.9 kB / 1.32 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003454/1.335, allocations: 1.713 MB / 1.322 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/1.335, allocations: 0 / 1.322 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/1.335, allocations: 52 kB / 1.322 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-05/1.335, allocations: 62.53 kB / 1.322 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003509/1.339, allocations: 1.497 MB / 1.323 GB, free: 10.33 MB / 0.8542 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.0108/1.349, allocations: 7.832 MB / 1.331 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/1.352, allocations: 1.158 MB / 1.332 GB, free: 0.6953 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/1.353, allocations: 0.561 MB / 1.333 GB, free: 136 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/1.353, allocations: 113.7 kB / 1.333 GB, free: 4 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/1.353, allocations: 39.22 kB / 1.333 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001054/1.354, allocations: 199.1 kB / 1.333 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=77): time 2.906e-06/1.354, allocations: 0 / 1.333 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77): time 0.004069/1.358, allocations: 1.546 MB / 1.334 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/1.359, allocations: 60.06 kB / 1.335 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/1.361, allocations: 1.792 MB / 1.336 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/1.361, allocations: 53.69 kB / 1.336 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008492/1.362, allocations: 0.9762 MB / 1.337 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/1.362, allocations: 272 kB / 1.338 GB, free: 11 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/1.362, allocations: 20 kB / 1.338 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001725/1.363, allocations: 349.9 kB / 1.338 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/1.364, allocations: 481.9 kB / 1.338 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/1.365, allocations: 0.8975 MB / 1.339 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/1.367, allocations: 0.5728 MB / 1.34 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/1.367, allocations: 4 kB / 1.34 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003348/1.37, allocations: 1.483 MB / 1.341 GB, free: 7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002737/1.37, allocations: 382 kB / 1.342 GB, free: 6.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/1.37, allocations: 8 kB / 1.342 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/1.37, allocations: 16 kB / 1.342 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/1.372, allocations: 311.5 kB / 1.342 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004026/1.372, allocations: 0.617 MB / 1.343 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/1.374, allocations: 174.8 kB / 1.343 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.374, allocations: 51.98 kB / 1.343 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/1.374, allocations: 4 kB / 1.343 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00231/1.377, allocations: 1.175 MB / 1.344 GB, free: 4.129 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.377, allocations: 12 kB / 1.344 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.377, allocations: 20.28 kB / 1.344 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009885/1.378, allocations: 255.6 kB / 1.344 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/1.378, allocations: 23.92 kB / 1.344 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1.379, allocations: 153 kB / 1.344 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.804e-05/1.38, allocations: 51.98 kB / 1.344 GB, free: 3.625 MB / 0.8698 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.001174/1.381, allocations: 0.5826 MB / 1.345 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/1.381, allocations: 193.6 kB / 1.345 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/1.384, allocations: 1.204 MB / 1.346 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/1.384, allocations: 8 kB / 1.346 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.384, allocations: 0 / 1.346 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002308/1.386, allocations: 1.019 MB / 1.347 GB, free: 0.5703 MB / 0.8698 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.006115/1.393, allocations: 3.046 MB / 1.35 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.393, allocations: 0 / 1.35 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/1.394, allocations: 239.7 kB / 1.351 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/1.394, allocations: 4 kB / 1.351 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/1.394, allocations: 31.97 kB / 1.351 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002915/1.394, allocations: 0.5899 MB / 1.351 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.394, allocations: 11.92 kB / 1.351 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004063/1.398, allocations: 1.819 MB / 1.353 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009359/1.399, allocations: 362.6 kB / 1.353 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/1.399, allocations: 19.98 kB / 1.353 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.401, allocations: 159.7 kB / 1.353 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/1.401, allocations: 60.48 kB / 1.353 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/1.401, allocations: 27.97 kB / 1.354 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001943/1.403, allocations: 1.219 MB / 1.355 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.51e-07/1.403, allocations: 0 / 1.355 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002723/1.406, allocations: 0.982 MB / 1.356 GB, free: 7.809 MB / 0.8855 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.005068/1.411, allocations: 2.62 MB / 1.358 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004218/1.415, allocations: 1.743 MB / 1.36 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.339e-05/1.415, allocations: 4.188 kB / 1.36 GB, free: 3.406 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/1.416, allocations: 0.5192 MB / 1.36 GB, free: 2.883 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005492/1.422, allocations: 1.06 MB / 1.361 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/1.447, allocations: 12.62 MB / 1.374 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/1.448, allocations: 1.566 MB / 1.375 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002371/1.451, allocations: 484.5 kB / 1.376 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/1.452, allocations: 0.8546 MB / 1.377 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of SimCode: time 9.51e-07/1.452, allocations: 0 / 1.377 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5934/2.045, allocations: 56.01 MB / 1.431 GB, free: 346.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/2.045, allocations: 273.9 kB / 1.432 GB, free: 346.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.486/6.532, allocations: 3.906 kB / 1.432 GB, free: 346.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)