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.8609/0.8609, allocations: 143.4 MB / 158.3 MB, free: 5.82 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.001322/0.001322, allocations: 187.4 kB / 191.5 MB, free: 5.781 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.434/1.434, allocations: 223.2 MB / 447.7 MB, free: 4.734 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.000892/0.0008919, allocations: 92.31 kB / 0.5188 GB, free: 1.102 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 286.1 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005653/0.0005652, allocations: 19.09 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1717, allocations: 82.79 MB / 0.7737 GB, free: 13.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.701/4.873, allocations: 1.911 GB / 2.684 GB, free: 166.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/4.873, allocations: 103.2 kB / 2.684 GB, free: 166.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 11.86/16.73, allocations: 3.166 GB / 5.85 GB, free: 55.97 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.245e-06/16.73, allocations: 3.938 kB / 5.85 GB, free: 55.96 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.00072/16.73, allocations: 118.4 kB / 5.85 GB, free: 55.95 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.02222/16.76, allocations: 5.956 MB / 5.856 GB, free: 53.41 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/16.76, allocations: 9.75 kB / 5.856 GB, free: 53.41 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/16.77, allocations: 1.465 MB / 5.857 GB, free: 53.14 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.016/16.78, allocations: 4.5 MB / 5.862 GB, free: 52.33 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003688/16.78, allocations: 235.7 kB / 5.862 GB, free: 52.32 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001344/16.78, allocations: 316.5 kB / 5.862 GB, free: 52.32 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008709/16.79, allocations: 3.34 MB / 5.866 GB, free: 51.93 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.888e-05/16.79, allocations: 10.58 kB / 5.866 GB, free: 51.93 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004307/16.79, allocations: 118.1 kB / 5.866 GB, free: 51.93 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/16.79, allocations: 103.3 kB / 5.866 GB, free: 51.93 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00651/16.8, allocations: 2.723 MB / 5.869 GB, free: 51.89 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.02676/16.83, allocations: 15.05 MB / 5.883 GB, free: 45.09 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003469/16.83, allocations: 1.922 MB / 5.885 GB, free: 45.05 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004369/16.83, allocations: 238.2 kB / 5.885 GB, free: 44.86 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/16.83, allocations: 58.19 kB / 5.885 GB, free: 44.82 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003958/16.84, allocations: 0.5837 MB / 5.886 GB, free: 44.72 MB / 0.823 GB Notification: Performance of pre-optimization done (n=191): time 1.081e-05/16.84, allocations: 0 / 5.886 GB, free: 44.72 MB / 0.823 GB Notification: Performance of matching and sorting (n=199): time 0.01958/16.86, allocations: 7.117 MB / 5.893 GB, free: 43.02 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/16.86, allocations: 73.09 kB / 5.893 GB, free: 42.95 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006862/16.86, allocations: 3.325 MB / 5.896 GB, free: 42.66 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008249/16.86, allocations: 78.83 kB / 5.896 GB, free: 42.63 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001762/16.86, allocations: 2.005 MB / 5.898 GB, free: 42.09 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001091/16.87, allocations: 0.676 MB / 5.899 GB, free: 41.65 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/16.87, allocations: 45.88 kB / 5.899 GB, free: 41.65 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001484/16.87, allocations: 395.2 kB / 5.899 GB, free: 41.34 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/16.87, allocations: 0.8931 MB / 5.9 GB, free: 41.34 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/16.87, allocations: 1.861 MB / 5.902 GB, free: 40.22 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.02794/16.9, allocations: 7.669 MB / 5.91 GB, free: 39.73 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.848e-05/16.9, allocations: 4.375 kB / 5.91 GB, free: 39.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.007055/16.91, allocations: 3.179 MB / 5.913 GB, free: 39.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001559/16.91, allocations: 7.811 MB / 5.92 GB, free: 31.22 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/16.91, allocations: 18.06 kB / 5.92 GB, free: 31.22 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008897/16.91, allocations: 296.5 kB / 5.921 GB, free: 31.17 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/16.91, allocations: 0.5092 MB / 5.921 GB, free: 31.17 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003852/16.91, allocations: 4.698 MB / 5.926 GB, free: 27.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007413/16.92, allocations: 355.6 kB / 5.926 GB, free: 27.06 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005911/16.92, allocations: 124.9 kB / 5.926 GB, free: 27.06 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/16.92, allocations: 5.469 kB / 5.926 GB, free: 27.06 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005507/16.93, allocations: 2.699 MB / 5.929 GB, free: 26.96 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.024e-05/16.93, allocations: 18.31 kB / 5.929 GB, free: 26.96 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009967/16.93, allocations: 309.8 kB / 5.929 GB, free: 26.92 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/16.93, allocations: 0.4987 MB / 5.93 GB, free: 26.92 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00639/16.94, allocations: 8.088 MB / 5.937 GB, free: 20.13 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006951/16.94, allocations: 355.5 kB / 5.938 GB, free: 20.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006579/16.95, allocations: 123 kB / 5.938 GB, free: 20.09 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.003308/16.95, allocations: 0.9605 MB / 5.939 GB, free: 19.86 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/16.95, allocations: 417.2 kB / 5.939 GB, free: 19.64 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006019/16.96, allocations: 2.834 MB / 5.942 GB, free: 19.42 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/16.96, allocations: 21.06 kB / 5.942 GB, free: 19.42 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/16.96, allocations: 0 / 5.942 GB, free: 19.42 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004034/16.96, allocations: 2.343 MB / 5.944 GB, free: 19.04 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 postOpt removeSimpleEquations (simulation): time 0.0155/16.98, allocations: 6.704 MB / 5.951 GB, free: 18.11 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/16.98, allocations: 10.69 kB / 5.951 GB, free: 18.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002146/16.98, allocations: 440.2 kB / 5.951 GB, free: 18.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007729/16.98, allocations: 279.6 kB / 5.952 GB, free: 18.03 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/16.98, allocations: 62.86 kB / 5.952 GB, free: 18.03 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003142/16.98, allocations: 4.613 MB / 5.956 GB, free: 13.94 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/16.98, allocations: 14.16 kB / 5.956 GB, free: 13.93 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008935/16.99, allocations: 5.477 MB / 5.961 GB, free: 11.53 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003172/16.99, allocations: 0.7515 MB / 5.962 GB, free: 11.21 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/17, allocations: 50.53 kB / 5.962 GB, free: 11.21 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004741/17, allocations: 285.4 kB / 5.963 GB, free: 11.18 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003402/17, allocations: 160.1 kB / 5.963 GB, free: 11.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002308/17, allocations: 96.05 kB / 5.963 GB, free: 11.16 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.005237/17.01, allocations: 2.594 MB / 5.965 GB, free: 10.78 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.01e-07/17.01, allocations: 0 / 5.965 GB, free: 10.78 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01271/17.02, allocations: 2.56 MB / 5.968 GB, free: 10.29 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 () * 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.01173/17.03, allocations: 8.053 MB / 5.976 GB, free: 5.57 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009286/17.04, allocations: 4.563 MB / 5.98 GB, free: 3.547 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-05/17.04, allocations: 3.094 kB / 5.98 GB, free: 3.547 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002734/17.04, allocations: 1.417 MB / 5.982 GB, free: 2.926 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01257/17.06, allocations: 2.25 MB / 5.984 GB, free: 2.402 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/17.07, allocations: 8.896 MB / 5.992 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002595/17.07, allocations: 2.613 MB / 5.995 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00701/17.08, allocations: 1.111 MB / 5.996 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/17.08, allocations: 321.4 kB / 5.996 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of SimCode: time 9.72e-07/17.08, allocations: 0 / 5.996 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of Templates: time 0.823/17.91, allocations: 145 MB / 6.138 GB, free: 86.59 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)