Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8366/0.8366, allocations: 141.7 MB / 154.3 MB, free: 15.47 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.001612/0.001612, allocations: 180.9 kB / 187.3 MB, free: 11.88 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.514/1.514, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0009552/0.0009554, allocations: 93.98 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 265.9 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.795e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4955/0.4956, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.747/6.243, allocations: 2.143 GB / 2.907 GB, free: 183.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/6.243, allocations: 104.4 kB / 2.907 GB, free: 183.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.218/9.462, allocations: 0.8818 GB / 3.789 GB, free: 83.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/9.462, allocations: 0 / 3.789 GB, free: 83.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002159/9.462, allocations: 53.78 kB / 3.789 GB, free: 83.69 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.004853/9.467, allocations: 2.366 MB / 3.791 GB, free: 82.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/9.467, allocations: 10.41 kB / 3.791 GB, free: 82.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/9.469, allocations: 374.8 kB / 3.792 GB, free: 81.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/9.473, allocations: 2.034 MB / 3.794 GB, free: 80.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/9.473, allocations: 103.8 kB / 3.794 GB, free: 80.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/9.473, allocations: 145.4 kB / 3.794 GB, free: 80.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/9.475, allocations: 1.563 MB / 3.795 GB, free: 79.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/9.475, allocations: 0 / 3.795 GB, free: 79.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/9.476, allocations: 54.75 kB / 3.796 GB, free: 79.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/9.476, allocations: 46.22 kB / 3.796 GB, free: 79.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/9.477, allocations: 1.188 MB / 3.797 GB, free: 78.95 MB / 0.7136 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.008114/9.486, allocations: 6.46 MB / 3.803 GB, free: 73.87 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/9.487, allocations: 0.8954 MB / 3.804 GB, free: 73.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006572/9.487, allocations: 0.5965 MB / 3.804 GB, free: 73.15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005372/9.488, allocations: 0.6903 MB / 3.805 GB, free: 72.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/9.488, allocations: 43.25 kB / 3.805 GB, free: 72.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=83): time 4.638e-06/9.488, allocations: 2.062 kB / 3.805 GB, free: 72.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.004802/9.493, allocations: 3.091 MB / 3.808 GB, free: 70.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/9.493, allocations: 196.2 kB / 3.808 GB, free: 70.17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/9.495, allocations: 1.773 MB / 3.81 GB, free: 69.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/9.495, allocations: 47.77 kB / 3.81 GB, free: 69.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/9.496, allocations: 0.8864 MB / 3.811 GB, free: 68.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/9.496, allocations: 289.6 kB / 3.811 GB, free: 68.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/9.496, allocations: 19.66 kB / 3.811 GB, free: 68.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.668e-05/9.496, allocations: 344.6 kB / 3.812 GB, free: 67.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007121/9.497, allocations: 0.5756 MB / 3.812 GB, free: 67.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008501/9.498, allocations: 0.8444 MB / 3.813 GB, free: 67 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003868/9.502, allocations: 2.37 MB / 3.815 GB, free: 65.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/9.502, allocations: 3.938 kB / 3.815 GB, free: 65.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00247/9.504, allocations: 1.787 MB / 3.817 GB, free: 63.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004656/9.505, allocations: 1.656 MB / 3.819 GB, free: 62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/9.505, allocations: 4 kB / 3.819 GB, free: 62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/9.505, allocations: 15.72 kB / 3.819 GB, free: 61.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007152/9.506, allocations: 185.7 kB / 3.819 GB, free: 61.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/9.506, allocations: 8 kB / 3.819 GB, free: 61.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/9.507, allocations: 121.9 kB / 3.819 GB, free: 61.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/9.507, allocations: 51.98 kB / 3.819 GB, free: 61.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/9.507, allocations: 5.406 kB / 3.819 GB, free: 61.64 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002005/9.509, allocations: 1.793 MB / 3.821 GB, free: 59.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/9.509, allocations: 7.75 kB / 3.821 GB, free: 59.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/9.509, allocations: 8 kB / 3.821 GB, free: 59.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/9.51, allocations: 178.6 kB / 3.821 GB, free: 59.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/9.51, allocations: 15.92 kB / 3.821 GB, free: 59.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/9.512, allocations: 115.3 kB / 3.821 GB, free: 59.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/9.512, allocations: 52 kB / 3.821 GB, free: 59.49 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003076/9.512, allocations: 260.5 kB / 3.821 GB, free: 59.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003491/9.513, allocations: 197.5 kB / 3.822 GB, free: 59.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/9.515, allocations: 1.423 MB / 3.823 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/9.515, allocations: 12 kB / 3.823 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/9.515, allocations: 2.969 kB / 3.823 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00134/9.516, allocations: 1.503 MB / 3.825 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00507/9.521, allocations: 3.568 MB / 3.828 GB, free: 52.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/9.521, allocations: 6.5 kB / 3.828 GB, free: 52.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007009/9.522, allocations: 179.7 kB / 3.828 GB, free: 52.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/9.522, allocations: 8 kB / 3.828 GB, free: 52.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/9.522, allocations: 24 kB / 3.828 GB, free: 52.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/9.522, allocations: 14.97 kB / 3.828 GB, free: 52.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/9.522, allocations: 7.984 kB / 3.828 GB, free: 52.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/9.525, allocations: 2.721 MB / 3.831 GB, free: 49.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/9.526, allocations: 450.5 kB / 3.831 GB, free: 48.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/9.526, allocations: 31.17 kB / 3.831 GB, free: 48.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/9.527, allocations: 99.77 kB / 3.831 GB, free: 48.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/9.527, allocations: 102.6 kB / 3.832 GB, free: 48.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/9.527, allocations: 37.62 kB / 3.832 GB, free: 48.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00187/9.529, allocations: 1.383 MB / 3.833 GB, free: 46.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.41e-07/9.529, allocations: 0 / 3.833 GB, free: 46.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003279/9.533, allocations: 1.007 MB / 3.834 GB, free: 45.97 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003142/9.536, allocations: 2.279 MB / 3.836 GB, free: 44.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003129/9.539, allocations: 3.034 MB / 3.839 GB, free: 40.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/9.539, allocations: 7.938 kB / 3.839 GB, free: 40.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009819/9.54, allocations: 0.9831 MB / 3.84 GB, free: 39.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004701/9.545, allocations: 1.013 MB / 3.841 GB, free: 38.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/9.55, allocations: 3.122 MB / 3.844 GB, free: 35.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008766/9.551, allocations: 1.562 MB / 3.846 GB, free: 34.32 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00262/9.553, allocations: 0.662 MB / 3.846 GB, free: 33.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/9.554, allocations: 103.4 kB / 3.846 GB, free: 33.64 MB / 0.7136 GB Notification: Performance of SimCode: time 1.242e-06/9.554, allocations: 2.156 kB / 3.846 GB, free: 33.64 MB / 0.7136 GB Notification: Performance of Templates: time 0.5753/10.13, allocations: 67.85 MB / 3.913 GB, free: 101.3 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)