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.8547/0.8547, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001065/0.001065, allocations: 168.9 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.588/1.588, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009349/0.0009349, allocations: 84.12 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.001801, allocations: 283.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.694e-05/2.689e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6038/0.6039, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.918/6.522, allocations: 2.125 GB / 2.883 GB, free: 162.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/6.522, allocations: 87.52 kB / 2.883 GB, free: 162.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.048/9.57, allocations: 0.7893 GB / 3.672 GB, free: 101.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.212e-06/9.57, allocations: 0 / 3.672 GB, free: 101.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001306/9.57, allocations: 28.22 kB / 3.672 GB, free: 101.8 MB / 0.698 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.004787/9.575, allocations: 1.56 MB / 3.674 GB, free: 101.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/9.575, allocations: 11.75 kB / 3.674 GB, free: 101.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002367/9.577, allocations: 440 kB / 3.674 GB, free: 101.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/9.58, allocations: 1.042 MB / 3.675 GB, free: 100.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006167/9.581, allocations: 166.8 kB / 3.675 GB, free: 100.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/9.581, allocations: 45.72 kB / 3.675 GB, free: 100.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001249/9.582, allocations: 0.7372 MB / 3.676 GB, free: 100.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/9.583, allocations: 0.8261 MB / 3.677 GB, free: 100.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/9.583, allocations: 2.812 kB / 3.677 GB, free: 100.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.639e-05/9.583, allocations: 0 / 3.677 GB, free: 100.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/9.583, allocations: 38.45 kB / 3.677 GB, free: 100.7 MB / 0.698 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.006208/9.59, allocations: 4.06 MB / 3.681 GB, free: 98.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/9.59, allocations: 0.5236 MB / 3.681 GB, free: 98.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004018/9.591, allocations: 330.4 kB / 3.682 GB, free: 98.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006457/9.591, allocations: 0.6365 MB / 3.682 GB, free: 98.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006286/9.592, allocations: 442.4 kB / 3.683 GB, free: 98.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 2.414e-06/9.592, allocations: 0 / 3.683 GB, free: 98.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.001662/9.594, allocations: 0.7177 MB / 3.683 GB, free: 98.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/9.594, allocations: 89.84 kB / 3.683 GB, free: 98.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/9.595, allocations: 0.563 MB / 3.684 GB, free: 97.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.36e-05/9.595, allocations: 25.7 kB / 3.684 GB, free: 97.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/9.595, allocations: 442.5 kB / 3.684 GB, free: 97.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/9.595, allocations: 185.7 kB / 3.685 GB, free: 97.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/9.595, allocations: 0 / 3.685 GB, free: 97.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/9.595, allocations: 331.6 kB / 3.685 GB, free: 97.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/9.596, allocations: 255.1 kB / 3.685 GB, free: 97.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/9.596, allocations: 418.5 kB / 3.686 GB, free: 97.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/9.597, allocations: 325.6 kB / 3.686 GB, free: 97.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/9.597, allocations: 0 / 3.686 GB, free: 97.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001358/9.598, allocations: 0.7609 MB / 3.687 GB, free: 97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002366/9.598, allocations: 0.9016 MB / 3.688 GB, free: 96.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/9.598, allocations: 3.438 kB / 3.688 GB, free: 96.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/9.598, allocations: 5.188 kB / 3.688 GB, free: 96.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/9.6, allocations: 255.1 kB / 3.688 GB, free: 96.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005362/9.6, allocations: 1.207 MB / 3.689 GB, free: 94.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/9.602, allocations: 169.5 kB / 3.689 GB, free: 94.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.627e-05/9.602, allocations: 35.08 kB / 3.689 GB, free: 94.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/9.602, allocations: 4.875 kB / 3.689 GB, free: 94.86 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0012/9.603, allocations: 0.6495 MB / 3.69 GB, free: 94.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/9.603, allocations: 7.109 kB / 3.69 GB, free: 94.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/9.603, allocations: 6.188 kB / 3.69 GB, free: 94.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/9.604, allocations: 224 kB / 3.69 GB, free: 94.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/9.604, allocations: 9.031 kB / 3.69 GB, free: 94.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/9.605, allocations: 162.9 kB / 3.69 GB, free: 94.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.39e-05/9.605, allocations: 30.67 kB / 3.69 GB, free: 94.83 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0002513/9.606, allocations: 123.7 kB / 3.69 GB, free: 94.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/9.606, allocations: 88.34 kB / 3.69 GB, free: 94.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/9.607, allocations: 0.8298 MB / 3.691 GB, free: 94.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/9.608, allocations: 5.281 kB / 3.691 GB, free: 94.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/9.608, allocations: 3.5 kB / 3.691 GB, free: 94.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/9.608, allocations: 4.703 kB / 3.691 GB, free: 94.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003387/9.611, allocations: 1.915 MB / 3.693 GB, free: 94.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/9.611, allocations: 0 / 3.693 GB, free: 94.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/9.612, allocations: 227.4 kB / 3.693 GB, free: 94.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/9.612, allocations: 6.312 kB / 3.693 GB, free: 94.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/9.612, allocations: 18.06 kB / 3.693 GB, free: 94.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003878/9.612, allocations: 1.195 MB / 3.695 GB, free: 93.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/9.613, allocations: 3.844 kB / 3.695 GB, free: 93.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/9.614, allocations: 1.037 MB / 3.696 GB, free: 92.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/9.614, allocations: 284.3 kB / 3.696 GB, free: 92.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/9.615, allocations: 7.031 kB / 3.696 GB, free: 92.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/9.616, allocations: 158.2 kB / 3.696 GB, free: 92.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/9.616, allocations: 57.56 kB / 3.696 GB, free: 92.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.739e-05/9.616, allocations: 36.8 kB / 3.696 GB, free: 92.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000534/9.617, allocations: 445.3 kB / 3.696 GB, free: 92.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/9.617, allocations: 2.281 kB / 3.696 GB, free: 92.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001961/9.619, allocations: 0.5898 MB / 3.697 GB, free: 92.25 MB / 0.698 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.002711/9.621, allocations: 1.861 MB / 3.699 GB, free: 91.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002018/9.623, allocations: 1.165 MB / 3.7 GB, free: 91.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/9.623, allocations: 0 / 3.7 GB, free: 91.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006562/9.624, allocations: 404.7 kB / 3.7 GB, free: 91.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/9.626, allocations: 352.4 kB / 3.701 GB, free: 91.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/9.629, allocations: 1.288 MB / 3.702 GB, free: 91.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/9.629, allocations: 1.066 MB / 3.703 GB, free: 90.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00156/9.631, allocations: 315.3 kB / 3.703 GB, free: 90.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/9.631, allocations: 71.45 kB / 3.703 GB, free: 90.43 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/9.631, allocations: 0 / 3.703 GB, free: 90.43 MB / 0.698 GB Notification: Performance of Templates: time 0.03667/9.668, allocations: 25.05 MB / 3.728 GB, free: 88.57 MB / 0.698 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)