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.001506/0.001506, allocations: 101.4 kB / 15.7 MB, free: 28 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.001645/0.001645, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.328/1.328, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.683/1.683, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001639/0.001639, allocations: 68.47 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2456, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7181/0.9637, allocations: 323.8 MB / 1.1 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0324/0.9962, allocations: 22.92 MB / 1.122 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003768/1, allocations: 95.44 kB / 1.122 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004569/1.005, allocations: 1.503 MB / 1.124 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/1.016, allocations: 4.204 MB / 1.128 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005795/1.022, allocations: 2.339 MB / 1.13 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008747/1.031, allocations: 5.916 MB / 1.136 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003545/1.034, allocations: 2.147 MB / 1.138 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006871/1.041, allocations: 3.192 MB / 1.141 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003543/1.045, allocations: 1.725 MB / 1.143 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006978/1.045, allocations: 216 kB / 1.143 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007103/1.053, allocations: 3.691 MB / 1.147 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001365/1.054, allocations: 0.8647 MB / 1.147 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002368/1.056, allocations: 1.326 MB / 1.149 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008518/1.065, allocations: 4.733 MB / 1.153 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.065, allocations: 4 kB / 1.153 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.186e-06/1.065, allocations: 0 / 1.153 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.098e-05/1.065, allocations: 3.938 kB / 1.153 GB, free: 12.2 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.005037/1.07, allocations: 2.936 MB / 1.156 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.07, allocations: 16.03 kB / 1.156 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002368/1.07, allocations: 198.6 kB / 1.156 GB, free: 8.984 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/1.076, allocations: 0.8397 MB / 1.157 GB, free: 8.141 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004077/1.08, allocations: 1.893 MB / 1.159 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/1.08, allocations: 114.7 kB / 1.159 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003168/1.08, allocations: 151.9 kB / 1.159 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003245/1.084, allocations: 1.658 MB / 1.161 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/1.084, allocations: 4 kB / 1.161 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/1.084, allocations: 56 kB / 1.161 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.468e-05/1.084, allocations: 50.58 kB / 1.161 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/1.087, allocations: 1.353 MB / 1.162 GB, free: 2.715 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.01091/1.098, allocations: 7.833 MB / 1.17 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/1.1, allocations: 1.004 MB / 1.171 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/1.101, allocations: 497 kB / 1.172 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/1.101, allocations: 105.8 kB / 1.172 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/1.101, allocations: 47.22 kB / 1.172 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=72): time 2.575e-06/1.101, allocations: 3.938 kB / 1.172 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=72): time 0.003554/1.105, allocations: 1.331 MB / 1.173 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/1.105, allocations: 60.06 kB / 1.173 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/1.107, allocations: 1.785 MB / 1.175 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/1.107, allocations: 49.69 kB / 1.175 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007249/1.108, allocations: 0.9839 MB / 1.176 GB, free: 4.289 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/1.108, allocations: 252.2 kB / 1.176 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/1.109, allocations: 214.5 kB / 1.176 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.109, allocations: 345.8 kB / 1.177 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009993/1.11, allocations: 456.6 kB / 1.177 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/1.111, allocations: 0.8265 MB / 1.178 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/1.113, allocations: 1.203 MB / 1.179 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/1.113, allocations: 0 / 1.179 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002955/1.116, allocations: 1.401 MB / 1.18 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.116, allocations: 12 kB / 1.18 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.116, allocations: 8 kB / 1.18 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/1.116, allocations: 16 kB / 1.18 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.117, allocations: 271.8 kB / 1.181 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003498/1.118, allocations: 0.6055 MB / 1.181 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/1.119, allocations: 144.2 kB / 1.181 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.119, allocations: 55.97 kB / 1.181 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001527/1.121, allocations: 0.8103 MB / 1.182 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001072/1.122, allocations: 0.7835 MB / 1.183 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001797/1.124, allocations: 1.106 MB / 1.184 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.133e-06/1.124, allocations: 4 kB / 1.184 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.00262/1.126, allocations: 1.284 MB / 1.185 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.126, allocations: 15.12 kB / 1.185 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.126, allocations: 11.94 kB / 1.185 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.127, allocations: 16 kB / 1.185 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009137/1.127, allocations: 248 kB / 1.186 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/1.127, allocations: 19.92 kB / 1.186 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.129, allocations: 120.6 kB / 1.186 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/1.129, allocations: 40 kB / 1.186 GB, free: 9.395 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.0003149/1.129, allocations: 254.9 kB / 1.186 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/1.13, allocations: 193.6 kB / 1.186 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/1.132, allocations: 1.051 MB / 1.187 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/1.132, allocations: 11.94 kB / 1.187 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.132, allocations: 3.938 kB / 1.187 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001838/1.134, allocations: 0.8827 MB / 1.188 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004994/1.139, allocations: 2.849 MB / 1.191 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.139, allocations: 3.938 kB / 1.191 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009876/1.14, allocations: 199.7 kB / 1.191 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/1.14, allocations: 16.08 kB / 1.191 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/1.14, allocations: 19.98 kB / 1.191 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002925/1.14, allocations: 0.5898 MB / 1.192 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.14, allocations: 0 / 1.192 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003347/1.144, allocations: 1.614 MB / 1.193 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007712/1.145, allocations: 362.5 kB / 1.194 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/1.145, allocations: 16 kB / 1.194 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009804/1.146, allocations: 51.89 kB / 1.194 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/1.146, allocations: 52.48 kB / 1.194 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/1.146, allocations: 27.98 kB / 1.194 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001711/1.148, allocations: 1.216 MB / 1.195 GB, free: 15.74 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.21e-07/1.148, allocations: 0 / 1.195 GB, free: 15.74 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002469/1.15, allocations: 0.9546 MB / 1.196 GB, free: 14.79 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.004347/1.155, allocations: 2.426 MB / 1.198 GB, free: 12.32 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003736/1.158, allocations: 1.592 MB / 1.2 GB, free: 10.73 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.158, allocations: 1.75 kB / 1.2 GB, free: 10.73 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/1.16, allocations: 463 kB / 1.2 GB, free: 10.28 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004396/1.164, allocations: 1.05 MB / 1.201 GB, free: 9.25 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/1.185, allocations: 13.22 MB / 1.214 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.186, allocations: 1.562 MB / 1.216 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001768/1.188, allocations: 488.4 kB / 1.216 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.189, allocations: 0.8273 MB / 1.217 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of SimCode: time 7.52e-07/1.189, allocations: 0 / 1.217 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.144/1.333, allocations: 52.55 MB / 1.268 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.36/17.69, allocations: 7.328 kB / 1.268 GB, free: 4.809 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --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)