Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dpSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dpSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.927/0.927, allocations: 143.3 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 179.3 kB / 191.5 MB, free: 5.773 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 223.2 MB / 447.7 MB, free: 6.473 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009791/0.000979, allocations: 100.2 kB / 0.5188 GB, free: 2.828 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002296/0.002296, allocations: 269.3 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005074, allocations: 12 kB / 0.6929 GB, free: 2.219 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.472, allocations: 82.77 MB / 0.7738 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.124/5.596, allocations: 1.911 GB / 2.684 GB, free: 109.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/5.596, allocations: 91.95 kB / 2.684 GB, free: 109.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 13.43/19.03, allocations: 3.166 GB / 5.85 GB, free: 50.29 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.174e-06/19.03, allocations: 2.594 kB / 5.85 GB, free: 50.29 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0007338/19.03, allocations: 125.7 kB / 5.85 GB, free: 50.26 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 711 * Number of variables: 711 Notification: Performance of Generate backend data structure: time 0.02374/19.06, allocations: 5.963 MB / 5.856 GB, free: 47.49 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/19.06, allocations: 9.125 kB / 5.856 GB, free: 47.49 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002042/19.06, allocations: 390.7 kB / 5.856 GB, free: 47.44 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/19.07, allocations: 1.463 MB / 5.858 GB, free: 47.17 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01586/19.09, allocations: 4.5 MB / 5.862 GB, free: 46.29 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/19.09, allocations: 237.5 kB / 5.863 GB, free: 46.28 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/19.09, allocations: 313.1 kB / 5.863 GB, free: 46.28 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006772/19.09, allocations: 3.332 MB / 5.866 GB, free: 45.89 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.51e-05/19.09, allocations: 7.281 kB / 5.866 GB, free: 45.89 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003188/19.09, allocations: 125 kB / 5.866 GB, free: 45.88 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.234e-05/19.09, allocations: 106.4 kB / 5.866 GB, free: 45.88 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005323/19.1, allocations: 2.729 MB / 5.869 GB, free: 45.82 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 preOpt removeSimpleEquations (simulation): time 0.02548/19.12, allocations: 15.06 MB / 5.884 GB, free: 38.87 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/19.13, allocations: 1.915 MB / 5.886 GB, free: 38.81 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003765/19.13, allocations: 235.8 kB / 5.886 GB, free: 38.62 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/19.13, allocations: 56.97 kB / 5.886 GB, free: 38.59 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00388/19.13, allocations: 0.5808 MB / 5.886 GB, free: 38.47 MB / 0.823 GB Notification: Performance of pre-optimization done (n=191): time 1.499e-05/19.13, allocations: 0 / 5.886 GB, free: 38.47 MB / 0.823 GB Notification: Performance of matching and sorting (n=199): time 0.01833/19.15, allocations: 7.124 MB / 5.893 GB, free: 36.68 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/19.15, allocations: 71.59 kB / 5.893 GB, free: 36.62 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006553/19.16, allocations: 3.327 MB / 5.897 GB, free: 36.32 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007627/19.16, allocations: 77.55 kB / 5.897 GB, free: 36.29 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001707/19.16, allocations: 1.998 MB / 5.899 GB, free: 35.13 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009528/19.16, allocations: 0.6829 MB / 5.899 GB, free: 34.59 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/19.16, allocations: 43.59 kB / 5.899 GB, free: 34.56 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001467/19.16, allocations: 398.3 kB / 5.9 GB, free: 34.21 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/19.16, allocations: 0.8945 MB / 5.901 GB, free: 33.91 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/19.17, allocations: 1.858 MB / 5.902 GB, free: 32.38 MB / 0.823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone4.dynBal.medium.p = zone4.dynBal.p_start (sin.p = zone4.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone3.dynBal.medium.p = zone3.dynBal.p_start (sin.p = zone3.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone1.dynBal.medium.p = zone1.dynBal.p_start (sin.p = zone1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone2.dynBal.medium.p = zone2.dynBal.p_start (sin.p = zone2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02701/19.19, allocations: 7.669 MB / 5.91 GB, free: 30.04 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.089e-05/19.19, allocations: 6.156 kB / 5.91 GB, free: 30.04 MB / 0.823 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.006885/19.2, allocations: 3.176 MB / 5.913 GB, free: 28.77 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001897/19.2, allocations: 7.821 MB / 5.921 GB, free: 20.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.378e-05/19.2, allocations: 14.72 kB / 5.921 GB, free: 20.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000864/19.2, allocations: 291.2 kB / 5.921 GB, free: 20.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/19.2, allocations: 0.5131 MB / 5.922 GB, free: 20.25 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/19.21, allocations: 4.697 MB / 5.926 GB, free: 15.82 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00638/19.21, allocations: 358.7 kB / 5.926 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005201/19.21, allocations: 121.4 kB / 5.927 GB, free: 15.56 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/19.21, allocations: 5.25 kB / 5.927 GB, free: 15.55 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005334/19.22, allocations: 2.7 MB / 5.929 GB, free: 13.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-05/19.22, allocations: 23.97 kB / 5.929 GB, free: 13.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/19.22, allocations: 304 kB / 5.93 GB, free: 12.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/19.22, allocations: 0.4928 MB / 5.93 GB, free: 12.49 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007109/19.23, allocations: 8.105 MB / 5.938 GB, free: 4.066 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007462/19.24, allocations: 340.7 kB / 5.938 GB, free: 3.805 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007228/19.24, allocations: 110.9 kB / 5.938 GB, free: 3.707 MB / 0.823 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: zone4.dynBal.medium.p = zone4.dynBal.p_start zone3.dynBal.medium.p = zone3.dynBal.p_start zone1.dynBal.medium.p = zone1.dynBal.p_start zone2.dynBal.medium.p = zone2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (266): * Single equations (assignments): 259 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.003403/19.24, allocations: 0.9705 MB / 5.939 GB, free: 2.809 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001599/19.24, allocations: 422.8 kB / 5.94 GB, free: 2.391 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006299/19.25, allocations: 2.83 MB / 5.942 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/19.25, allocations: 20 kB / 5.942 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/19.25, allocations: 3.828 kB / 5.942 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004668/19.25, allocations: 2.34 MB / 5.945 GB, free: 13.84 MB / 0.8386 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.02023/19.28, allocations: 6.701 MB / 5.951 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-05/19.28, allocations: 12 kB / 5.951 GB, free: 8.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/19.28, allocations: 434 kB / 5.952 GB, free: 8.016 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/19.28, allocations: 278.2 kB / 5.952 GB, free: 7.773 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002813/19.28, allocations: 65.73 kB / 5.952 GB, free: 7.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005627/19.29, allocations: 4.616 MB / 5.957 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-05/19.29, allocations: 15.62 kB / 5.957 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/19.3, allocations: 5.477 MB / 5.962 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00565/19.3, allocations: 0.7501 MB / 5.963 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002623/19.31, allocations: 51.94 kB / 5.963 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006754/19.31, allocations: 280.9 kB / 5.963 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004763/19.31, allocations: 162.2 kB / 5.963 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003299/19.32, allocations: 99.66 kB / 5.963 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.006446/19.32, allocations: 2.588 MB / 5.966 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.01e-07/19.32, allocations: 0 / 5.966 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01414/19.34, allocations: 2.554 MB / 5.968 GB, free: 7.594 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 8 (zone2.dynBal.U,zone2.dynBal.mXi[1],zone1.dynBal.U,zone1.dynBal.mXi[1],zone3.dynBal.U,zone3.dynBal.mXi[1],zone4.dynBal.U,zone4.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 (189): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.8051/20.14, allocations: 15.7 MB / 5.984 GB, free: 81.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01076/20.15, allocations: 4.57 MB / 5.988 GB, free: 80.38 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.135e-05/20.15, allocations: 3.344 kB / 5.988 GB, free: 80.38 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003021/20.16, allocations: 1.4 MB / 5.989 GB, free: 80.14 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01318/20.17, allocations: 2.262 MB / 5.992 GB, free: 80.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03268/20.2, allocations: 25.76 MB / 6.017 GB, free: 59.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00253/20.2, allocations: 2.616 MB / 6.019 GB, free: 58.71 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.006809/20.21, allocations: 1.108 MB / 6.02 GB, free: 58.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003533/20.21, allocations: 1.828 MB / 6.022 GB, free: 58.66 MB / 0.8542 GB Notification: Performance of SimCode: time 2.064e-06/20.21, allocations: 2.5 kB / 6.022 GB, free: 58.66 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3614/20.58, allocations: 198.3 MB / 6.216 GB, free: 28.05 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/20.58, allocations: 272.9 kB / 6.216 GB, free: 27.69 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.776/30.35, allocations: 0 / 6.216 GB, free: 27.69 MB / 0.8542 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dpSystem_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dpSystem.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1)