Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8624/0.8624, 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.00102/0.00102, allocations: 178.6 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.505/1.505, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0009486/0.0009484, allocations: 90.95 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 280.8 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.433e-05/5.476e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.54, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.018/6.558, allocations: 2.126 GB / 2.89 GB, free: 202.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/6.559, allocations: 83.89 kB / 2.89 GB, free: 202.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.201/9.759, allocations: 0.7964 GB / 3.687 GB, free: 108.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.064e-06/9.759, allocations: 0 / 3.687 GB, free: 108.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.19e-05/9.76, allocations: 38.34 kB / 3.687 GB, free: 108.6 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004612/9.764, allocations: 1.558 MB / 3.688 GB, free: 107.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/9.764, allocations: 12.44 kB / 3.688 GB, free: 107.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00234/9.767, allocations: 446 kB / 3.689 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/9.769, allocations: 1.032 MB / 3.69 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006023/9.77, allocations: 189.6 kB / 3.69 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/9.77, allocations: 69.78 kB / 3.69 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/9.771, allocations: 0.9231 MB / 3.691 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/9.771, allocations: 6.156 kB / 3.691 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.474e-05/9.771, allocations: 30.33 kB / 3.691 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.716e-05/9.772, allocations: 30.89 kB / 3.691 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/9.773, allocations: 0.8162 MB / 3.692 GB, free: 107.5 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.007974/9.781, allocations: 4.238 MB / 3.696 GB, free: 105.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009308/9.782, allocations: 0.5427 MB / 3.696 GB, free: 105.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004779/9.782, allocations: 338.7 kB / 3.697 GB, free: 105.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007769/9.783, allocations: 0.6439 MB / 3.697 GB, free: 105 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007071/9.784, allocations: 465.8 kB / 3.698 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 2.885e-06/9.784, allocations: 0 / 3.698 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.001547/9.785, allocations: 0.7032 MB / 3.699 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/9.785, allocations: 88.48 kB / 3.699 GB, free: 104.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009358/9.786, allocations: 0.7155 MB / 3.699 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.012e-05/9.787, allocations: 36.27 kB / 3.699 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/9.787, allocations: 437.4 kB / 3.7 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/9.787, allocations: 193.3 kB / 3.7 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/9.787, allocations: 10.47 kB / 3.7 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/9.787, allocations: 334.1 kB / 3.7 GB, free: 104 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/9.788, allocations: 268.2 kB / 3.701 GB, free: 104 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/9.788, allocations: 422.6 kB / 3.701 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/9.789, allocations: 314.3 kB / 3.701 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/9.789, allocations: 0 / 3.701 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001297/9.79, allocations: 0.7778 MB / 3.702 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002288/9.79, allocations: 0.7358 MB / 3.703 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/9.79, allocations: 5.422 kB / 3.703 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/9.79, allocations: 3.344 kB / 3.703 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/9.792, allocations: 243.2 kB / 3.703 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005573/9.792, allocations: 1.201 MB / 3.704 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/9.793, allocations: 189.1 kB / 3.704 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/9.794, allocations: 35.12 kB / 3.704 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/9.794, allocations: 8.188 kB / 3.704 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001106/9.795, allocations: 0.6799 MB / 3.705 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/9.795, allocations: 0 / 3.705 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/9.795, allocations: 8.656 kB / 3.705 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009547/9.796, allocations: 226.8 kB / 3.705 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/9.796, allocations: 4.875 kB / 3.705 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/9.797, allocations: 193.1 kB / 3.705 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.93e-05/9.797, allocations: 36.08 kB / 3.705 GB, free: 101.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000235/9.797, allocations: 148.3 kB / 3.706 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/9.797, allocations: 95.12 kB / 3.706 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/9.799, allocations: 0.8449 MB / 3.707 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/9.799, allocations: 14.8 kB / 3.707 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/9.799, allocations: 0 / 3.707 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/9.799, allocations: 5.953 kB / 3.707 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/9.802, allocations: 2.025 MB / 3.709 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/9.802, allocations: 2.844 kB / 3.709 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/9.803, allocations: 233.3 kB / 3.709 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/9.803, allocations: 7.156 kB / 3.709 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/9.803, allocations: 21.72 kB / 3.709 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003827/9.803, allocations: 1.189 MB / 3.71 GB, free: 99.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/9.803, allocations: 6.406 kB / 3.71 GB, free: 99.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/9.805, allocations: 1.046 MB / 3.711 GB, free: 99.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005126/9.805, allocations: 297.2 kB / 3.711 GB, free: 99.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/9.805, allocations: 17.59 kB / 3.711 GB, free: 99.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/9.806, allocations: 164.6 kB / 3.711 GB, free: 99.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/9.807, allocations: 62.83 kB / 3.711 GB, free: 99.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/9.807, allocations: 37.72 kB / 3.712 GB, free: 99.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006636/9.807, allocations: 0.5594 MB / 3.712 GB, free: 99.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.293e-06/9.807, allocations: 0 / 3.712 GB, free: 99.15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001862/9.809, allocations: 0.6357 MB / 3.713 GB, free: 99.12 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002431/9.812, allocations: 1.695 MB / 3.714 GB, free: 98.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002209/9.814, allocations: 1.202 MB / 3.715 GB, free: 98.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/9.814, allocations: 0 / 3.715 GB, free: 98.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007415/9.815, allocations: 425.7 kB / 3.716 GB, free: 98.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/9.817, allocations: 465.8 kB / 3.716 GB, free: 98.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/9.82, allocations: 1.344 MB / 3.718 GB, free: 98.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/9.82, allocations: 1.064 MB / 3.719 GB, free: 97.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001612/9.822, allocations: 363.1 kB / 3.719 GB, free: 97.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/9.822, allocations: 71.84 kB / 3.719 GB, free: 97.32 MB / 0.7136 GB Notification: Performance of SimCode: time 1.653e-06/9.822, allocations: 0 / 3.719 GB, free: 97.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.05435/9.876, allocations: 41.81 MB / 3.76 GB, free: 95.37 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)