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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006088/0.006088, allocations: 99.05 kB / 15.73 MB, free: 6.008 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.001328/0.001327, allocations: 189.8 kB / 16.67 MB, free: 5.926 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.473/1.473, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.544/1.544, allocations: 251.7 MB / 0.5094 GB, free: 3.078 MB / 414.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.001637/0.001637, allocations: 67.91 kB / 0.7258 GB, free: 9.059 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2657, allocations: 104.7 MB / 0.828 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.8651/1.131, allocations: 200.1 MB / 1.023 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01348/1.144, allocations: 7.616 MB / 1.031 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/1.147, allocations: 44.88 kB / 1.031 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002608/1.15, allocations: 0.6881 MB / 1.032 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007688/1.157, allocations: 2.064 MB / 1.034 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004151/1.161, allocations: 1.183 MB / 1.035 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004683/1.166, allocations: 2.669 MB / 1.037 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002551/1.169, allocations: 0.9866 MB / 1.038 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004584/1.173, allocations: 1.469 MB / 1.04 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/1.175, allocations: 0.8592 MB / 1.041 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004148/1.176, allocations: 104 kB / 1.041 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004308/1.18, allocations: 1.832 MB / 1.043 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006059/1.181, allocations: 330.9 kB / 1.043 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/1.182, allocations: 0.6064 MB / 1.043 GB, free: 220 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004985/1.187, allocations: 2.167 MB / 1.046 GB, free: 14.05 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.187, allocations: 3.938 kB / 1.046 GB, free: 14.04 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/1.187, allocations: 0 / 1.046 GB, free: 14.04 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.639e-05/1.187, allocations: 4 kB / 1.046 GB, free: 14.04 MB / 0.795 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.005035/1.192, allocations: 1.707 MB / 1.047 GB, free: 12.27 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/1.192, allocations: 15.97 kB / 1.047 GB, free: 12.25 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/1.195, allocations: 438.8 kB / 1.048 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/1.198, allocations: 0.9689 MB / 1.049 GB, free: 10.81 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.348e-05/1.198, allocations: 57.98 kB / 1.049 GB, free: 10.76 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/1.198, allocations: 72 kB / 1.049 GB, free: 10.69 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002703/1.201, allocations: 1.08 MB / 1.05 GB, free: 9.586 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/1.201, allocations: 0 / 1.05 GB, free: 9.586 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.995e-05/1.201, allocations: 31.98 kB / 1.05 GB, free: 9.555 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/1.201, allocations: 37.98 kB / 1.05 GB, free: 9.52 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003274/1.204, allocations: 1.171 MB / 1.051 GB, free: 8.344 MB / 0.795 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.007191/1.211, allocations: 4.131 MB / 1.055 GB, free: 3.926 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/1.214, allocations: 0.8388 MB / 1.056 GB, free: 3.078 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/1.215, allocations: 490.2 kB / 1.056 GB, free: 2.598 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008674/1.216, allocations: 0.637 MB / 1.057 GB, free: 1.832 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001644/1.218, allocations: 0.5835 MB / 1.058 GB, free: 1.234 MB / 0.795 GB Notification: Performance of pre-optimization done (n=57): time 3.296e-06/1.218, allocations: 0 / 1.058 GB, free: 1.234 MB / 0.795 GB Notification: Performance of matching and sorting (n=57): time 0.004612/1.223, allocations: 1.384 MB / 1.059 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/1.223, allocations: 85.66 kB / 1.059 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/1.224, allocations: 0.8356 MB / 1.06 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/1.224, allocations: 41.7 kB / 1.06 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/1.225, allocations: 433 kB / 1.06 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/1.225, allocations: 198.2 kB / 1.06 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/1.225, allocations: 138.1 kB / 1.061 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.225, allocations: 329.9 kB / 1.061 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/1.227, allocations: 418.7 kB / 1.061 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/1.228, allocations: 0.5331 MB / 1.062 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002589/1.231, allocations: 0.8859 MB / 1.063 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.231, allocations: 0 / 1.063 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003208/1.234, allocations: 1.07 MB / 1.064 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/1.234, allocations: 37.64 kB / 1.064 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.234, allocations: 3.938 kB / 1.064 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/1.234, allocations: 8.156 kB / 1.064 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/1.236, allocations: 218.5 kB / 1.064 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008242/1.236, allocations: 1.203 MB / 1.065 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/1.238, allocations: 135.5 kB / 1.065 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.209e-05/1.238, allocations: 27.98 kB / 1.065 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001646/1.239, allocations: 0.6024 MB / 1.066 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0014/1.241, allocations: 0.5369 MB / 1.066 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002553/1.243, allocations: 0.8742 MB / 1.067 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/1.243, allocations: 0 / 1.067 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.003177/1.247, allocations: 1.066 MB / 1.068 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/1.247, allocations: 33.7 kB / 1.068 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.247, allocations: 4 kB / 1.068 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/1.247, allocations: 4 kB / 1.068 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.248, allocations: 199.9 kB / 1.069 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/1.248, allocations: 7.984 kB / 1.069 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/1.249, allocations: 127.6 kB / 1.069 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.417e-05/1.249, allocations: 31.92 kB / 1.069 GB, free: 5.504 MB / 0.8106 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.0003118/1.249, allocations: 226.1 kB / 1.069 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/1.25, allocations: 111.3 kB / 1.069 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/1.253, allocations: 1.111 MB / 1.07 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/1.253, allocations: 8 kB / 1.07 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.253, allocations: 0 / 1.07 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.253, allocations: 0 / 1.07 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/1.258, allocations: 2.306 MB / 1.072 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/1.258, allocations: 8 kB / 1.072 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/1.259, allocations: 199.9 kB / 1.073 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/1.259, allocations: 8 kB / 1.073 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.851e-05/1.259, allocations: 19.98 kB / 1.073 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00067/1.26, allocations: 1.195 MB / 1.074 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.26, allocations: 4 kB / 1.074 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/1.263, allocations: 1.193 MB / 1.075 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006272/1.264, allocations: 292.2 kB / 1.075 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/1.264, allocations: 12 kB / 1.075 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/1.265, allocations: 107.8 kB / 1.075 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/1.266, allocations: 64.3 kB / 1.075 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.4e-05/1.266, allocations: 31.97 kB / 1.075 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009445/1.267, allocations: 0.5743 MB / 1.076 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/1.267, allocations: 0 / 1.076 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001621/1.268, allocations: 487.1 kB / 1.076 GB, free: 13.34 MB / 0.8262 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.0008127/1.269, allocations: 288.5 kB / 1.077 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005215/1.274, allocations: 1.609 MB / 1.078 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.274, allocations: 4.062 kB / 1.078 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/1.276, allocations: 0.5495 MB / 1.079 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/1.279, allocations: 456.4 kB / 1.079 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004534/1.283, allocations: 1.865 MB / 1.081 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008066/1.284, allocations: 1.043 MB / 1.082 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001312/1.285, allocations: 285 kB / 1.082 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/1.286, allocations: 83.41 kB / 1.082 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of SimCode: time 7.62e-07/1.286, allocations: 0 / 1.082 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of Templates: time 0.03571/1.321, allocations: 19.6 MB / 1.102 GB, free: 3.719 MB / 0.8419 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)