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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 289.9 MB / 297.4 MB, free: 6.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 180.9 kB / 366.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009978/0.0009976, allocations: 81.52 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.616e-05/1.619e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7808/0.7808, allocations: 116.3 MB / 0.9732 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.907/6.688, allocations: 2.325 GB / 3.298 GB, free: 172.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/6.688, allocations: 84.58 kB / 3.298 GB, free: 172.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.597/9.286, allocations: 0.7797 GB / 4.078 GB, free: 111.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.953e-06/9.286, allocations: 0 / 4.078 GB, free: 111.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001447/9.286, allocations: 24 kB / 4.078 GB, free: 111.1 MB / 0.948 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.005038/9.291, allocations: 1.539 MB / 4.079 GB, free: 109.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/9.291, allocations: 8.031 kB / 4.079 GB, free: 109.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/9.293, allocations: 438.1 kB / 4.08 GB, free: 109 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/9.296, allocations: 1.019 MB / 4.081 GB, free: 108 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005998/9.297, allocations: 161.9 kB / 4.081 GB, free: 107.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/9.297, allocations: 44 kB / 4.081 GB, free: 107.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001261/9.298, allocations: 0.7537 MB / 4.082 GB, free: 107 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/9.299, allocations: 0.8231 MB / 4.083 GB, free: 106.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/9.299, allocations: 0 / 4.083 GB, free: 106.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.613e-05/9.299, allocations: 0 / 4.083 GB, free: 106.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/9.3, allocations: 37.98 kB / 4.083 GB, free: 106.1 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.005883/9.305, allocations: 4.055 MB / 4.087 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/9.306, allocations: 0.5311 MB / 4.087 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/9.306, allocations: 326.5 kB / 4.087 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006403/9.307, allocations: 0.6409 MB / 4.088 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005653/9.308, allocations: 436.6 kB / 4.088 GB, free: 99.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.194e-06/9.308, allocations: 0 / 4.088 GB, free: 99.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.001499/9.309, allocations: 0.7204 MB / 4.089 GB, free: 98.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/9.309, allocations: 85.67 kB / 4.089 GB, free: 98.88 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005975/9.31, allocations: 0.563 MB / 4.09 GB, free: 98.31 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.758e-05/9.31, allocations: 33.64 kB / 4.09 GB, free: 98.27 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/9.31, allocations: 440 kB / 4.09 GB, free: 97.84 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/9.31, allocations: 181.2 kB / 4.09 GB, free: 97.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/9.31, allocations: 0 / 4.09 GB, free: 97.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.418e-05/9.311, allocations: 330 kB / 4.091 GB, free: 97.33 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/9.311, allocations: 257 kB / 4.091 GB, free: 97.08 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/9.311, allocations: 418.1 kB / 4.091 GB, free: 96.61 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005911/9.312, allocations: 318 kB / 4.092 GB, free: 96.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/9.312, allocations: 4 kB / 4.092 GB, free: 96.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001193/9.313, allocations: 0.7633 MB / 4.092 GB, free: 95.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000201/9.313, allocations: 0.9055 MB / 4.093 GB, free: 94.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/9.313, allocations: 7.984 kB / 4.093 GB, free: 94.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/9.313, allocations: 4 kB / 4.093 GB, free: 94.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/9.315, allocations: 243.7 kB / 4.094 GB, free: 94.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004894/9.315, allocations: 1.211 MB / 4.095 GB, free: 93.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/9.316, allocations: 171.6 kB / 4.095 GB, free: 92.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/9.316, allocations: 35.97 kB / 4.095 GB, free: 92.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/9.316, allocations: 4 kB / 4.095 GB, free: 92.83 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001088/9.317, allocations: 0.6457 MB / 4.096 GB, free: 92.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/9.317, allocations: 8.141 kB / 4.096 GB, free: 92.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/9.317, allocations: 7.938 kB / 4.096 GB, free: 92.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009668/9.318, allocations: 231.7 kB / 4.096 GB, free: 91.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/9.318, allocations: 7.953 kB / 4.096 GB, free: 91.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/9.319, allocations: 163.5 kB / 4.096 GB, free: 91.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/9.32, allocations: 31.92 kB / 4.096 GB, free: 91.74 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 () * 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.0002136/9.32, allocations: 123.9 kB / 4.096 GB, free: 91.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/9.32, allocations: 86.88 kB / 4.096 GB, free: 91.53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/9.321, allocations: 0.8239 MB / 4.097 GB, free: 90.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/9.321, allocations: 7.984 kB / 4.097 GB, free: 90.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/9.321, allocations: 7.953 kB / 4.097 GB, free: 90.69 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/9.321, allocations: 4 kB / 4.097 GB, free: 90.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/9.324, allocations: 1.9 MB / 4.099 GB, free: 88.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/9.324, allocations: 3.938 kB / 4.099 GB, free: 88.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/9.325, allocations: 228 kB / 4.099 GB, free: 88.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/9.325, allocations: 8 kB / 4.099 GB, free: 88.47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/9.325, allocations: 15.98 kB / 4.099 GB, free: 88.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003727/9.326, allocations: 1.195 MB / 4.1 GB, free: 87.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/9.326, allocations: 4 kB / 4.1 GB, free: 87.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/9.327, allocations: 1.039 MB / 4.101 GB, free: 86.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/9.327, allocations: 283.7 kB / 4.102 GB, free: 85.75 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/9.327, allocations: 7.953 kB / 4.102 GB, free: 85.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/9.328, allocations: 155.7 kB / 4.102 GB, free: 85.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/9.329, allocations: 60.36 kB / 4.102 GB, free: 85.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/9.329, allocations: 35.91 kB / 4.102 GB, free: 85.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004404/9.329, allocations: 443.1 kB / 4.102 GB, free: 85.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/9.329, allocations: 4 kB / 4.102 GB, free: 85.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001716/9.331, allocations: 0.5848 MB / 4.103 GB, free: 84.48 MB / 0.948 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) * 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.002109/9.333, allocations: 1.861 MB / 4.105 GB, free: 82.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001809/9.335, allocations: 1.154 MB / 4.106 GB, free: 81.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/9.335, allocations: 4 kB / 4.106 GB, free: 81.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005974/9.335, allocations: 402.7 kB / 4.106 GB, free: 80.96 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/9.337, allocations: 351.3 kB / 4.107 GB, free: 80.62 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/9.339, allocations: 1.29 MB / 4.108 GB, free: 79.27 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/9.34, allocations: 1.067 MB / 4.109 GB, free: 78.18 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001394/9.341, allocations: 325.8 kB / 4.109 GB, free: 77.86 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/9.342, allocations: 67.41 kB / 4.109 GB, free: 77.79 MB / 0.948 GB Notification: Performance of SimCode: time 7.11e-07/9.342, allocations: 4 kB / 4.109 GB, free: 77.79 MB / 0.948 GB Notification: Performance of Templates: time 0.03318/9.375, allocations: 25.01 MB / 4.134 GB, free: 52.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (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)