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.005851/0.00585, allocations: 97.91 kB / 15.73 MB, free: 6.051 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.001268/0.001267, allocations: 191.8 kB / 16.67 MB, free: 5.977 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.464/1.464, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.515/1.515, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.001462/0.001462, allocations: 72.41 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2649, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.8465/1.111, allocations: 200.1 MB / 1.023 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01088/1.122, allocations: 7.62 MB / 1.031 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/1.124, allocations: 47.06 kB / 1.031 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/1.126, allocations: 0.7037 MB / 1.032 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005341/1.131, allocations: 2.161 MB / 1.034 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002859/1.134, allocations: 1.169 MB / 1.035 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003358/1.138, allocations: 2.686 MB / 1.038 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/1.139, allocations: 0.9807 MB / 1.038 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004018/1.143, allocations: 1.524 MB / 1.04 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/1.144, allocations: 0.8549 MB / 1.041 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/1.145, allocations: 104 kB / 1.041 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003652/1.148, allocations: 1.836 MB / 1.043 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003384/1.149, allocations: 322.9 kB / 1.043 GB, free: 0.5742 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007186/1.149, allocations: 0.6182 MB / 1.044 GB, free: 15.95 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003296/1.153, allocations: 2.157 MB / 1.046 GB, free: 13.8 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.153, allocations: 4 kB / 1.046 GB, free: 13.79 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.733e-06/1.153, allocations: 0 / 1.046 GB, free: 13.79 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.475e-05/1.153, allocations: 0 / 1.046 GB, free: 13.79 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.003585/1.156, allocations: 1.658 MB / 1.047 GB, free: 12.07 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.156, allocations: 12.03 kB / 1.047 GB, free: 12.06 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/1.159, allocations: 430.1 kB / 1.048 GB, free: 11.64 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/1.16, allocations: 0.9727 MB / 1.049 GB, free: 10.62 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.147e-05/1.161, allocations: 58 kB / 1.049 GB, free: 10.57 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/1.161, allocations: 71.94 kB / 1.049 GB, free: 10.5 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/1.163, allocations: 1.087 MB / 1.05 GB, free: 9.391 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/1.163, allocations: 0 / 1.05 GB, free: 9.391 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.755e-05/1.163, allocations: 32 kB / 1.05 GB, free: 9.359 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-05/1.163, allocations: 33.98 kB / 1.05 GB, free: 9.328 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003111/1.166, allocations: 1.171 MB / 1.051 GB, free: 8.152 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.007162/1.174, allocations: 4.122 MB / 1.055 GB, free: 3.742 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/1.176, allocations: 0.8333 MB / 1.056 GB, free: 2.898 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/1.177, allocations: 498.2 kB / 1.056 GB, free: 2.41 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007927/1.178, allocations: 0.6331 MB / 1.057 GB, free: 1.648 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00145/1.179, allocations: 0.5797 MB / 1.058 GB, free: 1.055 MB / 0.795 GB Notification: Performance of pre-optimization done (n=57): time 2.735e-06/1.179, allocations: 0 / 1.058 GB, free: 1.055 MB / 0.795 GB Notification: Performance of matching and sorting (n=57): time 0.003968/1.183, allocations: 1.388 MB / 1.059 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/1.183, allocations: 81.67 kB / 1.059 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/1.185, allocations: 0.8394 MB / 1.06 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-05/1.185, allocations: 41.7 kB / 1.06 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/1.185, allocations: 424.4 kB / 1.06 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/1.185, allocations: 193.2 kB / 1.06 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/1.186, allocations: 126.1 kB / 1.061 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.186, allocations: 333.9 kB / 1.061 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/1.187, allocations: 418.8 kB / 1.061 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/1.188, allocations: 0.5292 MB / 1.062 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/1.191, allocations: 0.8898 MB / 1.063 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.191, allocations: 0 / 1.063 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002835/1.193, allocations: 1.069 MB / 1.064 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/1.194, allocations: 36.2 kB / 1.064 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.194, allocations: 0 / 1.064 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/1.194, allocations: 4 kB / 1.064 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/1.195, allocations: 234.5 kB / 1.064 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007201/1.196, allocations: 1.195 MB / 1.065 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/1.197, allocations: 138.1 kB / 1.065 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/1.197, allocations: 27.97 kB / 1.065 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001484/1.198, allocations: 0.6104 MB / 1.066 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001221/1.2, allocations: 0.5291 MB / 1.066 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002223/1.202, allocations: 0.8781 MB / 1.067 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/1.202, allocations: 3.938 kB / 1.067 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.00293/1.205, allocations: 1.066 MB / 1.068 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/1.205, allocations: 33.69 kB / 1.068 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.205, allocations: 4 kB / 1.068 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/1.205, allocations: 4 kB / 1.068 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000991/1.206, allocations: 199.9 kB / 1.069 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/1.206, allocations: 4 kB / 1.069 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.207, allocations: 127.5 kB / 1.069 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/1.207, allocations: 31.98 kB / 1.069 GB, free: 5.34 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.0003046/1.207, allocations: 220.1 kB / 1.069 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/1.208, allocations: 98.78 kB / 1.069 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/1.211, allocations: 1.103 MB / 1.07 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/1.211, allocations: 8 kB / 1.07 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.211, allocations: 8 kB / 1.07 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/1.211, allocations: 4.078 kB / 1.07 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00491/1.216, allocations: 2.298 MB / 1.072 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/1.216, allocations: 0 / 1.072 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/1.217, allocations: 200 kB / 1.073 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/1.217, allocations: 12 kB / 1.073 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-05/1.217, allocations: 23.97 kB / 1.073 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007609/1.218, allocations: 1.188 MB / 1.074 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/1.218, allocations: 8.125 kB / 1.074 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/1.221, allocations: 1.192 MB / 1.075 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/1.221, allocations: 295.5 kB / 1.075 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/1.222, allocations: 12 kB / 1.075 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.223, allocations: 111.8 kB / 1.075 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/1.223, allocations: 52.31 kB / 1.075 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.609e-05/1.223, allocations: 35.97 kB / 1.075 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008677/1.224, allocations: 0.5782 MB / 1.076 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/1.224, allocations: 0 / 1.076 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001616/1.225, allocations: 487.1 kB / 1.076 GB, free: 13.2 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.0007785/1.226, allocations: 291.1 kB / 1.077 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004552/1.231, allocations: 1.61 MB / 1.078 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.231, allocations: 3.938 kB / 1.078 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/1.232, allocations: 0.5496 MB / 1.079 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/1.234, allocations: 438.4 kB / 1.079 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/1.238, allocations: 1.84 MB / 1.081 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007295/1.239, allocations: 1.043 MB / 1.082 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001182/1.24, allocations: 290.3 kB / 1.082 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/1.241, allocations: 83.41 kB / 1.082 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of SimCode: time 9.12e-07/1.241, allocations: 0 / 1.082 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of Templates: time 0.0345/1.275, allocations: 19.59 MB / 1.102 GB, free: 3.617 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)