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.001068/0.001069, allocations: 107.1 kB / 16.27 MB, free: 5.992 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.001245/0.001245, allocations: 192.5 kB / 17.2 MB, free: 5.617 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.474/1.474, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.837/1.837, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001541/0.001541, allocations: 71.03 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2621, allocations: 114.6 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6973/0.9595, allocations: 200 MB / 0.9793 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01181/0.9713, allocations: 7.571 MB / 0.9867 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.9735, allocations: 43.69 kB / 0.9868 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.9757, allocations: 0.6948 MB / 0.9874 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006036/0.9818, allocations: 1.965 MB / 0.9893 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.9852, allocations: 1.148 MB / 0.9905 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004039/0.9892, allocations: 2.653 MB / 0.9931 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.9909, allocations: 0.9871 MB / 0.994 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004219/0.9951, allocations: 1.559 MB / 0.9955 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.9969, allocations: 0.8325 MB / 0.9964 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002196/0.9971, allocations: 100 kB / 0.9965 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00398/1.001, allocations: 1.832 MB / 0.9982 GB, free: 15.2 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004079/1.002, allocations: 333.8 kB / 0.9986 GB, free: 14.88 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009192/1.002, allocations: 0.6142 MB / 0.9992 GB, free: 14.26 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004009/1.007, allocations: 2.131 MB / 1.001 GB, free: 12.12 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/1.007, allocations: 4 kB / 1.001 GB, free: 12.12 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.024e-06/1.007, allocations: 0 / 1.001 GB, free: 12.12 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.653e-05/1.007, allocations: 4 kB / 1.001 GB, free: 12.12 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.003957/1.011, allocations: 1.669 MB / 1.003 GB, free: 10.39 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.011, allocations: 8.031 kB / 1.003 GB, free: 10.38 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/1.013, allocations: 430.1 kB / 1.003 GB, free: 9.961 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/1.015, allocations: 0.9213 MB / 1.004 GB, free: 8.996 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006116/1.015, allocations: 165.9 kB / 1.004 GB, free: 8.836 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/1.015, allocations: 68 kB / 1.004 GB, free: 8.77 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/1.018, allocations: 1.091 MB / 1.005 GB, free: 7.656 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.018, allocations: 0 / 1.005 GB, free: 7.656 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/1.018, allocations: 28 kB / 1.006 GB, free: 7.629 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/1.018, allocations: 37.92 kB / 1.006 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003163/1.021, allocations: 1.187 MB / 1.007 GB, free: 6.406 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.006848/1.028, allocations: 4.156 MB / 1.011 GB, free: 1.969 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/1.031, allocations: 0.8607 MB / 1.012 GB, free: 1.105 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/1.032, allocations: 0.4995 MB / 1.012 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008478/1.033, allocations: 0.6408 MB / 1.013 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00154/1.035, allocations: 0.5913 MB / 1.013 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=57): time 2.876e-06/1.035, allocations: 0 / 1.013 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of matching and sorting (n=57): time 0.00455/1.039, allocations: 1.407 MB / 1.015 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/1.039, allocations: 81.67 kB / 1.015 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/1.041, allocations: 0.8395 MB / 1.016 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.416e-05/1.041, allocations: 37.7 kB / 1.016 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/1.041, allocations: 440.2 kB / 1.016 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/1.041, allocations: 189.9 kB / 1.016 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/1.041, allocations: 134 kB / 1.016 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.042, allocations: 326 kB / 1.017 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/1.043, allocations: 426.8 kB / 1.017 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/1.044, allocations: 0.5409 MB / 1.018 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/1.047, allocations: 0.9093 MB / 1.018 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.047, allocations: 0.5625 kB / 1.018 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003067/1.05, allocations: 1.081 MB / 1.02 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/1.05, allocations: 37.86 kB / 1.02 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.05, allocations: 3.984 kB / 1.02 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/1.05, allocations: 4 kB / 1.02 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/1.051, allocations: 229.1 kB / 1.02 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007158/1.052, allocations: 1.195 MB / 1.021 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.053, allocations: 147.8 kB / 1.021 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/1.053, allocations: 28.03 kB / 1.021 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001577/1.055, allocations: 0.6219 MB / 1.022 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001353/1.056, allocations: 0.5331 MB / 1.022 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002453/1.059, allocations: 0.9054 MB / 1.023 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/1.059, allocations: 0 / 1.023 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.003028/1.062, allocations: 1.081 MB / 1.024 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/1.062, allocations: 29.7 kB / 1.024 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.062, allocations: 7.938 kB / 1.024 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/1.062, allocations: 4 kB / 1.024 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/1.063, allocations: 210 kB / 1.024 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/1.063, allocations: 7.938 kB / 1.024 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.064, allocations: 127.5 kB / 1.025 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/1.064, allocations: 27.98 kB / 1.025 GB, free: 3.355 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.0003197/1.064, allocations: 220.1 kB / 1.025 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/1.064, allocations: 98.78 kB / 1.025 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003162/1.068, allocations: 1.125 MB / 1.026 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/1.068, allocations: 8 kB / 1.026 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.068, allocations: 2.625 kB / 1.026 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/1.068, allocations: 7.984 kB / 1.026 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004665/1.072, allocations: 2.31 MB / 1.028 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/1.072, allocations: 4 kB / 1.028 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.073, allocations: 205.8 kB / 1.028 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/1.073, allocations: 4 kB / 1.028 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.695e-05/1.074, allocations: 19.98 kB / 1.028 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005932/1.074, allocations: 1.192 MB / 1.03 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.074, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003053/1.077, allocations: 1.204 MB / 1.031 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/1.078, allocations: 299.4 kB / 1.031 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/1.078, allocations: 19.94 kB / 1.031 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.079, allocations: 103.9 kB / 1.031 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.079, allocations: 60.3 kB / 1.031 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.536e-05/1.079, allocations: 31.98 kB / 1.031 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007584/1.08, allocations: 0.582 MB / 1.032 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/1.08, allocations: 0 / 1.032 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001351/1.081, allocations: 491.1 kB / 1.032 GB, free: 11.16 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.0006829/1.082, allocations: 300.6 kB / 1.033 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005032/1.087, allocations: 1.68 MB / 1.034 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.087, allocations: 0 / 1.034 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/1.089, allocations: 0.5495 MB / 1.035 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/1.091, allocations: 437.7 kB / 1.035 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/1.096, allocations: 1.953 MB / 1.037 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006534/1.096, allocations: 1.043 MB / 1.038 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/1.097, allocations: 91.39 kB / 1.038 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of SimCode: time 1.463e-06/1.097, allocations: 0 / 1.038 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of Templates: time 0.03615/1.133, allocations: 25.12 MB / 1.063 GB, free: 12.13 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)