Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.33/1.33, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009464/0.0009463, allocations: 174.5 kB / 325.8 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205 MB / 0.576 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007171/0.0007171, allocations: 78.38 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003471, allocations: 9.969 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1824, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6738/0.8563, allocations: 321.9 MB / 1.211 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03124/0.8876, allocations: 23.61 MB / 1.234 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/0.8908, allocations: 79.5 kB / 1.234 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.003806/0.8947, allocations: 1.306 MB / 1.235 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.009832/0.9045, allocations: 4.013 MB / 1.239 GB, free: 8.828 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.005296/0.9098, allocations: 2.175 MB / 1.241 GB, free: 6.664 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.008627/0.9185, allocations: 8.037 MB / 1.249 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.921, allocations: 1.801 MB / 1.251 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005445/0.9265, allocations: 2.774 MB / 1.253 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003924/0.9305, allocations: 1.823 MB / 1.255 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0003266/0.9308, allocations: 92 kB / 1.255 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007157/0.938, allocations: 4.033 MB / 1.259 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.9392, allocations: 0.7592 MB / 1.26 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.941, allocations: 1.193 MB / 1.261 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.007081/0.9481, allocations: 4.801 MB / 1.266 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.9482, allocations: 0 / 1.266 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9482, allocations: 0 / 1.266 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.653e-05/0.9482, allocations: 0 / 1.266 GB, free: 13.24 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.004157/0.9524, allocations: 2.543 MB / 1.268 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.9524, allocations: 11.97 kB / 1.268 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002342/0.9527, allocations: 206.6 kB / 1.268 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004769/0.9574, allocations: 0.8594 MB / 1.269 GB, free: 9.551 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/0.9604, allocations: 1.819 MB / 1.271 GB, free: 7.656 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003726/0.9607, allocations: 174.6 kB / 1.271 GB, free: 7.484 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.961, allocations: 156 kB / 1.271 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/0.9641, allocations: 1.725 MB / 1.273 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.9641, allocations: 3.938 kB / 1.273 GB, free: 5.547 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.9643, allocations: 60 kB / 1.273 GB, free: 5.488 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.646e-05/0.9643, allocations: 50.61 kB / 1.273 GB, free: 5.438 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/0.9677, allocations: 1.509 MB / 1.275 GB, free: 3.922 MB / 0.7917 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.009726/0.9774, allocations: 7.856 MB / 1.282 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/0.9796, allocations: 1.15 MB / 1.283 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.9808, allocations: 0.5611 MB / 1.284 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.981, allocations: 106 kB / 1.284 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.981, allocations: 47.16 kB / 1.284 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007294/0.9818, allocations: 195.1 kB / 1.284 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=77): time 3.276e-06/0.9818, allocations: 0 / 1.284 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of matching and sorting (n=77): time 0.003769/0.9856, allocations: 1.534 MB / 1.286 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.9856, allocations: 60.06 kB / 1.286 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.9878, allocations: 1.82 MB / 1.288 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.297e-05/0.9879, allocations: 49.7 kB / 1.288 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007122/0.9886, allocations: 0.9801 MB / 1.289 GB, free: 4.836 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.9888, allocations: 268 kB / 1.289 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.9889, allocations: 97.66 kB / 1.289 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9891, allocations: 345.9 kB / 1.289 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.9903, allocations: 0.5058 MB / 1.29 GB, free: 3.613 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.992, allocations: 0.9248 MB / 1.291 GB, free: 2.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.9947, allocations: 1.346 MB / 1.292 GB, free: 1.023 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.9947, allocations: 4 kB / 1.292 GB, free: 1.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003476/0.9982, allocations: 1.561 MB / 1.294 GB, free: 15.45 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002287/0.9985, allocations: 380.5 kB / 1.294 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.9985, allocations: 12 kB / 1.294 GB, free: 14.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.9985, allocations: 16 kB / 1.294 GB, free: 14.92 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.9999, allocations: 311.5 kB / 1.294 GB, free: 14.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004139/1, allocations: 0.6132 MB / 1.295 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/1.002, allocations: 185 kB / 1.295 GB, free: 13.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.132e-05/1.002, allocations: 51.98 kB / 1.295 GB, free: 13.75 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.096e-06/1.002, allocations: 4 kB / 1.295 GB, free: 13.74 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002186/1.004, allocations: 1.183 MB / 1.296 GB, free: 12.56 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.004, allocations: 8 kB / 1.296 GB, free: 12.55 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/1.004, allocations: 19.94 kB / 1.296 GB, free: 12.54 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009267/1.005, allocations: 263.9 kB / 1.297 GB, free: 12.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/1.005, allocations: 15.94 kB / 1.297 GB, free: 12.26 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/1.007, allocations: 172.1 kB / 1.297 GB, free: 12.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/1.007, allocations: 44 kB / 1.297 GB, free: 12.05 MB / 0.823 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 (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.0008533/1.008, allocations: 0.5865 MB / 1.297 GB, free: 11.45 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/1.008, allocations: 193.6 kB / 1.297 GB, free: 11.26 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002748/1.011, allocations: 1.193 MB / 1.299 GB, free: 10.05 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/1.011, allocations: 12 kB / 1.299 GB, free: 10.04 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.011, allocations: 3.938 kB / 1.299 GB, free: 10.04 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002225/1.013, allocations: 1.027 MB / 1.3 GB, free: 8.984 MB / 0.823 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.005243/1.018, allocations: 3.038 MB / 1.303 GB, free: 5.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.018, allocations: 4 kB / 1.303 GB, free: 5.836 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/1.019, allocations: 231.9 kB / 1.303 GB, free: 5.609 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/1.019, allocations: 7.984 kB / 1.303 GB, free: 5.602 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/1.019, allocations: 23.98 kB / 1.303 GB, free: 5.578 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002718/1.02, allocations: 0.5938 MB / 1.303 GB, free: 4.961 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.02, allocations: 0 / 1.303 GB, free: 4.961 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003693/1.023, allocations: 1.827 MB / 1.305 GB, free: 3.098 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006315/1.024, allocations: 366.5 kB / 1.306 GB, free: 2.719 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/1.024, allocations: 19.94 kB / 1.306 GB, free: 2.699 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/1.026, allocations: 170.5 kB / 1.306 GB, free: 2.535 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/1.026, allocations: 48.58 kB / 1.306 GB, free: 2.488 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/1.026, allocations: 31.98 kB / 1.306 GB, free: 2.457 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001571/1.027, allocations: 1.243 MB / 1.307 GB, free: 1.195 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.027, allocations: 0 / 1.307 GB, free: 1.195 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002301/1.03, allocations: 0.9859 MB / 1.308 GB, free: 212 kB / 0.823 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 (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.004687/1.034, allocations: 2.62 MB / 1.311 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004008/1.038, allocations: 1.789 MB / 1.312 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.038, allocations: 0 / 1.312 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/1.04, allocations: 0.5207 MB / 1.313 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004837/1.045, allocations: 1.021 MB / 1.314 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02838/1.073, allocations: 16.24 MB / 1.33 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.074, allocations: 1.57 MB / 1.331 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002193/1.076, allocations: 480.7 kB / 1.332 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/1.077, allocations: 0.8507 MB / 1.333 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/1.077, allocations: 0 / 1.333 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/1.182, allocations: 52.66 MB / 1.384 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/1.182, allocations: 295.9 kB / 1.384 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.835/5.018, allocations: 0 / 1.384 GB, free: 1.328 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)