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: translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem") translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8118/0.8118, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 177.7 kB / 187.3 MB, free: 11.89 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.471/1.471, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.0009343/0.0009343, allocations: 96.39 kB / 0.5124 GB, free: 24.11 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001882/0.001882, allocations: 275.4 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.437e-05/4.458e-05, allocations: 11.98 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4821, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.404/4.887, allocations: 1.91 GB / 2.675 GB, free: 95.98 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/4.887, allocations: 97.77 kB / 2.675 GB, free: 95.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 11.72/16.61, allocations: 3.163 GB / 5.838 GB, free: 49.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.194e-06/16.61, allocations: 0 / 5.838 GB, free: 49.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0006888/16.61, allocations: 122.5 kB / 5.838 GB, free: 49.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.01499/16.62, allocations: 4.645 MB / 5.842 GB, free: 47.24 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/16.62, allocations: 10.31 kB / 5.842 GB, free: 47.24 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/16.63, allocations: 1.463 MB / 5.844 GB, free: 46.96 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/16.65, allocations: 4.434 MB / 5.848 GB, free: 46.09 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/16.65, allocations: 237.7 kB / 5.848 GB, free: 46.08 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/16.65, allocations: 321.1 kB / 5.849 GB, free: 46.08 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006083/16.65, allocations: 3.211 MB / 5.852 GB, free: 45.69 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-05/16.65, allocations: 6.656 kB / 5.852 GB, free: 45.68 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003077/16.65, allocations: 124.1 kB / 5.852 GB, free: 45.68 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.228e-05/16.65, allocations: 101.4 kB / 5.852 GB, free: 45.68 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004107/16.66, allocations: 2.523 MB / 5.855 GB, free: 45.62 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.02133/16.68, allocations: 15.06 MB / 5.869 GB, free: 38.66 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/16.68, allocations: 1.78 MB / 5.871 GB, free: 38.59 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/16.68, allocations: 1.055 MB / 5.872 GB, free: 38.57 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/16.68, allocations: 232.3 kB / 5.872 GB, free: 38.39 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/16.68, allocations: 64.53 kB / 5.872 GB, free: 38.34 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00311/16.69, allocations: 0.5876 MB / 5.873 GB, free: 38.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=191): time 6.482e-06/16.69, allocations: 3.938 kB / 5.873 GB, free: 38.19 MB / 0.823 GB Notification: Performance of matching and sorting (n=199): time 0.01439/16.7, allocations: 5.297 MB / 5.878 GB, free: 36.94 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/16.7, allocations: 79.03 kB / 5.878 GB, free: 36.88 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005607/16.71, allocations: 3.251 MB / 5.881 GB, free: 36.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007286/16.71, allocations: 76.92 kB / 5.881 GB, free: 36.14 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001573/16.71, allocations: 1.995 MB / 5.883 GB, free: 34.57 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008087/16.71, allocations: 0.6859 MB / 5.884 GB, free: 34.03 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/16.71, allocations: 44.69 kB / 5.884 GB, free: 34 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001142/16.71, allocations: 395.2 kB / 5.884 GB, free: 33.66 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/16.71, allocations: 0.8028 MB / 5.885 GB, free: 33.35 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/16.71, allocations: 1.774 MB / 5.887 GB, free: 31.82 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.02231/16.74, allocations: 7.186 MB / 5.894 GB, free: 29.58 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/16.74, allocations: 7.562 kB / 5.894 GB, free: 29.58 MB / 0.823 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005545/16.74, allocations: 2.993 MB / 5.897 GB, free: 27.14 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0013/16.74, allocations: 7.805 MB / 5.905 GB, free: 18.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/16.74, allocations: 23.94 kB / 5.905 GB, free: 18.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007794/16.74, allocations: 293.8 kB / 5.905 GB, free: 18.47 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/16.75, allocations: 0.5074 MB / 5.905 GB, free: 18.04 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/16.75, allocations: 4.67 MB / 5.91 GB, free: 13.19 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005404/16.75, allocations: 350.6 kB / 5.91 GB, free: 12.92 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005073/16.75, allocations: 128.6 kB / 5.91 GB, free: 12.81 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/16.75, allocations: 5.094 kB / 5.91 GB, free: 12.81 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004201/16.76, allocations: 2.538 MB / 5.913 GB, free: 10.55 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/16.76, allocations: 19.33 kB / 5.913 GB, free: 10.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009231/16.76, allocations: 299 kB / 5.913 GB, free: 10.29 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/16.76, allocations: 0.5 MB / 5.914 GB, free: 9.859 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005968/16.77, allocations: 8.017 MB / 5.921 GB, free: 1.488 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005581/16.77, allocations: 344.2 kB / 5.922 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005015/16.77, allocations: 119.7 kB / 5.922 GB, free: 1.121 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.0006953/16.77, allocations: 270.6 kB / 5.922 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/16.78, allocations: 422.8 kB / 5.923 GB, free: 452 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005546/16.78, allocations: 2.661 MB / 5.925 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/16.78, allocations: 20 kB / 5.925 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/16.78, allocations: 0 / 5.925 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00337/16.78, allocations: 2.17 MB / 5.927 GB, free: 12.13 MB / 0.8386 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.0148/16.8, allocations: 6.541 MB / 5.934 GB, free: 6.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/16.8, allocations: 8 kB / 5.934 GB, free: 6.781 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/16.8, allocations: 442.2 kB / 5.934 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007612/16.8, allocations: 276.4 kB / 5.934 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/16.8, allocations: 63.59 kB / 5.934 GB, free: 6.121 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003584/16.81, allocations: 4.575 MB / 5.939 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/16.81, allocations: 12 kB / 5.939 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007557/16.81, allocations: 5.223 MB / 5.944 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003147/16.82, allocations: 0.7505 MB / 5.945 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00123/16.82, allocations: 51.56 kB / 5.945 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004414/16.82, allocations: 279.8 kB / 5.945 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003504/16.82, allocations: 164 kB / 5.945 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/16.82, allocations: 95.11 kB / 5.945 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.005403/16.83, allocations: 2.528 MB / 5.948 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.81e-07/16.83, allocations: 0 / 5.948 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01231/16.84, allocations: 2.564 MB / 5.95 GB, free: 5.992 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 () * 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.6448/17.49, allocations: 8.065 MB / 5.958 GB, free: 84.38 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008225/17.49, allocations: 4.439 MB / 5.963 GB, free: 83.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/17.49, allocations: 4.156 kB / 5.963 GB, free: 83.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0021/17.5, allocations: 1.319 MB / 5.964 GB, free: 83.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/17.51, allocations: 2.256 MB / 5.966 GB, free: 83.32 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/17.52, allocations: 6.09 MB / 5.972 GB, free: 81.61 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/17.52, allocations: 2.621 MB / 5.975 GB, free: 80.81 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.007821/17.53, allocations: 1.597 MB / 5.976 GB, free: 80.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009347/17.53, allocations: 250.3 kB / 5.976 GB, free: 80.77 MB / 0.8542 GB Notification: Performance of SimCode: time 9.22e-07/17.53, allocations: 0 / 5.976 GB, free: 80.77 MB / 0.8542 GB Notification: Performance of Templates: time 0.2144/17.74, allocations: 166.3 MB / 6.139 GB, free: 69.75 MB / 0.8542 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1)