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.596/1.596, allocations: 252 MB / 267.3 MB, free: 10.8 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.001302/0.001302, allocations: 175.4 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.4 MB / 0.578 GB, free: 20.43 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.0009673/0.0009674, allocations: 90.69 kB / 0.6826 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003529, allocations: 7.906 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2263, allocations: 106.3 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9417/1.168, allocations: 317.9 MB / 1.211 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03582/1.204, allocations: 23.32 MB / 1.234 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004428/1.208, allocations: 71.5 kB / 1.234 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004909/1.213, allocations: 1.314 MB / 1.236 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01374/1.227, allocations: 4.013 MB / 1.239 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.006483/1.234, allocations: 2.166 MB / 1.242 GB, free: 5.559 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01082/1.244, allocations: 8.045 MB / 1.249 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003321/1.248, allocations: 1.805 MB / 1.251 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00719/1.255, allocations: 2.774 MB / 1.254 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004826/1.26, allocations: 1.81 MB / 1.256 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.000623/1.261, allocations: 96 kB / 1.256 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009752/1.27, allocations: 4.033 MB / 1.26 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001148/1.272, allocations: 0.763 MB / 1.26 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001954/1.273, allocations: 1.222 MB / 1.262 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.008311/1.282, allocations: 4.794 MB / 1.266 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/1.282, allocations: 3.984 kB / 1.266 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.603e-06/1.282, allocations: 0 / 1.266 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.804e-05/1.282, allocations: 0 / 1.266 GB, free: 12.1 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.004954/1.287, allocations: 2.547 MB / 1.269 GB, free: 9.488 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.287, allocations: 16.03 kB / 1.269 GB, free: 9.473 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003019/1.287, allocations: 202.6 kB / 1.269 GB, free: 9.266 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005207/1.292, allocations: 0.8555 MB / 1.27 GB, free: 8.406 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003925/1.296, allocations: 1.815 MB / 1.272 GB, free: 6.516 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/1.297, allocations: 186.6 kB / 1.272 GB, free: 6.332 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002802/1.297, allocations: 152 kB / 1.272 GB, free: 6.184 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/1.301, allocations: 1.729 MB / 1.274 GB, free: 4.398 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/1.301, allocations: 0 / 1.274 GB, free: 4.398 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/1.301, allocations: 56 kB / 1.274 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-05/1.301, allocations: 50.56 kB / 1.274 GB, free: 4.293 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003609/1.304, allocations: 1.517 MB / 1.275 GB, free: 2.77 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.01165/1.316, allocations: 7.844 MB / 1.283 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/1.319, allocations: 1.154 MB / 1.284 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/1.32, allocations: 0.5643 MB / 1.285 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/1.32, allocations: 113.7 kB / 1.285 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/1.32, allocations: 43.22 kB / 1.285 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001135/1.321, allocations: 195.1 kB / 1.285 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=77): time 3.447e-06/1.321, allocations: 0 / 1.285 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of matching and sorting (n=77): time 0.004202/1.326, allocations: 1.534 MB / 1.286 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/1.326, allocations: 60.06 kB / 1.286 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/1.328, allocations: 1.824 MB / 1.288 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/1.328, allocations: 45.7 kB / 1.288 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008441/1.329, allocations: 0.9762 MB / 1.289 GB, free: 3.695 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000269/1.33, allocations: 276 kB / 1.289 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/1.33, allocations: 23.94 kB / 1.289 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.33, allocations: 349.9 kB / 1.29 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/1.331, allocations: 0.5019 MB / 1.29 GB, free: 2.551 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/1.333, allocations: 0.9287 MB / 1.291 GB, free: 1.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/1.336, allocations: 1.346 MB / 1.293 GB, free: 15.95 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/1.336, allocations: 4 kB / 1.293 GB, free: 15.95 MB / 0.823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003679/1.339, allocations: 1.554 MB / 1.294 GB, free: 14.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003166/1.34, allocations: 378 kB / 1.294 GB, free: 13.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/1.34, allocations: 12 kB / 1.294 GB, free: 13.87 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/1.34, allocations: 16 kB / 1.294 GB, free: 13.85 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.341, allocations: 307.5 kB / 1.295 GB, free: 13.55 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005037/1.342, allocations: 0.621 MB / 1.295 GB, free: 12.91 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/1.344, allocations: 165.1 kB / 1.295 GB, free: 12.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.344, allocations: 59.97 kB / 1.296 GB, free: 12.69 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/1.344, allocations: 4 kB / 1.296 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002476/1.346, allocations: 1.175 MB / 1.297 GB, free: 11.51 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/1.346, allocations: 16.28 kB / 1.297 GB, free: 11.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.347, allocations: 16 kB / 1.297 GB, free: 11.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.348, allocations: 259.6 kB / 1.297 GB, free: 11.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.737e-05/1.348, allocations: 23.88 kB / 1.297 GB, free: 11.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/1.35, allocations: 159 kB / 1.297 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/1.35, allocations: 51.98 kB / 1.297 GB, free: 11 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.001463/1.351, allocations: 0.5865 MB / 1.298 GB, free: 10.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006792/1.352, allocations: 193.5 kB / 1.298 GB, free: 10.21 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/1.355, allocations: 1.197 MB / 1.299 GB, free: 8.996 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.356, allocations: 11.94 kB / 1.299 GB, free: 8.984 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.356, allocations: 0 / 1.299 GB, free: 8.984 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002491/1.358, allocations: 1.031 MB / 1.3 GB, free: 7.926 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.007915/1.366, allocations: 3.046 MB / 1.303 GB, free: 4.773 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/1.366, allocations: 0 / 1.303 GB, free: 4.773 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/1.367, allocations: 231.9 kB / 1.303 GB, free: 4.547 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.597e-05/1.367, allocations: 4 kB / 1.303 GB, free: 4.543 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-05/1.367, allocations: 31.95 kB / 1.303 GB, free: 4.512 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004035/1.368, allocations: 0.5977 MB / 1.304 GB, free: 3.891 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/1.368, allocations: 0 / 1.304 GB, free: 3.891 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005192/1.373, allocations: 1.823 MB / 1.306 GB, free: 2.031 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/1.375, allocations: 366.5 kB / 1.306 GB, free: 1.652 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006177/1.375, allocations: 19.94 kB / 1.306 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.377, allocations: 166.5 kB / 1.306 GB, free: 1.473 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.378, allocations: 60.52 kB / 1.306 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.35e-05/1.378, allocations: 27.98 kB / 1.306 GB, free: 1.383 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00282/1.38, allocations: 1.243 MB / 1.308 GB, free: 124 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.7e-07/1.38, allocations: 0 / 1.308 GB, free: 124 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.004262/1.385, allocations: 0.9743 MB / 1.309 GB, free: 15.14 MB / 0.8386 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.006208/1.391, allocations: 2.629 MB / 1.311 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00481/1.396, allocations: 1.774 MB / 1.313 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.396, allocations: 4.125 kB / 1.313 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/1.397, allocations: 0.5191 MB / 1.313 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006125/1.403, allocations: 1.036 MB / 1.314 GB, free: 9.164 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03519/1.439, allocations: 16.32 MB / 1.33 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/1.44, allocations: 1.566 MB / 1.332 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002667/1.443, allocations: 484.6 kB / 1.332 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/1.445, allocations: 0.8507 MB / 1.333 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of SimCode: time 1.342e-06/1.445, allocations: 4 kB / 1.333 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09075/1.535, allocations: 52.63 MB / 1.385 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/1.536, allocations: 291.7 kB / 1.385 GB, free: 200 kB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.281/5.817, allocations: 0 / 1.385 GB, free: 200 kB / 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)