Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009142/0.0009142, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009606/0.0009607, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005022, allocations: 14.5 kB / 0.6735 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2447, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6778/0.9226, allocations: 166.8 MB / 0.95 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.9337, allocations: 6.97 MB / 0.9568 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.9357, allocations: 35.25 kB / 0.9568 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.9379, allocations: 0.622 MB / 0.9574 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006848/0.9448, allocations: 1.744 MB / 0.9591 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.9488, allocations: 1.152 MB / 0.9602 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003926/0.9527, allocations: 1.549 MB / 0.9617 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.9542, allocations: 0.7415 MB / 0.9625 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003254/0.9574, allocations: 1.086 MB / 0.9635 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.9586, allocations: 0.5563 MB / 0.9641 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.9587, allocations: 41.22 kB / 0.9641 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.9621, allocations: 1.097 MB / 0.9652 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.9624, allocations: 247.1 kB / 0.9654 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004607/0.9629, allocations: 244.9 kB / 0.9657 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.9649, allocations: 1.399 MB / 0.967 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.965, allocations: 3.5 kB / 0.967 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.395e-06/0.965, allocations: 0 / 0.967 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.965, allocations: 0 / 0.967 GB, free: 4.645 MB / 0.7169 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.003832/0.9688, allocations: 1.446 MB / 0.9684 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.9689, allocations: 9.688 kB / 0.9684 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.9713, allocations: 483.9 kB / 0.9689 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.9731, allocations: 0.8547 MB / 0.9697 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006206/0.9738, allocations: 193.7 kB / 0.9699 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.9739, allocations: 73.12 kB / 0.97 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.9762, allocations: 1.126 MB / 0.9711 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.9762, allocations: 6.891 kB / 0.9711 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.821e-05/0.9763, allocations: 27.31 kB / 0.9711 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.9764, allocations: 27.94 kB / 0.9712 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002852/0.9792, allocations: 1.27 MB / 0.9724 GB, free: 19.26 MB / 0.7325 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.006349/0.9856, allocations: 4.179 MB / 0.9765 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.9881, allocations: 0.946 MB / 0.9774 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000604/0.9887, allocations: 482.3 kB / 0.9779 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/0.9902, allocations: 0.6333 MB / 0.9785 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.485e-06/0.9902, allocations: 3.938 kB / 0.9785 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.004001/0.9942, allocations: 1.526 MB / 0.98 GB, free: 16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.9942, allocations: 83.55 kB / 0.9801 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009992/0.9953, allocations: 0.826 MB / 0.9809 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.55e-05/0.9954, allocations: 41.92 kB / 0.9809 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.9957, allocations: 433.5 kB / 0.9813 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.9959, allocations: 194.7 kB / 0.9815 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.9959, allocations: 14.19 kB / 0.9815 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.9961, allocations: 324.3 kB / 0.9818 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.9972, allocations: 462.5 kB / 0.9823 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.9984, allocations: 0.5765 MB / 0.9828 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.9996, allocations: 499.6 kB / 0.9833 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.9996, allocations: 0 / 0.9833 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002733/1.002, allocations: 1.147 MB / 0.9844 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003165/1.003, allocations: 0.7371 MB / 0.9851 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.003, allocations: 3.969 kB / 0.9851 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.003, allocations: 2.844 kB / 0.9851 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/1.004, allocations: 260.7 kB / 0.9854 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007526/1.005, allocations: 1.19 MB / 0.9866 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/1.006, allocations: 190.8 kB / 0.9867 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/1.006, allocations: 31.5 kB / 0.9868 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/1.006, allocations: 3 kB / 0.9868 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002496/1.009, allocations: 1.056 MB / 0.9878 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.009, allocations: 2.812 kB / 0.9878 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-06/1.009, allocations: 3.094 kB / 0.9878 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009326/1.01, allocations: 222.2 kB / 0.988 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/1.01, allocations: 3.062 kB / 0.988 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/1.011, allocations: 191.1 kB / 0.9882 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.997e-05/1.011, allocations: 31.2 kB / 0.9882 GB, free: 11.7 MB / 0.7325 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.0006082/1.012, allocations: 345.8 kB / 0.9886 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/1.012, allocations: 97.19 kB / 0.9887 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002899/1.015, allocations: 1.202 MB / 0.9898 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/1.015, allocations: 9.719 kB / 0.9898 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.015, allocations: 0 / 0.9898 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.015, allocations: 11.19 kB / 0.9899 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004988/1.02, allocations: 2.404 MB / 0.9922 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/1.02, allocations: 6.688 kB / 0.9922 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/1.021, allocations: 225.8 kB / 0.9924 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/1.021, allocations: 9.328 kB / 0.9924 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/1.021, allocations: 23.56 kB / 0.9925 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006249/1.022, allocations: 1.194 MB / 0.9936 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.022, allocations: 6 kB / 0.9936 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/1.025, allocations: 1.417 MB / 0.995 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007185/1.025, allocations: 293.8 kB / 0.9953 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/1.026, allocations: 27.5 kB / 0.9953 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.027, allocations: 157.9 kB / 0.9955 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/1.027, allocations: 60.41 kB / 0.9955 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.552e-05/1.027, allocations: 30.39 kB / 0.9956 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009093/1.028, allocations: 0.5735 MB / 0.9961 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3e-07/1.028, allocations: 4 kB / 0.9961 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0018/1.03, allocations: 486.1 kB / 0.9966 GB, free: 7.68 MB / 0.7325 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.0007608/1.031, allocations: 290 kB / 0.9969 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004771/1.036, allocations: 1.737 MB / 0.9986 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.036, allocations: 1.719 kB / 0.9986 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/1.037, allocations: 0.6015 MB / 0.9991 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/1.04, allocations: 459 kB / 0.9996 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005039/1.045, allocations: 2.244 MB / 1.002 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/1.046, allocations: 1.06 MB / 1.003 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001593/1.047, allocations: 279.4 kB / 1.003 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/1.048, allocations: 79.19 kB / 1.003 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of SimCode: time 1.212e-06/1.048, allocations: 0 / 1.003 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of Templates: time 0.03248/1.08, allocations: 18.26 MB / 1.021 GB, free: 6.723 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: