Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.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_dp,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 249.5 MB / 257 MB, free: 6.98 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.001311/0.001311, allocations: 172.7 kB / 316.3 MB, free: 3.305 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.547/1.547, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008522/0.0008522, allocations: 94.34 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.759e-05/1.771e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1944, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.867/5.062, allocations: 2.232 GB / 3.117 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/5.062, allocations: 87.95 kB / 3.117 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.577/10.64, allocations: 1.58 GB / 4.698 GB, free: 104 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.553e-06/10.64, allocations: 4.594 kB / 4.698 GB, free: 104 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004343/10.64, allocations: 64.47 kB / 4.698 GB, free: 104 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: 347 * Number of variables: 347 Notification: Performance of Generate backend data structure: time 0.008119/10.65, allocations: 2.522 MB / 4.7 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/10.65, allocations: 10.25 kB / 4.7 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00606/10.65, allocations: 0.8052 MB / 4.701 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006668/10.66, allocations: 2.649 MB / 4.704 GB, free: 102.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/10.66, allocations: 45.56 kB / 4.704 GB, free: 102.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/10.66, allocations: 93.78 kB / 4.704 GB, free: 102.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002064/10.66, allocations: 1.132 MB / 4.705 GB, free: 102.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/10.66, allocations: 1.344 MB / 4.706 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/10.66, allocations: 7.875 kB / 4.706 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/10.67, allocations: 10.88 kB / 4.706 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/10.67, allocations: 54.45 kB / 4.706 GB, free: 102.3 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.009541/10.67, allocations: 7.188 MB / 4.713 GB, free: 98.67 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/10.68, allocations: 0.9839 MB / 4.714 GB, free: 98.45 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005532/10.68, allocations: 430.5 kB / 4.715 GB, free: 98.44 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/10.68, allocations: 110.6 kB / 4.715 GB, free: 98.35 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/10.68, allocations: 42.97 kB / 4.715 GB, free: 98.31 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001088/10.68, allocations: 124.1 kB / 4.715 GB, free: 98.29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=81): time 3.787e-06/10.68, allocations: 0 / 4.715 GB, free: 98.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81): time 0.002617/10.68, allocations: 1.073 MB / 4.716 GB, free: 98.12 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/10.68, allocations: 60.41 kB / 4.716 GB, free: 98.06 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/10.68, allocations: 1.298 MB / 4.717 GB, free: 97.86 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/10.68, allocations: 29.3 kB / 4.717 GB, free: 97.82 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000705/10.68, allocations: 0.9805 MB / 4.718 GB, free: 97.57 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/10.68, allocations: 268.4 kB / 4.719 GB, free: 97.43 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/10.68, allocations: 0 / 4.719 GB, free: 97.43 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.16e-05/10.68, allocations: 349.7 kB / 4.719 GB, free: 97.12 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/10.68, allocations: 333.5 kB / 4.719 GB, free: 97.12 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/10.68, allocations: 0.7509 MB / 4.72 GB, free: 96.61 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009883/10.69, allocations: 0.4946 MB / 4.72 GB, free: 96.59 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/10.69, allocations: 5.906 kB / 4.72 GB, free: 96.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002828/10.69, allocations: 1.343 MB / 4.722 GB, free: 96.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007395/10.69, allocations: 3.942 MB / 4.726 GB, free: 92.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/10.69, allocations: 9.781 kB / 4.726 GB, free: 92.35 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004218/10.69, allocations: 142.6 kB / 4.726 GB, free: 92.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/10.69, allocations: 262.8 kB / 4.726 GB, free: 92.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/10.69, allocations: 3.386 MB / 4.729 GB, free: 89.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/10.7, allocations: 116.5 kB / 4.729 GB, free: 89.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/10.7, allocations: 52.86 kB / 4.729 GB, free: 89.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/10.7, allocations: 3.625 kB / 4.729 GB, free: 89.43 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002455/10.7, allocations: 1.116 MB / 4.731 GB, free: 89.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/10.7, allocations: 14.16 kB / 4.731 GB, free: 89.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/10.7, allocations: 134.9 kB / 4.731 GB, free: 89.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008202/10.7, allocations: 232.7 kB / 4.731 GB, free: 89.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/10.7, allocations: 3.034 MB / 4.734 GB, free: 86.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/10.7, allocations: 106.6 kB / 4.734 GB, free: 86.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-05/10.7, allocations: 52.91 kB / 4.734 GB, free: 86.82 MB / 0.9167 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.0003436/10.7, allocations: 147.1 kB / 4.734 GB, free: 86.7 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002175/10.71, allocations: 0.9886 MB / 4.735 GB, free: 86.54 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/10.71, allocations: 189.8 kB / 4.735 GB, free: 86.43 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/10.71, allocations: 1.134 MB / 4.736 GB, free: 86.25 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/10.71, allocations: 9.5 kB / 4.736 GB, free: 86.25 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/10.71, allocations: 3.25 kB / 4.736 GB, free: 86.25 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001755/10.71, allocations: 0.9837 MB / 4.737 GB, free: 85.96 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.005189/10.72, allocations: 2.722 MB / 4.74 GB, free: 85.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/10.72, allocations: 0 / 4.74 GB, free: 85.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009844/10.72, allocations: 211.3 kB / 4.74 GB, free: 85.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/10.72, allocations: 106.5 kB / 4.74 GB, free: 85.32 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/10.72, allocations: 7.453 kB / 4.74 GB, free: 85.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/10.72, allocations: 4.665 MB / 4.745 GB, free: 81.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/10.72, allocations: 3.562 kB / 4.745 GB, free: 81.09 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/10.72, allocations: 1.703 MB / 4.747 GB, free: 80.55 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007383/10.72, allocations: 337.5 kB / 4.747 GB, free: 80.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/10.72, allocations: 9.797 kB / 4.747 GB, free: 80.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/10.72, allocations: 115.5 kB / 4.747 GB, free: 80.36 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/10.72, allocations: 60.84 kB / 4.747 GB, free: 80.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.764e-05/10.72, allocations: 37.39 kB / 4.747 GB, free: 80.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001345/10.73, allocations: 0.9806 MB / 4.748 GB, free: 80.21 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.9e-07/10.73, allocations: 0.875 kB / 4.748 GB, free: 80.21 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00436/10.73, allocations: 1.286 MB / 4.749 GB, free: 80.1 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 (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.007931/10.74, allocations: 6.832 MB / 4.756 GB, free: 77.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002891/10.74, allocations: 1.78 MB / 4.758 GB, free: 76.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/10.74, allocations: 2.812 kB / 4.758 GB, free: 76.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007924/10.74, allocations: 0.6102 MB / 4.758 GB, free: 76.54 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004194/10.75, allocations: 0.8884 MB / 4.759 GB, free: 76.51 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006464/10.75, allocations: 3.14 MB / 4.762 GB, free: 75.64 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/10.75, allocations: 1.629 MB / 4.764 GB, free: 74.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002961/10.76, allocations: 0.6696 MB / 4.765 GB, free: 74.88 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009304/10.76, allocations: 0.8092 MB / 4.765 GB, free: 74.87 MB / 0.9167 GB Notification: Performance of SimCode: time 1.062e-06/10.76, allocations: 0 / 4.765 GB, free: 74.87 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1371/10.89, allocations: 79.14 MB / 4.843 GB, free: 70.69 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/10.89, allocations: 184.2 kB / 4.843 GB, free: 70.49 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.82/15.72, allocations: 0 / 4.843 GB, free: 70.49 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_dp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)