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.516/1.516, allocations: 249.3 MB / 261.8 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 176.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001022/0.001022, allocations: 102.4 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.744e-05/3.754e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2261, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.786/6.012, allocations: 2.231 GB / 3.123 GB, free: 96.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/6.012, allocations: 87.58 kB / 3.123 GB, free: 96.45 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.1/12.11, allocations: 1.598 GB / 4.722 GB, free: 105 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.894e-06/12.11, allocations: 0 / 4.722 GB, free: 105 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004113/12.11, allocations: 62.02 kB / 4.722 GB, free: 105 MB / 0.9167 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.007765/12.12, allocations: 2.515 MB / 4.724 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/12.12, allocations: 11.44 kB / 4.724 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006333/12.12, allocations: 199.9 kB / 4.725 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005854/12.13, allocations: 0.7993 MB / 4.725 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00728/12.13, allocations: 2.642 MB / 4.728 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/12.13, allocations: 113 kB / 4.728 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004173/12.13, allocations: 155.9 kB / 4.728 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/12.14, allocations: 1.531 MB / 4.73 GB, free: 103 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/12.14, allocations: 0 / 4.73 GB, free: 103 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/12.14, allocations: 56.34 kB / 4.73 GB, free: 103 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/12.14, allocations: 44.03 kB / 4.73 GB, free: 103 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/12.14, allocations: 1.148 MB / 4.731 GB, free: 103 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.01012/12.15, allocations: 7.427 MB / 4.738 GB, free: 99.23 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/12.15, allocations: 0.9326 MB / 4.739 GB, free: 99 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/12.15, allocations: 420 kB / 4.739 GB, free: 99 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/12.15, allocations: 111.9 kB / 4.74 GB, free: 98.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/12.15, allocations: 42.41 kB / 4.74 GB, free: 98.86 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001442/12.15, allocations: 226.5 kB / 4.74 GB, free: 98.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=78): time 5.2e-06/12.15, allocations: 6.125 kB / 4.74 GB, free: 98.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=78): time 0.002778/12.16, allocations: 0.9695 MB / 4.741 GB, free: 98.66 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/12.16, allocations: 59.53 kB / 4.741 GB, free: 98.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/12.16, allocations: 1.5 MB / 4.742 GB, free: 98.37 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000141/12.16, allocations: 45.45 kB / 4.742 GB, free: 98.34 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007219/12.16, allocations: 0.9815 MB / 4.743 GB, free: 98.02 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/12.16, allocations: 271.2 kB / 4.744 GB, free: 97.85 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/12.16, allocations: 25.75 kB / 4.744 GB, free: 97.85 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/12.16, allocations: 352.1 kB / 4.744 GB, free: 97.54 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/12.16, allocations: 327.7 kB / 4.744 GB, free: 97.54 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/12.16, allocations: 0.7527 MB / 4.745 GB, free: 97.02 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/12.16, allocations: 449.9 kB / 4.745 GB, free: 97.01 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/12.16, allocations: 0 / 4.745 GB, free: 97.01 MB / 0.9167 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002455/12.16, allocations: 1.3 MB / 4.747 GB, free: 96.85 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008239/12.17, allocations: 3.959 MB / 4.75 GB, free: 92.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/12.17, allocations: 9.562 kB / 4.75 GB, free: 92.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00039/12.17, allocations: 114.2 kB / 4.751 GB, free: 92.76 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/12.17, allocations: 257 kB / 4.751 GB, free: 92.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/12.17, allocations: 2.33 MB / 4.753 GB, free: 90.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/12.17, allocations: 146.7 kB / 4.753 GB, free: 90.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/12.17, allocations: 53.47 kB / 4.753 GB, free: 90.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/12.17, allocations: 6.625 kB / 4.753 GB, free: 90.9 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002043/12.17, allocations: 1.064 MB / 4.754 GB, free: 90.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/12.17, allocations: 6.969 kB / 4.754 GB, free: 90.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/12.17, allocations: 106.4 kB / 4.754 GB, free: 90.87 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000813/12.17, allocations: 235.9 kB / 4.755 GB, free: 90.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/12.18, allocations: 1.777 MB / 4.756 GB, free: 89.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/12.18, allocations: 140 kB / 4.757 GB, free: 89.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/12.18, allocations: 51.2 kB / 4.757 GB, free: 89.59 MB / 0.9167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003762/12.18, allocations: 178.3 kB / 4.757 GB, free: 89.48 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/12.18, allocations: 190.8 kB / 4.757 GB, free: 89.38 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002697/12.18, allocations: 1.052 MB / 4.758 GB, free: 89.28 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/12.18, allocations: 10.72 kB / 4.758 GB, free: 89.28 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/12.18, allocations: 0 / 4.758 GB, free: 89.28 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001564/12.18, allocations: 0.8679 MB / 4.759 GB, free: 89.09 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.00558/12.19, allocations: 2.842 MB / 4.762 GB, free: 88.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/12.19, allocations: 3.906 kB / 4.762 GB, free: 88.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009068/12.19, allocations: 187.9 kB / 4.762 GB, free: 88.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002698/12.19, allocations: 96.45 kB / 4.762 GB, free: 88.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/12.19, allocations: 21.92 kB / 4.762 GB, free: 88.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/12.19, allocations: 2.216 MB / 4.764 GB, free: 86.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/12.19, allocations: 14.83 kB / 4.764 GB, free: 86.58 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/12.19, allocations: 1.614 MB / 4.766 GB, free: 86.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/12.2, allocations: 354.8 kB / 4.766 GB, free: 85.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/12.2, allocations: 18.38 kB / 4.766 GB, free: 85.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/12.2, allocations: 131.8 kB / 4.766 GB, free: 85.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/12.2, allocations: 56.27 kB / 4.766 GB, free: 85.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-05/12.2, allocations: 26.91 kB / 4.766 GB, free: 85.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001755/12.2, allocations: 1.163 MB / 4.767 GB, free: 85.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.6e-07/12.2, allocations: 0 / 4.767 GB, free: 85.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004742/12.2, allocations: 1.357 MB / 4.769 GB, free: 85.63 MB / 0.9167 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008993/12.21, allocations: 6.552 MB / 4.775 GB, free: 82.68 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003314/12.22, allocations: 1.701 MB / 4.777 GB, free: 82.38 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/12.22, allocations: 3.281 kB / 4.777 GB, free: 82.38 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007695/12.22, allocations: 0.5131 MB / 4.777 GB, free: 82.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004876/12.22, allocations: 0.9922 MB / 4.778 GB, free: 82.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/12.23, allocations: 3.218 MB / 4.781 GB, free: 81.33 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/12.23, allocations: 1.616 MB / 4.783 GB, free: 80.59 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00321/12.23, allocations: 0.7302 MB / 4.784 GB, free: 80.56 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/12.23, allocations: 0.8057 MB / 4.784 GB, free: 80.55 MB / 0.9167 GB Notification: Performance of SimCode: time 1.373e-06/12.23, allocations: 7.438 kB / 4.784 GB, free: 80.55 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1666/12.4, allocations: 116.7 MB / 4.898 GB, free: 1.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/12.4, allocations: 227.8 kB / 4.899 GB, free: 1.617 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.036/18.44, allocations: 4 kB / 4.899 GB, free: 1.613 MB / 0.9167 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)