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.0009631/0.0009632, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001267, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.766/1.766, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.000558/0.0005581, allocations: 15.69 kB / 0.6738 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2454, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7809/1.026, allocations: 296 MB / 1.076 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03549/1.062, allocations: 21.5 MB / 1.097 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003761/1.066, allocations: 75.5 kB / 1.098 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003821/1.069, allocations: 0.9745 MB / 1.098 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01214/1.082, allocations: 3.088 MB / 1.102 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.007506/1.089, allocations: 1.774 MB / 1.103 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01144/1.101, allocations: 6.753 MB / 1.11 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003404/1.104, allocations: 1.571 MB / 1.111 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007193/1.111, allocations: 2.548 MB / 1.114 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003512/1.115, allocations: 1.692 MB / 1.116 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004088/1.115, allocations: 95.94 kB / 1.116 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0062/1.121, allocations: 2.206 MB / 1.118 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001035/1.122, allocations: 0.7436 MB / 1.118 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/1.124, allocations: 0.5043 MB / 1.119 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004986/1.129, allocations: 3.336 MB / 1.122 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.129, allocations: 4 kB / 1.122 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.365e-06/1.129, allocations: 0 / 1.122 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.776e-05/1.129, allocations: 0 / 1.122 GB, free: 4.738 MB / 0.8262 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.004844/1.133, allocations: 2.563 MB / 1.125 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.133, allocations: 8.031 kB / 1.125 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002821/1.134, allocations: 206.5 kB / 1.125 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005192/1.139, allocations: 0.8671 MB / 1.126 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003495/1.142, allocations: 1.738 MB / 1.127 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/1.143, allocations: 182.6 kB / 1.128 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/1.143, allocations: 151.9 kB / 1.128 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003526/1.147, allocations: 1.709 MB / 1.129 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/1.147, allocations: 4 kB / 1.129 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/1.147, allocations: 56 kB / 1.13 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.218e-05/1.147, allocations: 46.61 kB / 1.13 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003334/1.15, allocations: 1.497 MB / 1.131 GB, free: 11.51 MB / 0.8419 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.01117/1.161, allocations: 7.832 MB / 1.139 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/1.164, allocations: 1.166 MB / 1.14 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/1.165, allocations: 0.5571 MB / 1.14 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/1.165, allocations: 109.7 kB / 1.14 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/1.165, allocations: 43.22 kB / 1.141 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009596/1.166, allocations: 191.1 kB / 1.141 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=77): time 2.855e-06/1.166, allocations: 4 kB / 1.141 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of matching and sorting (n=77): time 0.003823/1.17, allocations: 1.542 MB / 1.142 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/1.17, allocations: 60.06 kB / 1.142 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/1.173, allocations: 1.8 MB / 1.144 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/1.173, allocations: 45.7 kB / 1.144 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007764/1.173, allocations: 0.9684 MB / 1.145 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/1.174, allocations: 272 kB / 1.145 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/1.174, allocations: 28 kB / 1.145 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.174, allocations: 349.7 kB / 1.146 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/1.175, allocations: 478 kB / 1.146 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/1.176, allocations: 0.8975 MB / 1.147 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/1.178, allocations: 0.565 MB / 1.148 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.178, allocations: 0 / 1.148 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003203/1.181, allocations: 1.495 MB / 1.149 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002635/1.181, allocations: 385.9 kB / 1.149 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/1.181, allocations: 8 kB / 1.149 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/1.181, allocations: 16 kB / 1.149 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/1.183, allocations: 307.5 kB / 1.15 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004034/1.183, allocations: 0.6094 MB / 1.15 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/1.185, allocations: 177 kB / 1.15 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.185, allocations: 59.91 kB / 1.15 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/1.185, allocations: 4 kB / 1.15 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002272/1.187, allocations: 1.175 MB / 1.152 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.187, allocations: 8 kB / 1.152 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.187, allocations: 16 kB / 1.152 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009517/1.188, allocations: 267.9 kB / 1.152 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/1.188, allocations: 19.94 kB / 1.152 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/1.19, allocations: 153 kB / 1.152 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.971e-05/1.19, allocations: 47.98 kB / 1.152 GB, free: 4.812 MB / 0.8575 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.00104/1.191, allocations: 0.5922 MB / 1.153 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002942/1.191, allocations: 193.6 kB / 1.153 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/1.194, allocations: 1.201 MB / 1.154 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.194, allocations: 8 kB / 1.154 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.194, allocations: 0 / 1.154 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002269/1.197, allocations: 1.027 MB / 1.155 GB, free: 1.754 MB / 0.8575 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.005945/1.202, allocations: 3.042 MB / 1.158 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.203, allocations: 4 kB / 1.158 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/1.204, allocations: 235.8 kB / 1.158 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/1.204, allocations: 7.984 kB / 1.158 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/1.204, allocations: 19.98 kB / 1.158 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000342/1.204, allocations: 0.59 MB / 1.159 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.204, allocations: 3.953 kB / 1.159 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003962/1.208, allocations: 1.823 MB / 1.161 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009035/1.209, allocations: 366.5 kB / 1.161 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/1.209, allocations: 24 kB / 1.161 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.21, allocations: 163.7 kB / 1.161 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.211, allocations: 52.48 kB / 1.161 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/1.211, allocations: 35.97 kB / 1.161 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001847/1.213, allocations: 1.223 MB / 1.162 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.213, allocations: 0 / 1.162 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002686/1.215, allocations: 0.982 MB / 1.163 GB, free: 8.988 MB / 0.8731 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.00495/1.22, allocations: 2.623 MB / 1.166 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004277/1.225, allocations: 1.751 MB / 1.168 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/1.225, allocations: 0 / 1.168 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/1.226, allocations: 0.5234 MB / 1.168 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005245/1.231, allocations: 1.045 MB / 1.169 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02533/1.256, allocations: 12.62 MB / 1.182 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/1.258, allocations: 1.562 MB / 1.183 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002306/1.26, allocations: 488.6 kB / 1.184 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/1.261, allocations: 0.8507 MB / 1.184 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of SimCode: time 9.82e-07/1.261, allocations: 0 / 1.184 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09232/1.353, allocations: 56.01 MB / 1.239 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.354, allocations: 257.4 kB / 1.239 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.246/4.6, allocations: 1.5 kB / 1.239 GB, free: 10.87 MB / 0.9512 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/linux/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) Environment - environmentSimulation: