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.0009953/0.0009953, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001213/0.001213, allocations: 172.7 kB / 15.95 MB, free: 208 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.581/1.581, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.562/1.562, allocations: 252 MB / 0.5102 GB, free: 4.836 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.0005484/0.0005485, allocations: 16 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5274/0.528, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.2004/0.7284, allocations: 182.3 MB / 0.9062 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.559/1.287, allocations: 7.152 MB / 0.9132 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/1.289, allocations: 38.66 kB / 0.9132 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/1.291, allocations: 450.5 kB / 0.9136 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005898/1.297, allocations: 1.51 MB / 0.9151 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003604/1.301, allocations: 0.8964 MB / 0.916 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007127/1.308, allocations: 2.971 MB / 0.9189 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/1.31, allocations: 0.7101 MB / 0.9196 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00431/1.314, allocations: 1.167 MB / 0.9207 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/1.316, allocations: 0.7769 MB / 0.9215 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002469/1.317, allocations: 41.28 kB / 0.9215 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004452/1.321, allocations: 1.265 MB / 0.9228 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005314/1.322, allocations: 255.4 kB / 0.923 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001177/1.323, allocations: 246.3 kB / 0.9232 GB, free: 21.56 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002695/1.326, allocations: 1.487 MB / 0.9247 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.326, allocations: 5.312 kB / 0.9247 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/1.326, allocations: 0 / 0.9247 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.722e-05/1.326, allocations: 0 / 0.9247 GB, free: 21.43 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.003799/1.329, allocations: 1.472 MB / 0.9261 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.33, allocations: 9.625 kB / 0.9261 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/1.332, allocations: 478.5 kB / 0.9266 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/1.334, allocations: 0.8761 MB / 0.9274 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005444/1.335, allocations: 195 kB / 0.9276 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/1.335, allocations: 72.12 kB / 0.9277 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/1.337, allocations: 1.124 MB / 0.9288 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/1.337, allocations: 1.891 kB / 0.9288 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.337, allocations: 28.25 kB / 0.9288 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/1.337, allocations: 41.06 kB / 0.9289 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002909/1.34, allocations: 1.263 MB / 0.9301 GB, free: 20.03 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.006405/1.347, allocations: 4.165 MB / 0.9342 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/1.349, allocations: 0.9319 MB / 0.9351 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/1.35, allocations: 0.5258 MB / 0.9356 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007999/1.351, allocations: 0.657 MB / 0.9362 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/1.352, allocations: 0.6368 MB / 0.9369 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.926e-06/1.352, allocations: 3.984 kB / 0.9369 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.003899/1.356, allocations: 1.52 MB / 0.9383 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/1.356, allocations: 89.84 kB / 0.9384 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/1.357, allocations: 0.8282 MB / 0.9392 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/1.358, allocations: 37.42 kB / 0.9393 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/1.358, allocations: 431.2 kB / 0.9397 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/1.358, allocations: 199.6 kB / 0.9399 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/1.358, allocations: 11.25 kB / 0.9399 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.358, allocations: 326.2 kB / 0.9402 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/1.359, allocations: 455.6 kB / 0.9406 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/1.36, allocations: 0.5837 MB / 0.9412 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/1.362, allocations: 493.9 kB / 0.9417 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.362, allocations: 0 / 0.9417 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002651/1.364, allocations: 1.16 MB / 0.9428 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/1.364, allocations: 173.2 kB / 0.943 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.364, allocations: 2.906 kB / 0.943 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/1.364, allocations: 3.25 kB / 0.943 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.366, allocations: 254.1 kB / 0.9432 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007846/1.367, allocations: 1.196 MB / 0.9444 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/1.368, allocations: 193.8 kB / 0.9446 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.834e-05/1.368, allocations: 30.78 kB / 0.9446 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/1.368, allocations: 1.781 kB / 0.9446 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002538/1.371, allocations: 1.056 MB / 0.9456 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.371, allocations: 0 / 0.9456 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/1.371, allocations: 5.406 kB / 0.9456 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009331/1.372, allocations: 232.2 kB / 0.9459 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/1.372, allocations: 3.469 kB / 0.9459 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/1.373, allocations: 180.8 kB / 0.946 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.62e-05/1.373, allocations: 33.8 kB / 0.9461 GB, free: 14.45 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.0006277/1.374, allocations: 340 kB / 0.9464 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/1.374, allocations: 104.6 kB / 0.9465 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/1.376, allocations: 1.198 MB / 0.9477 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/1.377, allocations: 5.875 kB / 0.9477 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.377, allocations: 5.844 kB / 0.9477 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/1.377, allocations: 7.094 kB / 0.9477 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/1.381, allocations: 2.391 MB / 0.95 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.381, allocations: 3.25 kB / 0.95 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000933/1.382, allocations: 220 kB / 0.9502 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/1.382, allocations: 14.98 kB / 0.9502 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/1.382, allocations: 15.72 kB / 0.9503 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006035/1.382, allocations: 1.192 MB / 0.9514 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.382, allocations: 2.906 kB / 0.9514 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/1.385, allocations: 1.291 MB / 0.9527 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005463/1.386, allocations: 296.2 kB / 0.953 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/1.386, allocations: 14.06 kB / 0.953 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.387, allocations: 161.1 kB / 0.9531 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.387, allocations: 64.59 kB / 0.9532 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-05/1.387, allocations: 26.95 kB / 0.9532 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007696/1.388, allocations: 0.57 MB / 0.9538 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/1.388, allocations: 3.938 kB / 0.9538 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001489/1.389, allocations: 491.3 kB / 0.9543 GB, free: 11.78 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.000666/1.39, allocations: 292.8 kB / 0.9545 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004348/1.394, allocations: 1.738 MB / 0.9562 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/1.394, allocations: 3 kB / 0.9562 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/1.396, allocations: 0.6044 MB / 0.9568 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.398, allocations: 469.1 kB / 0.9573 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/1.402, allocations: 2.21 MB / 0.9594 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/1.402, allocations: 1.046 MB / 0.9604 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00132/1.404, allocations: 289.5 kB / 0.9607 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/1.404, allocations: 77.83 kB / 0.9608 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of SimCode: time 1.142e-06/1.404, allocations: 2.938 kB / 0.9608 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of Templates: time 0.02891/1.433, allocations: 18.14 MB / 0.9785 GB, free: 2.367 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: