Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 252 MB / 267.6 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000954/0.0009543, allocations: 175.4 kB / 327.3 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 0.5783 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008975/0.0008975, allocations: 90.3 kB / 0.6829 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003337, allocations: 12.03 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2566, allocations: 106.3 MB / 0.9008 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.8698/1.126, allocations: 182.3 MB / 1.079 GB, free: 4.172 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01285/1.139, allocations: 7.151 MB / 1.086 GB, free: 4.004 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/1.141, allocations: 38.28 kB / 1.086 GB, free: 4.004 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/1.143, allocations: 453.6 kB / 1.086 GB, free: 4 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006493/1.15, allocations: 1.509 MB / 1.088 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003845/1.154, allocations: 0.893 MB / 1.089 GB, free: 3.895 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005771/1.16, allocations: 2.98 MB / 1.092 GB, free: 3.879 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/1.161, allocations: 0.7031 MB / 1.092 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004/1.165, allocations: 1.164 MB / 1.093 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/1.168, allocations: 0.7875 MB / 1.094 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/1.168, allocations: 44.81 kB / 1.094 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004127/1.172, allocations: 1.263 MB / 1.095 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004056/1.172, allocations: 253.9 kB / 1.096 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000944/1.173, allocations: 243.5 kB / 1.096 GB, free: 19.73 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002692/1.176, allocations: 1.488 MB / 1.097 GB, free: 19.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/1.176, allocations: 0 / 1.097 GB, free: 19.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.206e-06/1.176, allocations: 0 / 1.097 GB, free: 19.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.393e-05/1.176, allocations: 0 / 1.097 GB, free: 19.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.003609/1.18, allocations: 1.477 MB / 1.099 GB, free: 18.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.18, allocations: 9.469 kB / 1.099 GB, free: 18.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/1.182, allocations: 478.7 kB / 1.099 GB, free: 18.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/1.184, allocations: 0.8757 MB / 1.1 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006067/1.184, allocations: 192.1 kB / 1.1 GB, free: 18.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/1.185, allocations: 75.72 kB / 1.1 GB, free: 18.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/1.187, allocations: 1.123 MB / 1.102 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/1.187, allocations: 0 / 1.102 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-05/1.187, allocations: 31.56 kB / 1.102 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/1.187, allocations: 35.03 kB / 1.102 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003043/1.19, allocations: 1.271 MB / 1.103 GB, free: 18.2 MB / 0.7136 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.006644/1.197, allocations: 4.174 MB / 1.107 GB, free: 16.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/1.199, allocations: 0.9297 MB / 1.108 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/1.201, allocations: 0.5295 MB / 1.108 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008708/1.202, allocations: 0.6499 MB / 1.109 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001594/1.203, allocations: 0.6386 MB / 1.11 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 2.805e-06/1.203, allocations: 0 / 1.11 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.00437/1.208, allocations: 1.518 MB / 1.111 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.856e-05/1.208, allocations: 92.34 kB / 1.111 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/1.209, allocations: 0.8196 MB / 1.112 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-05/1.209, allocations: 44.02 kB / 1.112 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/1.209, allocations: 432.8 kB / 1.112 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/1.21, allocations: 193.3 kB / 1.113 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/1.21, allocations: 10.47 kB / 1.113 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.21, allocations: 331.8 kB / 1.113 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/1.211, allocations: 460.6 kB / 1.113 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/1.212, allocations: 0.5737 MB / 1.114 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/1.214, allocations: 0.4946 MB / 1.114 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/1.214, allocations: 0 / 1.114 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002936/1.217, allocations: 1.155 MB / 1.116 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/1.217, allocations: 171.6 kB / 1.116 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.217, allocations: 2.906 kB / 1.116 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/1.217, allocations: 5.344 kB / 1.116 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/1.218, allocations: 245.8 kB / 1.116 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/1.219, allocations: 1.197 MB / 1.117 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/1.221, allocations: 189.3 kB / 1.117 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.104e-05/1.221, allocations: 31.06 kB / 1.117 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.221, allocations: 7.469 kB / 1.117 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002835/1.224, allocations: 1.052 MB / 1.118 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.224, allocations: 1.875 kB / 1.118 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.224, allocations: 5.875 kB / 1.118 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/1.225, allocations: 222.8 kB / 1.119 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.225, allocations: 11.28 kB / 1.119 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/1.226, allocations: 182.9 kB / 1.119 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.257e-05/1.226, allocations: 35.55 kB / 1.119 GB, free: 12.59 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 () * Number of clocked 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.0007259/1.227, allocations: 339.9 kB / 1.119 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/1.227, allocations: 99.31 kB / 1.119 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/1.23, allocations: 1.212 MB / 1.12 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/1.23, allocations: 5.75 kB / 1.12 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.23, allocations: 3.953 kB / 1.12 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.23, allocations: 3.188 kB / 1.12 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00504/1.235, allocations: 2.396 MB / 1.123 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/1.235, allocations: 2.125 kB / 1.123 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/1.237, allocations: 220.1 kB / 1.123 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-05/1.237, allocations: 5.219 kB / 1.123 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.948e-05/1.237, allocations: 27.23 kB / 1.123 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007166/1.238, allocations: 1.189 MB / 1.124 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/1.238, allocations: 6.062 kB / 1.124 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/1.241, allocations: 1.287 MB / 1.125 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006713/1.242, allocations: 297.6 kB / 1.126 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/1.242, allocations: 16.25 kB / 1.126 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.243, allocations: 158.2 kB / 1.126 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.244, allocations: 60.81 kB / 1.126 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.799e-05/1.244, allocations: 35 kB / 1.126 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008382/1.244, allocations: 0.5749 MB / 1.126 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.244, allocations: 0 / 1.126 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001449/1.246, allocations: 482.9 kB / 1.127 GB, free: 9.922 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) * Number of clocked states: 0 () * 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.0007346/1.247, allocations: 294.8 kB / 1.127 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004788/1.251, allocations: 1.739 MB / 1.129 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.251, allocations: 3.594 kB / 1.129 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/1.253, allocations: 0.5891 MB / 1.13 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/1.256, allocations: 462.3 kB / 1.13 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/1.26, allocations: 2.266 MB / 1.132 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/1.261, allocations: 1.037 MB / 1.133 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/1.261, allocations: 91.25 kB / 1.133 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of SimCode: time 1.372e-06/1.261, allocations: 0 / 1.133 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of Templates: time 0.03692/1.298, allocations: 25.13 MB / 1.158 GB, free: 6.625 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)