Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.709/1.709, allocations: 288.4 MB / 303.6 MB, free: 8.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001516, allocations: 180.4 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.4 MB / 0.631 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008647/0.0008648, allocations: 94.34 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004042, allocations: 12.81 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2351, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.8768/1.112, allocations: 296 MB / 1.269 GB, free: 2.367 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.03661/1.149, allocations: 21.5 MB / 1.29 GB, free: 12.83 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004187/1.153, allocations: 75.5 kB / 1.29 GB, free: 12.75 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.004573/1.158, allocations: 1.142 MB / 1.291 GB, free: 11.61 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01163/1.169, allocations: 3.612 MB / 1.295 GB, free: 7.98 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006317/1.176, allocations: 1.797 MB / 1.297 GB, free: 6.203 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01089/1.187, allocations: 6.821 MB / 1.303 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004878/1.191, allocations: 1.789 MB / 1.305 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008812/1.2, allocations: 2.728 MB / 1.308 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004455/1.205, allocations: 1.685 MB / 1.309 GB, free: 9.102 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0009791/1.206, allocations: 96 kB / 1.31 GB, free: 9.008 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00898/1.215, allocations: 3.951 MB / 1.313 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001715/1.217, allocations: 0.7436 MB / 1.314 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.003047/1.22, allocations: 1.16 MB / 1.315 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.005984/1.226, allocations: 3.503 MB / 1.319 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/1.226, allocations: 4 kB / 1.319 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.054e-06/1.226, allocations: 0 / 1.319 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001352/1.226, allocations: 0 / 1.319 GB, free: 15.61 MB / 0.8542 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.006102/1.232, allocations: 2.543 MB / 1.321 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.232, allocations: 12.03 kB / 1.321 GB, free: 13 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005055/1.233, allocations: 198.5 kB / 1.321 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005409/1.238, allocations: 0.8749 MB / 1.322 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003699/1.242, allocations: 1.811 MB / 1.324 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003993/1.242, allocations: 186.6 kB / 1.324 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/1.242, allocations: 147.9 kB / 1.324 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003678/1.246, allocations: 1.713 MB / 1.326 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/1.246, allocations: 3.906 kB / 1.326 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/1.246, allocations: 59.92 kB / 1.326 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.907e-05/1.246, allocations: 50.61 kB / 1.326 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003757/1.25, allocations: 1.501 MB / 1.328 GB, free: 6.309 MB / 0.8542 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.0116/1.262, allocations: 7.832 MB / 1.335 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/1.264, allocations: 1.158 MB / 1.336 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/1.265, allocations: 0.5571 MB / 1.337 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/1.266, allocations: 117.7 kB / 1.337 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/1.266, allocations: 39.22 kB / 1.337 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001064/1.267, allocations: 195.1 kB / 1.337 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=77): time 2.354e-06/1.267, allocations: 7.938 kB / 1.337 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77): time 0.004062/1.271, allocations: 1.538 MB / 1.339 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/1.271, allocations: 60.06 kB / 1.339 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/1.273, allocations: 1.792 MB / 1.341 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/1.273, allocations: 49.7 kB / 1.341 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007939/1.274, allocations: 0.98 MB / 1.342 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/1.274, allocations: 272 kB / 1.342 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/1.274, allocations: 24 kB / 1.342 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.275, allocations: 345.9 kB / 1.342 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/1.276, allocations: 474 kB / 1.343 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/1.277, allocations: 0.8975 MB / 1.343 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00263/1.28, allocations: 1.288 MB / 1.345 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/1.28, allocations: 4 kB / 1.345 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003496/1.284, allocations: 1.495 MB / 1.346 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002867/1.284, allocations: 379 kB / 1.347 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/1.284, allocations: 8 kB / 1.347 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/1.284, allocations: 16 kB / 1.347 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/1.285, allocations: 307.5 kB / 1.347 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004221/1.286, allocations: 0.6133 MB / 1.347 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/1.288, allocations: 170.7 kB / 1.348 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/1.288, allocations: 59.97 kB / 1.348 GB, free: 468 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.515e-06/1.288, allocations: 4 kB / 1.348 GB, free: 464 kB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002345/1.29, allocations: 1.171 MB / 1.349 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.29, allocations: 11.94 kB / 1.349 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.29, allocations: 20.28 kB / 1.349 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009898/1.291, allocations: 259.6 kB / 1.349 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.289e-05/1.291, allocations: 19.94 kB / 1.349 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/1.293, allocations: 154.3 kB / 1.349 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/1.293, allocations: 51.98 kB / 1.349 GB, free: 14.77 MB / 0.8855 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.001104/1.294, allocations: 0.5904 MB / 1.35 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004686/1.295, allocations: 189.6 kB / 1.35 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003147/1.298, allocations: 1.201 MB / 1.351 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.298, allocations: 12 kB / 1.351 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.298, allocations: 0 / 1.351 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002647/1.301, allocations: 1.027 MB / 1.352 GB, free: 11.7 MB / 0.8855 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.006691/1.307, allocations: 3.046 MB / 1.355 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.307, allocations: 0 / 1.355 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.309, allocations: 235.8 kB / 1.355 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/1.309, allocations: 4 kB / 1.355 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/1.309, allocations: 23.98 kB / 1.356 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003184/1.309, allocations: 0.5976 MB / 1.356 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.309, allocations: 0 / 1.356 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004088/1.313, allocations: 1.823 MB / 1.358 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008584/1.314, allocations: 366.5 kB / 1.358 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004054/1.314, allocations: 12 kB / 1.358 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.316, allocations: 163.7 kB / 1.358 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/1.316, allocations: 60.52 kB / 1.358 GB, free: 5.203 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.254e-05/1.316, allocations: 27.98 kB / 1.358 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002392/1.319, allocations: 1.219 MB / 1.36 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.319, allocations: 3.938 kB / 1.36 GB, free: 3.934 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003312/1.322, allocations: 0.9859 MB / 1.361 GB, free: 2.945 MB / 0.8855 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.005254/1.327, allocations: 2.626 MB / 1.363 GB, free: 288 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004466/1.332, allocations: 1.751 MB / 1.365 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.332, allocations: 192 / 1.365 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/1.333, allocations: 0.5192 MB / 1.365 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005525/1.339, allocations: 1.026 MB / 1.366 GB, free: 13 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0281/1.367, allocations: 12.64 MB / 1.379 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/1.369, allocations: 1.562 MB / 1.38 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002742/1.371, allocations: 480.7 kB / 1.381 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.373, allocations: 0.8507 MB / 1.382 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/1.373, allocations: 4 kB / 1.382 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4868/1.86, allocations: 56.63 MB / 1.437 GB, free: 345.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/1.86, allocations: 257.4 kB / 1.437 GB, free: 344.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.693/5.553, allocations: 0 / 1.437 GB, free: 344.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)