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.001396/0.001396, allocations: 106.5 kB / 16.37 MB, free: 6.477 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.001325/0.001325, allocations: 189.8 kB / 17.31 MB, free: 5.824 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.495/1.495, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001629/0.001629, allocations: 72.45 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2571, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6755/0.9326, allocations: 200 MB / 0.9801 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.9444, allocations: 7.565 MB / 0.9875 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.9465, allocations: 47.69 kB / 0.9875 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.9486, allocations: 0.6871 MB / 0.9882 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006113/0.9547, allocations: 1.956 MB / 0.9901 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/0.9582, allocations: 1.18 MB / 0.9913 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004417/0.9626, allocations: 2.657 MB / 0.9939 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.9642, allocations: 0.9809 MB / 0.9948 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00442/0.9687, allocations: 1.574 MB / 0.9963 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.9704, allocations: 0.8192 MB / 0.9971 GB, free: 488 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.9706, allocations: 104 kB / 0.9972 GB, free: 384 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003932/0.9745, allocations: 1.84 MB / 0.999 GB, free: 14.53 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003753/0.9749, allocations: 322.9 kB / 0.9994 GB, free: 14.21 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008097/0.9757, allocations: 0.6142 MB / 1 GB, free: 13.6 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003721/0.9795, allocations: 2.15 MB / 1.002 GB, free: 11.44 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.9795, allocations: 7 kB / 1.002 GB, free: 11.44 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9795, allocations: 0 / 1.002 GB, free: 11.44 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.863e-05/0.9795, allocations: 4 kB / 1.002 GB, free: 11.43 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.003726/0.9833, allocations: 1.672 MB / 1.004 GB, free: 9.703 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.9833, allocations: 8.031 kB / 1.004 GB, free: 9.695 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/0.9856, allocations: 434.1 kB / 1.004 GB, free: 9.27 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.9874, allocations: 0.9604 MB / 1.005 GB, free: 8.266 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.134e-05/0.9875, allocations: 50.56 kB / 1.005 GB, free: 8.219 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.9876, allocations: 76 kB / 1.005 GB, free: 8.145 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.99, allocations: 1.083 MB / 1.006 GB, free: 7.039 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.99, allocations: 4 kB / 1.006 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.361e-05/0.9901, allocations: 24 kB / 1.006 GB, free: 7.012 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/0.9902, allocations: 37.98 kB / 1.006 GB, free: 6.977 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003028/0.9932, allocations: 1.167 MB / 1.007 GB, free: 5.809 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.006061/0.9993, allocations: 4.116 MB / 1.011 GB, free: 1.41 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/1.002, allocations: 0.8432 MB / 1.012 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/1.003, allocations: 494.1 kB / 1.013 GB, free: 76 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008202/1.004, allocations: 0.6409 MB / 1.013 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/1.005, allocations: 0.5758 MB / 1.014 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=57): time 2.875e-06/1.005, allocations: 4 kB / 1.014 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of matching and sorting (n=57): time 0.004205/1.009, allocations: 1.384 MB / 1.015 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/1.01, allocations: 81.67 kB / 1.015 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/1.011, allocations: 0.8395 MB / 1.016 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.198e-05/1.011, allocations: 41.7 kB / 1.016 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/1.011, allocations: 428.3 kB / 1.017 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/1.011, allocations: 189.2 kB / 1.017 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/1.012, allocations: 134 kB / 1.017 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.012, allocations: 326.1 kB / 1.017 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/1.013, allocations: 426.7 kB / 1.018 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/1.014, allocations: 0.5335 MB / 1.018 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/1.017, allocations: 0.8838 MB / 1.019 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.017, allocations: 0 / 1.019 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002971/1.02, allocations: 1.065 MB / 1.02 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.642e-05/1.02, allocations: 39.11 kB / 1.02 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.02, allocations: 0 / 1.02 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/1.02, allocations: 5.312 kB / 1.02 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/1.021, allocations: 227.2 kB / 1.02 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006597/1.022, allocations: 1.192 MB / 1.022 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.023, allocations: 143.3 kB / 1.022 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/1.023, allocations: 23.98 kB / 1.022 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001521/1.025, allocations: 0.6024 MB / 1.022 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001288/1.026, allocations: 0.533 MB / 1.023 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002342/1.028, allocations: 0.882 MB / 1.024 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.985e-06/1.028, allocations: 0 / 1.024 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002861/1.031, allocations: 1.058 MB / 1.025 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/1.031, allocations: 38.91 kB / 1.025 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.031, allocations: 4.156 kB / 1.025 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.363e-06/1.031, allocations: 8 kB / 1.025 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009729/1.032, allocations: 195.7 kB / 1.025 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/1.032, allocations: 4 kB / 1.025 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.033, allocations: 130.2 kB / 1.025 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.005e-05/1.034, allocations: 27.98 kB / 1.025 GB, free: 3.012 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.0003055/1.034, allocations: 224.7 kB / 1.025 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/1.034, allocations: 94.78 kB / 1.025 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/1.037, allocations: 1.112 MB / 1.026 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.037, allocations: 8 kB / 1.026 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/1.037, allocations: 0 / 1.026 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/1.037, allocations: 7.922 kB / 1.026 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004635/1.042, allocations: 2.306 MB / 1.029 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.042, allocations: 4 kB / 1.029 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009848/1.043, allocations: 190.3 kB / 1.029 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/1.043, allocations: 8 kB / 1.029 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/1.043, allocations: 19.98 kB / 1.029 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005706/1.044, allocations: 1.188 MB / 1.03 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.044, allocations: 7.938 kB / 1.03 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/1.046, allocations: 1.192 MB / 1.031 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005279/1.047, allocations: 291.5 kB / 1.032 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/1.047, allocations: 15.94 kB / 1.032 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.048, allocations: 109.7 kB / 1.032 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/1.048, allocations: 52.38 kB / 1.032 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.473e-05/1.048, allocations: 31.97 kB / 1.032 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007754/1.049, allocations: 0.5782 MB / 1.032 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/1.049, allocations: 0 / 1.032 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001315/1.051, allocations: 479.1 kB / 1.033 GB, free: 10.9 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.0006902/1.051, allocations: 311.2 kB / 1.033 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004604/1.056, allocations: 1.61 MB / 1.035 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.056, allocations: 4 kB / 1.035 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/1.057, allocations: 0.5339 MB / 1.035 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/1.06, allocations: 444.7 kB / 1.036 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004223/1.064, allocations: 1.902 MB / 1.037 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006216/1.065, allocations: 1.039 MB / 1.038 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/1.065, allocations: 95.39 kB / 1.039 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of SimCode: time 1.032e-06/1.065, allocations: 0 / 1.039 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of Templates: time 0.03465/1.1, allocations: 25.1 MB / 1.063 GB, free: 11.98 MB / 0.8575 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)