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.8258/0.8258, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.00105/0.001051, allocations: 180.9 kB / 182.2 MB, free: 9.457 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.459/1.459, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.000952/0.0009518, allocations: 88.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001976/0.001976, allocations: 279.2 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.72e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4296, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.108/4.538, allocations: 1.91 GB / 2.667 GB, free: 146.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/4.538, allocations: 88.7 kB / 2.667 GB, free: 146.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 11.52/16.06, allocations: 3.13 GB / 5.797 GB, free: 58.02 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.473e-06/16.06, allocations: 0.9688 kB / 5.797 GB, free: 58.02 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000525/16.06, allocations: 123.2 kB / 5.797 GB, free: 58 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.014/16.08, allocations: 4.65 MB / 5.802 GB, free: 56 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/16.08, allocations: 9.969 kB / 5.802 GB, free: 56 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/16.09, allocations: 1.464 MB / 5.803 GB, free: 55.73 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01264/16.1, allocations: 4.434 MB / 5.807 GB, free: 54.93 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/16.1, allocations: 93.41 kB / 5.807 GB, free: 54.93 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009471/16.1, allocations: 191 kB / 5.808 GB, free: 54.92 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005425/16.11, allocations: 2.422 MB / 5.81 GB, free: 54.91 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005533/16.11, allocations: 2.822 MB / 5.813 GB, free: 54.54 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-05/16.11, allocations: 6.906 kB / 5.813 GB, free: 54.54 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003189/16.11, allocations: 6.188 kB / 5.813 GB, free: 54.54 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.733e-05/16.11, allocations: 108.7 kB / 5.813 GB, free: 54.52 MB / 0.823 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.02432/16.14, allocations: 14.47 MB / 5.827 GB, free: 47.86 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/16.14, allocations: 1.78 MB / 5.829 GB, free: 47.82 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/16.14, allocations: 1.022 MB / 5.83 GB, free: 47.79 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003728/16.14, allocations: 237.8 kB / 5.83 GB, free: 47.61 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/16.14, allocations: 57.72 kB / 5.83 GB, free: 47.56 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003287/16.14, allocations: 0.5095 MB / 5.831 GB, free: 47.49 MB / 0.823 GB Notification: Performance of pre-optimization done (n=191): time 6.141e-06/16.14, allocations: 0 / 5.831 GB, free: 47.49 MB / 0.823 GB Notification: Performance of matching and sorting (n=199): time 0.01391/16.16, allocations: 5.337 MB / 5.836 GB, free: 46.27 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/16.16, allocations: 73.72 kB / 5.836 GB, free: 46.21 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004684/16.16, allocations: 2.767 MB / 5.839 GB, free: 45.92 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006167/16.16, allocations: 30.86 kB / 5.839 GB, free: 45.89 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001604/16.17, allocations: 1.961 MB / 5.84 GB, free: 45.29 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000865/16.17, allocations: 0.6594 MB / 5.841 GB, free: 44.85 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/16.17, allocations: 1.719 kB / 5.841 GB, free: 44.85 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001362/16.17, allocations: 388 kB / 5.842 GB, free: 44.54 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/16.17, allocations: 0.7954 MB / 5.842 GB, free: 44.54 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/16.17, allocations: 1.728 MB / 5.844 GB, free: 43.42 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.02165/16.19, allocations: 6.913 MB / 5.851 GB, free: 42.95 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-05/16.19, allocations: 3.906 kB / 5.851 GB, free: 42.95 MB / 0.823 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.007264/16.2, allocations: 2.932 MB / 5.854 GB, free: 42.61 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001842/16.2, allocations: 7.694 MB / 5.861 GB, free: 34.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.238e-05/16.2, allocations: 18.78 kB / 5.861 GB, free: 34.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008357/16.2, allocations: 255.5 kB / 5.861 GB, free: 34.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/16.2, allocations: 0.5154 MB / 5.862 GB, free: 34.71 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/16.21, allocations: 4.598 MB / 5.866 GB, free: 30.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005447/16.21, allocations: 292.5 kB / 5.867 GB, free: 30.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005324/16.21, allocations: 125.7 kB / 5.867 GB, free: 30.73 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/16.21, allocations: 3.156 kB / 5.867 GB, free: 30.73 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005333/16.22, allocations: 2.337 MB / 5.869 GB, free: 30.63 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.092e-05/16.22, allocations: 18.06 kB / 5.869 GB, free: 30.63 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009483/16.22, allocations: 293.3 kB / 5.869 GB, free: 30.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/16.22, allocations: 0.4927 MB / 5.87 GB, free: 30.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005869/16.23, allocations: 7.723 MB / 5.877 GB, free: 24.14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005481/16.23, allocations: 289.3 kB / 5.878 GB, free: 24.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005137/16.23, allocations: 116.7 kB / 5.878 GB, free: 24.11 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 () * 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.0007433/16.23, allocations: 188.3 kB / 5.878 GB, free: 24 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004938/16.24, allocations: 2.293 MB / 5.88 GB, free: 23.65 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/16.24, allocations: 396.3 kB / 5.881 GB, free: 23.44 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005077/16.25, allocations: 2.515 MB / 5.883 GB, free: 23.23 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/16.25, allocations: 20.69 kB / 5.883 GB, free: 23.23 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.036e-06/16.25, allocations: 8.297 kB / 5.883 GB, free: 23.22 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00324/16.25, allocations: 2.096 MB / 5.885 GB, free: 22.86 MB / 0.823 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.01275/16.26, allocations: 6.078 MB / 5.891 GB, free: 22.05 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/16.26, allocations: 8.656 kB / 5.891 GB, free: 22.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/16.26, allocations: 438.5 kB / 5.891 GB, free: 22.05 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000605/16.26, allocations: 227.1 kB / 5.892 GB, free: 22.02 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/16.26, allocations: 35.56 kB / 5.892 GB, free: 22.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/16.27, allocations: 4.493 MB / 5.896 GB, free: 18.06 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.54e-05/16.27, allocations: 15.31 kB / 5.896 GB, free: 18.06 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006917/16.27, allocations: 4.889 MB / 5.901 GB, free: 15.83 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002692/16.28, allocations: 0.7117 MB / 5.902 GB, free: 15.53 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00127/16.28, allocations: 15.62 kB / 5.902 GB, free: 15.53 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004203/16.28, allocations: 249.3 kB / 5.902 GB, free: 15.51 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003281/16.28, allocations: 161.2 kB / 5.902 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/16.28, allocations: 97.55 kB / 5.902 GB, free: 15.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.004273/16.29, allocations: 2.09 MB / 5.904 GB, free: 15.32 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.51e-07/16.29, allocations: 0 / 5.904 GB, free: 15.32 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01187/16.3, allocations: 2.256 MB / 5.906 GB, free: 15.27 MB / 0.823 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 () * 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.02071/16.32, allocations: 15.58 MB / 5.922 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007723/16.33, allocations: 4.22 MB / 5.926 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.026e-05/16.33, allocations: 0 / 5.926 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002269/16.33, allocations: 1.256 MB / 5.927 GB, free: 21.72 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01153/16.34, allocations: 1.933 MB / 5.929 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/16.36, allocations: 6.799 MB / 5.935 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002295/16.36, allocations: 2.619 MB / 5.938 GB, free: 18.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.007742/16.37, allocations: 1.481 MB / 5.939 GB, free: 18.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002374/16.37, allocations: 1.749 MB / 5.941 GB, free: 18.32 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/16.37, allocations: 0 / 5.941 GB, free: 18.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9313/17.3, allocations: 153.4 MB / 6.091 GB, free: 66.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/17.31, allocations: 194.1 kB / 6.091 GB, free: 65.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/25.52, allocations: 0 / 6.091 GB, free: 65.84 MB / 0.8386 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)