Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.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_dp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_dp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_dp",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.668/1.668, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001433/0.001433, allocations: 180.2 kB / 361.4 MB, free: 6.82 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.647/1.647, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009005/0.0009005, allocations: 95.55 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.071e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7412/0.7412, allocations: 115.3 MB / 0.9644 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.543/5.284, allocations: 2.113 GB / 3.077 GB, free: 44.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/5.284, allocations: 93.12 kB / 3.077 GB, free: 44.71 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.305/11.59, allocations: 1.631 GB / 4.709 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of FrontEnd: time 4.188e-06/11.59, allocations: 0 / 4.709 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004604/11.59, allocations: 62.61 kB / 4.709 GB, free: 118.7 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.008005/11.6, allocations: 2.52 MB / 4.711 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/11.6, allocations: 9.312 kB / 4.711 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006223/11.6, allocations: 0.8205 MB / 4.712 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008324/11.61, allocations: 2.655 MB / 4.715 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-05/11.61, allocations: 43.84 kB / 4.715 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005662/11.61, allocations: 95.27 kB / 4.715 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00285/11.62, allocations: 1.134 MB / 4.716 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/11.62, allocations: 1.337 MB / 4.717 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/11.62, allocations: 2.781 kB / 4.717 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/11.62, allocations: 2.406 kB / 4.717 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.985e-05/11.62, allocations: 49.45 kB / 4.717 GB, free: 116.9 MB / 0.9792 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.01144/11.63, allocations: 7.191 MB / 4.724 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/11.63, allocations: 0.9935 MB / 4.725 GB, free: 113 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/11.63, allocations: 429.1 kB / 4.726 GB, free: 113 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/11.63, allocations: 112.9 kB / 4.726 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/11.63, allocations: 46.12 kB / 4.726 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00126/11.64, allocations: 120.4 kB / 4.726 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=81): time 2.945e-06/11.64, allocations: 3 kB / 4.726 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=81): time 0.002784/11.64, allocations: 1.078 MB / 4.727 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/11.64, allocations: 62.38 kB / 4.727 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/11.64, allocations: 1.291 MB / 4.728 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-05/11.64, allocations: 25.7 kB / 4.728 GB, free: 112.3 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/11.64, allocations: 0.9773 MB / 4.729 GB, free: 112 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/11.64, allocations: 276.5 kB / 4.729 GB, free: 111.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/11.64, allocations: 2.719 kB / 4.729 GB, free: 111.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/11.64, allocations: 352 kB / 4.73 GB, free: 111.5 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/11.64, allocations: 335.1 kB / 4.73 GB, free: 111.5 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/11.64, allocations: 0.7534 MB / 4.731 GB, free: 111 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009248/11.64, allocations: 0.4964 MB / 4.731 GB, free: 111 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/11.64, allocations: 0 / 4.731 GB, free: 111 MB / 0.9792 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002598/11.65, allocations: 1.35 MB / 4.733 GB, free: 110.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007312/11.65, allocations: 3.939 MB / 4.736 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/11.65, allocations: 9.328 kB / 4.736 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004125/11.65, allocations: 145.5 kB / 4.737 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/11.65, allocations: 259.5 kB / 4.737 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/11.65, allocations: 3.397 MB / 4.74 GB, free: 103.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/11.65, allocations: 108.5 kB / 4.74 GB, free: 103.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/11.65, allocations: 59.31 kB / 4.74 GB, free: 103.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.906e-06/11.65, allocations: 3.562 kB / 4.74 GB, free: 103.8 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002359/11.65, allocations: 1.116 MB / 4.741 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/11.65, allocations: 12.88 kB / 4.741 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/11.65, allocations: 137.2 kB / 4.742 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008079/11.66, allocations: 232.4 kB / 4.742 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/11.66, allocations: 3.069 MB / 4.745 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/11.66, allocations: 113.2 kB / 4.745 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.427e-05/11.66, allocations: 49.09 kB / 4.745 GB, free: 101.2 MB / 0.9792 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003204/11.66, allocations: 149.7 kB / 4.745 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002118/11.66, allocations: 0.9874 MB / 4.746 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/11.66, allocations: 185.5 kB / 4.746 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/11.66, allocations: 1.138 MB / 4.747 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/11.66, allocations: 6.562 kB / 4.747 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/11.66, allocations: 3.625 kB / 4.747 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001769/11.67, allocations: 0.9843 MB / 4.748 GB, free: 100.3 MB / 0.9792 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.005336/11.67, allocations: 2.721 MB / 4.751 GB, free: 99.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/11.67, allocations: 3.312 kB / 4.751 GB, free: 99.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009881/11.67, allocations: 218.7 kB / 4.751 GB, free: 99.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003039/11.67, allocations: 110.2 kB / 4.751 GB, free: 99.68 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.91e-05/11.67, allocations: 15.42 kB / 4.751 GB, free: 99.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/11.68, allocations: 4.676 MB / 4.756 GB, free: 95.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/11.68, allocations: 9 kB / 4.756 GB, free: 95.45 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/11.68, allocations: 1.699 MB / 4.758 GB, free: 94.92 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008723/11.68, allocations: 346.4 kB / 4.758 GB, free: 94.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/11.68, allocations: 3.938 kB / 4.758 GB, free: 94.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/11.68, allocations: 122.8 kB / 4.758 GB, free: 94.71 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/11.68, allocations: 63.59 kB / 4.758 GB, free: 94.71 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/11.68, allocations: 35.61 kB / 4.758 GB, free: 94.71 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001627/11.68, allocations: 0.9726 MB / 4.759 GB, free: 94.57 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.9e-07/11.68, allocations: 0 / 4.759 GB, free: 94.57 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00459/11.69, allocations: 1.317 MB / 4.76 GB, free: 94.4 MB / 0.9792 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 (77): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008375/11.7, allocations: 6.835 MB / 4.767 GB, free: 91.39 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003215/11.7, allocations: 1.778 MB / 4.769 GB, free: 91.04 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/11.7, allocations: 0 / 4.769 GB, free: 91.04 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008522/11.7, allocations: 0.6145 MB / 4.769 GB, free: 90.83 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004481/11.7, allocations: 0.8918 MB / 4.77 GB, free: 90.81 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007491/11.71, allocations: 3.136 MB / 4.773 GB, free: 89.94 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/11.71, allocations: 1.621 MB / 4.775 GB, free: 89.21 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002845/11.72, allocations: 0.6655 MB / 4.775 GB, free: 89.18 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008793/11.72, allocations: 0.8052 MB / 4.776 GB, free: 89.18 MB / 0.9792 GB Notification: Performance of SimCode: time 3.357e-06/11.72, allocations: 3.625 kB / 4.776 GB, free: 89.18 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/11.83, allocations: 79.19 MB / 4.854 GB, free: 78.45 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/11.83, allocations: 172.3 kB / 4.854 GB, free: 78.27 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.754/16.59, allocations: 0 / 4.854 GB, free: 78.27 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_dp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)