Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001176, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.52 kB / 0.6716 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2448, allocations: 114.5 MB / 0.7835 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7642/1.009, allocations: 323.8 MB / 1.1 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03277/1.042, allocations: 22.92 MB / 1.122 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004451/1.046, allocations: 95.44 kB / 1.122 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004787/1.051, allocations: 1.511 MB / 1.124 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01402/1.065, allocations: 4.206 MB / 1.128 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006586/1.072, allocations: 2.319 MB / 1.13 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008596/1.08, allocations: 5.898 MB / 1.136 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003405/1.084, allocations: 2.159 MB / 1.138 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006944/1.091, allocations: 3.188 MB / 1.141 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004067/1.095, allocations: 1.715 MB / 1.143 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007978/1.096, allocations: 220 kB / 1.143 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007764/1.104, allocations: 3.68 MB / 1.146 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001181/1.105, allocations: 0.8647 MB / 1.147 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001926/1.107, allocations: 1.33 MB / 1.149 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007612/1.114, allocations: 4.686 MB / 1.153 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.114, allocations: 4 kB / 1.153 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.585e-06/1.114, allocations: 0 / 1.153 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.384e-05/1.114, allocations: 0 / 1.153 GB, free: 12.45 MB / 0.8731 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.005139/1.12, allocations: 2.952 MB / 1.156 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.12, allocations: 8.031 kB / 1.156 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002362/1.12, allocations: 206.5 kB / 1.156 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005532/1.125, allocations: 0.8436 MB / 1.157 GB, free: 8.367 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/1.13, allocations: 1.819 MB / 1.159 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004067/1.13, allocations: 166.6 kB / 1.159 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/1.13, allocations: 151.9 kB / 1.159 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003766/1.134, allocations: 1.654 MB / 1.161 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/1.134, allocations: 4 kB / 1.161 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/1.134, allocations: 63.98 kB / 1.161 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.596e-05/1.134, allocations: 54.56 kB / 1.161 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/1.138, allocations: 1.357 MB / 1.162 GB, free: 2.953 MB / 0.8731 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.01153/1.149, allocations: 7.912 MB / 1.17 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/1.151, allocations: 1.012 MB / 1.171 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/1.152, allocations: 496.9 kB / 1.171 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/1.153, allocations: 109.7 kB / 1.172 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/1.153, allocations: 39.22 kB / 1.172 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=72): time 2.935e-06/1.153, allocations: 0 / 1.172 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=72): time 0.003819/1.157, allocations: 1.347 MB / 1.173 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/1.157, allocations: 67.98 kB / 1.173 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/1.159, allocations: 1.789 MB / 1.175 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/1.159, allocations: 41.7 kB / 1.175 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007294/1.16, allocations: 0.9839 MB / 1.176 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/1.16, allocations: 256.2 kB / 1.176 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/1.161, allocations: 222.5 kB / 1.176 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.161, allocations: 345.9 kB / 1.176 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/1.162, allocations: 448.6 kB / 1.177 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/1.163, allocations: 0.8343 MB / 1.178 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/1.166, allocations: 1.211 MB / 1.179 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/1.166, allocations: 0 / 1.179 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003301/1.169, allocations: 1.413 MB / 1.18 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/1.169, allocations: 12.09 kB / 1.18 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/1.169, allocations: 8 kB / 1.18 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/1.169, allocations: 16 kB / 1.18 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.17, allocations: 276.3 kB / 1.181 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004768/1.171, allocations: 0.6132 MB / 1.181 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/1.172, allocations: 136.3 kB / 1.181 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/1.173, allocations: 55.97 kB / 1.181 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001647/1.174, allocations: 0.8181 MB / 1.182 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0012/1.175, allocations: 0.7835 MB / 1.183 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001981/1.177, allocations: 1.114 MB / 1.184 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.823e-06/1.177, allocations: 4 kB / 1.184 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.00289/1.18, allocations: 1.3 MB / 1.185 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.18, allocations: 10.97 kB / 1.185 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.18, allocations: 12 kB / 1.185 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.18, allocations: 15.98 kB / 1.185 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009736/1.181, allocations: 247.7 kB / 1.186 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/1.181, allocations: 23.86 kB / 1.186 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/1.183, allocations: 116.6 kB / 1.186 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.402e-05/1.183, allocations: 55.98 kB / 1.186 GB, free: 9.453 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (120): * Single equations (assignments): 117 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0003001/1.183, allocations: 243.9 kB / 1.186 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/1.183, allocations: 193.6 kB / 1.186 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/1.186, allocations: 1.067 MB / 1.187 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.186, allocations: 11.94 kB / 1.187 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.186, allocations: 0 / 1.187 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001985/1.188, allocations: 0.8905 MB / 1.188 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00526/1.193, allocations: 2.859 MB / 1.191 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/1.193, allocations: 4 kB / 1.191 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.195, allocations: 211.8 kB / 1.191 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/1.195, allocations: 4 kB / 1.191 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/1.195, allocations: 19.98 kB / 1.191 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002874/1.195, allocations: 0.5976 MB / 1.192 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.195, allocations: 4 kB / 1.192 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/1.198, allocations: 1.62 MB / 1.193 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006642/1.199, allocations: 358.5 kB / 1.194 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/1.199, allocations: 19.94 kB / 1.194 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009641/1.2, allocations: 51.95 kB / 1.194 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.2, allocations: 56.44 kB / 1.194 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/1.2, allocations: 27.97 kB / 1.194 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001611/1.202, allocations: 1.22 MB / 1.195 GB, free: 15.75 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.202, allocations: 0 / 1.195 GB, free: 15.75 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002342/1.204, allocations: 0.9507 MB / 1.196 GB, free: 14.8 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (74): * Single equations (assignments): 73 * 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.004508/1.209, allocations: 2.434 MB / 1.198 GB, free: 12.33 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004232/1.213, allocations: 1.68 MB / 1.2 GB, free: 10.65 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.213, allocations: 0 / 1.2 GB, free: 10.65 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.214, allocations: 467.4 kB / 1.2 GB, free: 10.2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004544/1.219, allocations: 1.052 MB / 1.201 GB, free: 9.168 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02106/1.24, allocations: 14.72 MB / 1.216 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.241, allocations: 1.554 MB / 1.217 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002009/1.243, allocations: 484.5 kB / 1.218 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.244, allocations: 0.8312 MB / 1.219 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of SimCode: time 7.52e-07/1.244, allocations: 0 / 1.219 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09301/1.337, allocations: 52.52 MB / 1.27 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/14.11, allocations: 21.94 kB / 1.27 GB, free: 2.578 MB / 0.9825 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)