Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009243/0.0009243, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 12 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6638/0.6641, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.2079/0.8721, allocations: 166.8 MB / 1.116 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.8836, allocations: 7.049 MB / 1.123 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.8852, allocations: 35.75 kB / 1.123 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.8875, allocations: 0.6182 MB / 1.124 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006441/0.894, allocations: 1.853 MB / 1.126 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.8975, allocations: 1.097 MB / 1.127 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003648/0.9012, allocations: 1.564 MB / 1.128 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.9027, allocations: 0.7388 MB / 1.129 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002936/0.9057, allocations: 1.086 MB / 1.13 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.9069, allocations: 0.5523 MB / 1.131 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.907, allocations: 44 kB / 1.131 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/0.9098, allocations: 1.096 MB / 1.132 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.9102, allocations: 243.1 kB / 1.132 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004113/0.9106, allocations: 245.1 kB / 1.132 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.9126, allocations: 1.403 MB / 1.134 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.9127, allocations: 0 / 1.134 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.696e-06/0.9127, allocations: 0 / 1.134 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.9127, allocations: 0 / 1.134 GB, free: 7.352 MB / 0.8887 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.003646/0.9164, allocations: 1.452 MB / 1.135 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.9164, allocations: 8.031 kB / 1.135 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.9166, allocations: 118.5 kB / 1.135 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.919, allocations: 474.1 kB / 1.136 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.9208, allocations: 0.8596 MB / 1.136 GB, free: 4.34 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006359/0.9215, allocations: 193.8 kB / 1.137 GB, free: 4.148 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.9216, allocations: 75.98 kB / 1.137 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/0.9242, allocations: 1.122 MB / 1.138 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.9242, allocations: 0 / 1.138 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.551e-05/0.9243, allocations: 24 kB / 1.138 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.9244, allocations: 30 kB / 1.138 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00322/0.9276, allocations: 1.269 MB / 1.139 GB, free: 1.617 MB / 0.8887 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.007041/0.9346, allocations: 4.189 MB / 1.143 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.9373, allocations: 0.9499 MB / 1.144 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006903/0.938, allocations: 482.1 kB / 1.145 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001624/0.9397, allocations: 0.6265 MB / 1.145 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=57): time 2.845e-06/0.9397, allocations: 4 kB / 1.145 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=57): time 0.004574/0.9443, allocations: 1.524 MB / 1.147 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.9444, allocations: 85.67 kB / 1.147 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.9456, allocations: 0.8317 MB / 1.148 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.9457, allocations: 41.7 kB / 1.148 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.9461, allocations: 428.4 kB / 1.148 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.9463, allocations: 197.1 kB / 1.148 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.9464, allocations: 12 kB / 1.148 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.9465, allocations: 334 kB / 1.149 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.9479, allocations: 448.8 kB / 1.149 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.9493, allocations: 0.5587 MB / 1.15 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.9506, allocations: 491.6 kB / 1.15 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.9506, allocations: 3.953 kB / 1.15 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003156/0.9538, allocations: 1.144 MB / 1.151 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003297/0.9541, allocations: 0.6408 MB / 1.152 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.9541, allocations: 4 kB / 1.152 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.9542, allocations: 4 kB / 1.152 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.9556, allocations: 251.6 kB / 1.152 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007795/0.9564, allocations: 1.188 MB / 1.153 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.9577, allocations: 191.5 kB / 1.153 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/0.9578, allocations: 31.91 kB / 1.153 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.9578, allocations: 4 kB / 1.153 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002862/0.9607, allocations: 1.034 MB / 1.154 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.9607, allocations: 4 kB / 1.154 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.9607, allocations: 4 kB / 1.154 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.9617, allocations: 215.9 kB / 1.155 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.9617, allocations: 7.984 kB / 1.155 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.963, allocations: 187.3 kB / 1.155 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.617e-05/0.9631, allocations: 27.98 kB / 1.155 GB, free: 0.9102 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (66): * Single equations (assignments): 63 * 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.0005723/0.9637, allocations: 341 kB / 1.155 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.9639, allocations: 98.78 kB / 1.155 GB, free: 480 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/0.9671, allocations: 1.203 MB / 1.156 GB, free: 15.25 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.9671, allocations: 7.984 kB / 1.156 GB, free: 15.24 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.9671, allocations: 4 kB / 1.156 GB, free: 15.24 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.9672, allocations: 3.953 kB / 1.156 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005019/0.9722, allocations: 2.4 MB / 1.159 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.9722, allocations: 4 kB / 1.159 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.9733, allocations: 228 kB / 1.159 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.9733, allocations: 4 kB / 1.159 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/0.9734, allocations: 27.97 kB / 1.159 GB, free: 12.49 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006838/0.9741, allocations: 1.191 MB / 1.16 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.9741, allocations: 7.938 kB / 1.16 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/0.9773, allocations: 1.416 MB / 1.162 GB, free: 9.707 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005744/0.9779, allocations: 291.6 kB / 1.162 GB, free: 9.402 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.9781, allocations: 19.94 kB / 1.162 GB, free: 9.383 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.9794, allocations: 159.8 kB / 1.162 GB, free: 9.227 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.9795, allocations: 60.34 kB / 1.162 GB, free: 9.168 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.374e-05/0.9796, allocations: 27.98 kB / 1.162 GB, free: 9.141 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009576/0.9806, allocations: 0.5782 MB / 1.163 GB, free: 8.551 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.9806, allocations: 0 / 1.163 GB, free: 8.551 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001554/0.9821, allocations: 491 kB / 1.163 GB, free: 8.07 MB / 0.92 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.004478/0.9866, allocations: 2.927 MB / 1.166 GB, free: 5.051 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005009/0.9917, allocations: 1.723 MB / 1.168 GB, free: 3.312 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.9917, allocations: 4 kB / 1.168 GB, free: 3.309 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.9934, allocations: 0.5964 MB / 1.168 GB, free: 2.711 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.996, allocations: 463.9 kB / 1.169 GB, free: 2.262 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/1.011, allocations: 7.159 MB / 1.176 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000809/1.012, allocations: 1.062 MB / 1.177 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001459/1.014, allocations: 290.2 kB / 1.177 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006026/1.014, allocations: 359.3 kB / 1.177 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of SimCode: time 1.232e-06/1.014, allocations: 4 kB / 1.177 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0536/1.068, allocations: 27.27 MB / 1.204 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003509/1.068, allocations: 264.7 kB / 1.204 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.464, allocations: 0 / 1.204 GB, free: 13.95 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat does not exist to compare? outputFormat=mat