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.9464/0.9464, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001399/0.001399, allocations: 183.8 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.551/1.551, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009836/0.0009835, allocations: 92.09 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001781/0.001781, allocations: 273.8 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.832e-05/1.834e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4711, allocations: 82.78 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.607/5.078, allocations: 1.91 GB / 2.667 GB, free: 147.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/5.079, allocations: 91.83 kB / 2.667 GB, free: 147.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 12.29/17.37, allocations: 3.13 GB / 5.797 GB, free: 57.63 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.144e-06/17.37, allocations: 0 / 5.797 GB, free: 57.63 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000935/17.37, allocations: 125.6 kB / 5.797 GB, free: 57.61 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.01832/17.39, allocations: 4.649 MB / 5.802 GB, free: 55.61 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/17.39, allocations: 10.06 kB / 5.802 GB, free: 55.61 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/17.4, allocations: 1.462 MB / 5.803 GB, free: 55.33 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01645/17.42, allocations: 4.435 MB / 5.807 GB, free: 54.53 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002942/17.42, allocations: 90 kB / 5.807 GB, free: 54.53 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/17.42, allocations: 188.7 kB / 5.808 GB, free: 54.53 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007914/17.43, allocations: 2.425 MB / 5.81 GB, free: 54.51 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/17.44, allocations: 2.821 MB / 5.813 GB, free: 54.14 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001864/17.44, allocations: 11.88 kB / 5.813 GB, free: 54.14 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/17.44, allocations: 6.688 kB / 5.813 GB, free: 54.14 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/17.44, allocations: 101.3 kB / 5.813 GB, free: 54.13 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.02999/17.47, allocations: 14.47 MB / 5.827 GB, free: 47.47 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/17.48, allocations: 1.778 MB / 5.829 GB, free: 47.43 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/17.48, allocations: 1.027 MB / 5.83 GB, free: 47.41 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/17.48, allocations: 230.8 kB / 5.83 GB, free: 47.22 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/17.48, allocations: 65.28 kB / 5.83 GB, free: 47.18 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003541/17.48, allocations: 0.5076 MB / 5.83 GB, free: 47.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=191): time 9.688e-06/17.48, allocations: 3.969 kB / 5.83 GB, free: 47.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=199): time 0.01567/17.5, allocations: 5.333 MB / 5.836 GB, free: 45.89 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/17.5, allocations: 71 kB / 5.836 GB, free: 45.82 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006338/17.5, allocations: 2.774 MB / 5.838 GB, free: 45.53 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007275/17.5, allocations: 32.2 kB / 5.838 GB, free: 45.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001555/17.51, allocations: 1.962 MB / 5.84 GB, free: 44.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008485/17.51, allocations: 0.648 MB / 5.841 GB, free: 44.46 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/17.51, allocations: 3.625 kB / 5.841 GB, free: 44.46 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000117/17.51, allocations: 391.9 kB / 5.841 GB, free: 44.16 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/17.51, allocations: 0.7897 MB / 5.842 GB, free: 44.15 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/17.51, allocations: 1.732 MB / 5.844 GB, free: 43.04 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.01984/17.53, allocations: 6.917 MB / 5.851 GB, free: 42.56 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.731e-05/17.53, allocations: 5.688 kB / 5.851 GB, free: 42.56 MB / 0.823 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.006948/17.54, allocations: 2.934 MB / 5.854 GB, free: 42.23 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001698/17.54, allocations: 7.685 MB / 5.861 GB, free: 34.36 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.565e-05/17.54, allocations: 17.94 kB / 5.861 GB, free: 34.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007376/17.54, allocations: 261.4 kB / 5.861 GB, free: 34.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/17.54, allocations: 0.5175 MB / 5.862 GB, free: 34.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/17.55, allocations: 4.598 MB / 5.866 GB, free: 30.37 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006107/17.55, allocations: 285.6 kB / 5.867 GB, free: 30.34 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003095/17.55, allocations: 130.5 kB / 5.867 GB, free: 30.34 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/17.55, allocations: 4.5 kB / 5.867 GB, free: 30.34 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004769/17.56, allocations: 2.339 MB / 5.869 GB, free: 30.24 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/17.56, allocations: 14.44 kB / 5.869 GB, free: 30.24 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009351/17.56, allocations: 287.4 kB / 5.869 GB, free: 30.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/17.56, allocations: 0.4965 MB / 5.87 GB, free: 30.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006095/17.57, allocations: 7.727 MB / 5.877 GB, free: 23.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005236/17.57, allocations: 288 kB / 5.878 GB, free: 23.72 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003489/17.57, allocations: 118.8 kB / 5.878 GB, free: 23.72 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.0007599/17.57, allocations: 190.2 kB / 5.878 GB, free: 23.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/17.57, allocations: 394.5 kB / 5.878 GB, free: 23.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005334/17.58, allocations: 2.513 MB / 5.881 GB, free: 23.18 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/17.58, allocations: 21.44 kB / 5.881 GB, free: 23.18 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/17.58, allocations: 0 / 5.881 GB, free: 23.18 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003379/17.58, allocations: 2.11 MB / 5.883 GB, free: 22.82 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.01227/17.59, allocations: 6.064 MB / 5.889 GB, free: 22.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/17.59, allocations: 17.55 kB / 5.889 GB, free: 22.01 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/17.6, allocations: 441.6 kB / 5.889 GB, free: 22.01 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005531/17.6, allocations: 224.1 kB / 5.889 GB, free: 21.97 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/17.6, allocations: 38.39 kB / 5.889 GB, free: 21.97 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/17.6, allocations: 4.489 MB / 5.894 GB, free: 18.02 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/17.6, allocations: 15.53 kB / 5.894 GB, free: 18.02 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006575/17.61, allocations: 4.887 MB / 5.899 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002679/17.61, allocations: 0.7128 MB / 5.899 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00098/17.61, allocations: 20.78 kB / 5.899 GB, free: 15.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003863/17.61, allocations: 245.2 kB / 5.899 GB, free: 15.47 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/17.61, allocations: 160.2 kB / 5.9 GB, free: 15.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/17.61, allocations: 101.6 kB / 5.9 GB, free: 15.46 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003564/17.62, allocations: 2.09 MB / 5.902 GB, free: 15.28 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.61e-07/17.62, allocations: 0 / 5.902 GB, free: 15.28 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0113/17.63, allocations: 2.255 MB / 5.904 GB, free: 15.23 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.01258/17.64, allocations: 8.322 MB / 5.912 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007694/17.65, allocations: 4.22 MB / 5.916 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.669e-05/17.65, allocations: 3.969 kB / 5.916 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002014/17.65, allocations: 1.242 MB / 5.917 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01123/17.66, allocations: 1.942 MB / 5.919 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/17.67, allocations: 5.904 MB / 5.925 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/17.68, allocations: 2.615 MB / 5.928 GB, free: 23.17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.007971/17.68, allocations: 1.483 MB / 5.929 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008431/17.69, allocations: 236.7 kB / 5.929 GB, free: 22.92 MB / 0.8386 GB Notification: Performance of SimCode: time 1.222e-06/17.69, allocations: 0 / 5.929 GB, free: 22.92 MB / 0.8386 GB Notification: Performance of Templates: time 0.8722/18.56, allocations: 108.5 MB / 6.035 GB, free: 67.46 MB / 0.8386 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)