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.001662/0.001662, allocations: 109.4 kB / 15.69 MB, free: 128 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.001775/0.001775, allocations: 189.6 kB / 16.62 MB, free: 6.613 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.347/1.347, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.622/1.622, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001335/0.001335, allocations: 69.77 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2027, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.776/0.9787, allocations: 323.8 MB / 1.1 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03208/1.011, allocations: 22.92 MB / 1.122 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004015/1.015, allocations: 91.5 kB / 1.122 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004905/1.02, allocations: 1.507 MB / 1.124 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01222/1.032, allocations: 4.206 MB / 1.128 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00588/1.038, allocations: 2.341 MB / 1.13 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009401/1.047, allocations: 5.907 MB / 1.136 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003465/1.051, allocations: 2.146 MB / 1.138 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007853/1.059, allocations: 3.203 MB / 1.141 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003843/1.063, allocations: 1.723 MB / 1.143 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004255/1.063, allocations: 216 kB / 1.143 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008065/1.071, allocations: 3.683 MB / 1.147 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001288/1.073, allocations: 0.8686 MB / 1.147 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002338/1.075, allocations: 1.326 MB / 1.149 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007959/1.083, allocations: 4.733 MB / 1.153 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.083, allocations: 0 / 1.153 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.824e-06/1.083, allocations: 4 kB / 1.153 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.301e-05/1.083, allocations: 0 / 1.153 GB, free: 12.18 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.004902/1.088, allocations: 2.944 MB / 1.156 GB, free: 9.172 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.088, allocations: 12.03 kB / 1.156 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002342/1.088, allocations: 202.5 kB / 1.156 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/1.093, allocations: 0.8397 MB / 1.157 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/1.097, allocations: 1.893 MB / 1.159 GB, free: 6.141 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.986e-05/1.097, allocations: 114.7 kB / 1.159 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/1.097, allocations: 151.9 kB / 1.159 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00307/1.1, allocations: 1.65 MB / 1.161 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/1.1, allocations: 3.938 kB / 1.161 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/1.1, allocations: 60 kB / 1.161 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/1.1, allocations: 54.56 kB / 1.161 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002999/1.103, allocations: 1.349 MB / 1.162 GB, free: 2.688 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.01003/1.113, allocations: 7.834 MB / 1.17 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/1.115, allocations: 1.008 MB / 1.171 GB, free: 9.203 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/1.116, allocations: 493 kB / 1.172 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/1.117, allocations: 109.7 kB / 1.172 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/1.117, allocations: 47.22 kB / 1.172 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=72): time 2.514e-06/1.117, allocations: 4 kB / 1.172 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of matching and sorting (n=72): time 0.003448/1.12, allocations: 1.327 MB / 1.173 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/1.12, allocations: 64.06 kB / 1.173 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/1.122, allocations: 1.789 MB / 1.175 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.902e-05/1.122, allocations: 45.7 kB / 1.175 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007624/1.123, allocations: 0.98 MB / 1.176 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/1.123, allocations: 256.2 kB / 1.176 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003425/1.124, allocations: 210.5 kB / 1.176 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.124, allocations: 345.9 kB / 1.177 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009997/1.125, allocations: 452.6 kB / 1.177 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/1.126, allocations: 0.8342 MB / 1.178 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/1.129, allocations: 1.196 MB / 1.179 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.129, allocations: 0 / 1.179 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002772/1.131, allocations: 1.409 MB / 1.18 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.131, allocations: 12 kB / 1.18 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.131, allocations: 8 kB / 1.18 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/1.131, allocations: 16 kB / 1.18 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.133, allocations: 273.2 kB / 1.181 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003777/1.133, allocations: 0.6016 MB / 1.181 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/1.134, allocations: 144.2 kB / 1.181 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/1.134, allocations: 51.98 kB / 1.181 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001558/1.136, allocations: 0.8142 MB / 1.182 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00115/1.137, allocations: 0.7873 MB / 1.183 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001918/1.139, allocations: 1.102 MB / 1.184 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.935e-06/1.139, allocations: 4 kB / 1.184 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002354/1.141, allocations: 1.295 MB / 1.185 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.141, allocations: 12 kB / 1.185 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/1.141, allocations: 11.94 kB / 1.185 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/1.141, allocations: 16 kB / 1.185 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008806/1.142, allocations: 248 kB / 1.186 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.142, allocations: 15.94 kB / 1.186 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/1.143, allocations: 123.5 kB / 1.186 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.222e-05/1.143, allocations: 47.98 kB / 1.186 GB, free: 9.352 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.0002743/1.144, allocations: 244 kB / 1.186 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/1.144, allocations: 193.5 kB / 1.186 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/1.147, allocations: 1.055 MB / 1.187 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/1.147, allocations: 8 kB / 1.187 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/1.147, allocations: 3.938 kB / 1.187 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001928/1.149, allocations: 0.8788 MB / 1.188 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/1.154, allocations: 2.845 MB / 1.191 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.154, allocations: 4.125 kB / 1.191 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009787/1.155, allocations: 207.7 kB / 1.191 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/1.155, allocations: 4 kB / 1.191 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/1.155, allocations: 23.98 kB / 1.191 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003741/1.155, allocations: 0.5976 MB / 1.192 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.155, allocations: 0 / 1.192 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/1.158, allocations: 1.61 MB / 1.193 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005326/1.159, allocations: 358.5 kB / 1.194 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/1.159, allocations: 23.98 kB / 1.194 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009017/1.16, allocations: 51.98 kB / 1.194 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/1.16, allocations: 52.48 kB / 1.194 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/1.16, allocations: 27.98 kB / 1.194 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0016/1.162, allocations: 1.216 MB / 1.195 GB, free: 15.71 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/1.162, allocations: 3.938 kB / 1.195 GB, free: 15.7 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002423/1.164, allocations: 0.9585 MB / 1.196 GB, free: 14.74 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.004358/1.168, allocations: 2.415 MB / 1.198 GB, free: 12.29 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003707/1.172, allocations: 1.592 MB / 1.2 GB, free: 10.7 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.172, allocations: 0 / 1.2 GB, free: 10.7 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.173, allocations: 456.7 kB / 1.2 GB, free: 10.25 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004337/1.178, allocations: 1.061 MB / 1.201 GB, free: 9.215 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/1.199, allocations: 13.22 MB / 1.214 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/1.201, allocations: 1.562 MB / 1.216 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00186/1.203, allocations: 484.5 kB / 1.216 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.204, allocations: 0.8351 MB / 1.217 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/1.204, allocations: 0 / 1.217 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08895/1.293, allocations: 52.54 MB / 1.268 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.1/18.39, allocations: 17.95 kB / 1.268 GB, free: 4.777 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)