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.0007856/0.0007857, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005051/0.005051, allocations: 170.7 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.697/1.697, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005536/0.0005537, allocations: 13.41 kB / 0.6743 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2637, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.7266/0.9904, allocations: 195 MB / 0.9783 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01227/1.003, allocations: 7.57 MB / 0.9857 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/1.005, allocations: 36.53 kB / 0.9858 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002144/1.007, allocations: 0.572 MB / 0.9863 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006711/1.014, allocations: 1.825 MB / 0.9881 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00351/1.017, allocations: 1.056 MB / 0.9891 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00488/1.022, allocations: 3.453 MB / 0.9925 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/1.024, allocations: 0.8026 MB / 0.9933 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003867/1.028, allocations: 1.372 MB / 0.9946 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/1.03, allocations: 0.786 MB / 0.9954 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/1.03, allocations: 40.56 kB / 0.9954 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/1.034, allocations: 1.975 MB / 0.9974 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003729/1.034, allocations: 269 kB / 0.9976 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008297/1.035, allocations: 0.5605 MB / 0.9982 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003481/1.039, allocations: 2.118 MB / 1 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.039, allocations: 0 / 1 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.983e-06/1.039, allocations: 0 / 1 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.686e-05/1.039, allocations: 0 / 1 GB, free: 5.652 MB / 0.7325 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.003576/1.042, allocations: 1.464 MB / 1.002 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.042, allocations: 8.688 kB / 1.002 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/1.045, allocations: 479.1 kB / 1.002 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/1.046, allocations: 0.9115 MB / 1.003 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006277/1.047, allocations: 191.7 kB / 1.003 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/1.047, allocations: 76.97 kB / 1.003 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/1.05, allocations: 1.131 MB / 1.004 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/1.05, allocations: 0 / 1.004 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.646e-05/1.05, allocations: 28.12 kB / 1.004 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/1.05, allocations: 29.5 kB / 1.004 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003316/1.053, allocations: 1.274 MB / 1.006 GB, free: 2.281 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.006857/1.06, allocations: 4.169 MB / 1.01 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/1.063, allocations: 0.9402 MB / 1.011 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/1.064, allocations: 0.5361 MB / 1.011 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008688/1.065, allocations: 0.6502 MB / 1.012 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/1.067, allocations: 0.6342 MB / 1.012 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=57): time 2.345e-06/1.067, allocations: 0 / 1.012 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=57): time 0.00453/1.071, allocations: 1.528 MB / 1.014 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/1.071, allocations: 87.83 kB / 1.014 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/1.073, allocations: 0.8297 MB / 1.015 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/1.073, allocations: 47.09 kB / 1.015 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/1.073, allocations: 426.3 kB / 1.015 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/1.073, allocations: 189 kB / 1.015 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.074, allocations: 54.81 kB / 1.016 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.074, allocations: 327.7 kB / 1.016 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/1.075, allocations: 458.9 kB / 1.016 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/1.076, allocations: 0.5837 MB / 1.017 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002675/1.079, allocations: 0.9891 MB / 1.018 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.079, allocations: 0 / 1.018 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003702/1.083, allocations: 1.165 MB / 1.019 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002183/1.083, allocations: 167.1 kB / 1.019 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/1.083, allocations: 11.22 kB / 1.019 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/1.083, allocations: 2.781 kB / 1.019 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/1.085, allocations: 259.2 kB / 1.019 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/1.086, allocations: 1.199 MB / 1.021 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/1.087, allocations: 190.5 kB / 1.021 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/1.088, allocations: 27.52 kB / 1.021 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/1.088, allocations: 2.75 kB / 1.021 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002886/1.09, allocations: 1.064 MB / 1.022 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.091, allocations: 2.531 kB / 1.022 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/1.091, allocations: 5.125 kB / 1.022 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.092, allocations: 221 kB / 1.022 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.092, allocations: 2.938 kB / 1.022 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/1.093, allocations: 190.2 kB / 1.022 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/1.093, allocations: 30.78 kB / 1.022 GB, free: 7.07 MB / 0.7481 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006807/1.094, allocations: 338.2 kB / 1.023 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/1.094, allocations: 108.1 kB / 1.023 GB, free: 6.73 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/1.097, allocations: 1.21 MB / 1.024 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/1.097, allocations: 6.219 kB / 1.024 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.097, allocations: 0 / 1.024 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/1.097, allocations: 6.453 kB / 1.024 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004858/1.102, allocations: 2.4 MB / 1.026 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.102, allocations: 2.5 kB / 1.026 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/1.103, allocations: 225.5 kB / 1.026 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/1.103, allocations: 5.5 kB / 1.026 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/1.103, allocations: 19.55 kB / 1.026 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006191/1.104, allocations: 1.192 MB / 1.028 GB, free: 3.285 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.104, allocations: 6.031 kB / 1.028 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/1.107, allocations: 1.291 MB / 1.029 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005437/1.107, allocations: 295 kB / 1.029 GB, free: 2.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/1.108, allocations: 20.03 kB / 1.029 GB, free: 2.285 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/1.109, allocations: 156.9 kB / 1.029 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.109, allocations: 61.2 kB / 1.029 GB, free: 2.188 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.409e-05/1.109, allocations: 27.48 kB / 1.029 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000771/1.11, allocations: 0.5789 MB / 1.03 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/1.11, allocations: 2.781 kB / 1.03 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001498/1.111, allocations: 485.4 kB / 1.03 GB, free: 1.742 MB / 0.7481 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006989/1.112, allocations: 291.8 kB / 1.031 GB, free: 1.57 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005018/1.117, allocations: 1.752 MB / 1.032 GB, free: 324 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.117, allocations: 7.938 kB / 1.032 GB, free: 316 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/1.119, allocations: 0.6019 MB / 1.033 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/1.122, allocations: 464.6 kB / 1.033 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004645/1.127, allocations: 2.314 MB / 1.036 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/1.127, allocations: 1.039 MB / 1.037 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001421/1.129, allocations: 282.6 kB / 1.037 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/1.129, allocations: 83.34 kB / 1.037 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of SimCode: time 1.493e-06/1.129, allocations: 0 / 1.037 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of Templates: time 0.03414/1.163, allocations: 18.66 MB / 1.055 GB, free: 9.039 MB / 0.7794 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: