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.001015/0.001015, allocations: 91.77 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.001277/0.001278, 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 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.2 MB / 240 MB, free: 5.281 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.306/2.306, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7715, allocations: 142.3 MB / 0.9539 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.211/0.9825, allocations: 182.2 MB / 1.132 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.9934, allocations: 7.194 MB / 1.139 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.9949, allocations: 35.75 kB / 1.139 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.9965, allocations: 453 kB / 1.139 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004681/1.001, allocations: 1.5 MB / 1.141 GB, free: 288 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/1.004, allocations: 0.8713 MB / 1.142 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003653/1.007, allocations: 2.976 MB / 1.144 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/1.009, allocations: 0.7073 MB / 1.145 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/1.012, allocations: 1.213 MB / 1.146 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/1.013, allocations: 0.7546 MB / 1.147 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/1.013, allocations: 40 kB / 1.147 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/1.016, allocations: 1.267 MB / 1.148 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002982/1.016, allocations: 247 kB / 1.149 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003743/1.016, allocations: 245.1 kB / 1.149 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001828/1.018, allocations: 1.481 MB / 1.15 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.018, allocations: 0 / 1.15 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.282e-06/1.018, allocations: 8 kB / 1.15 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.708e-05/1.018, allocations: 0 / 1.15 GB, free: 6.449 MB / 0.9044 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.003248/1.022, allocations: 1.468 MB / 1.152 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.022, allocations: 8.031 kB / 1.152 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/1.022, allocations: 118.5 kB / 1.152 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/1.024, allocations: 478.1 kB / 1.152 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/1.026, allocations: 0.8825 MB / 1.153 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005378/1.026, allocations: 197.8 kB / 1.153 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/1.027, allocations: 68 kB / 1.153 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/1.029, allocations: 1.126 MB / 1.155 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/1.029, allocations: 8 kB / 1.155 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.635e-05/1.029, allocations: 24 kB / 1.155 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.78e-05/1.029, allocations: 34 kB / 1.155 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/1.032, allocations: 1.269 MB / 1.156 GB, free: 0.6641 MB / 0.9044 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.00607/1.038, allocations: 4.15 MB / 1.16 GB, free: 12.22 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/1.04, allocations: 0.9381 MB / 1.161 GB, free: 11.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/1.042, allocations: 0.5379 MB / 1.161 GB, free: 10.73 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007672/1.042, allocations: 0.6487 MB / 1.162 GB, free: 9.957 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/1.044, allocations: 0.6382 MB / 1.163 GB, free: 9.301 MB / 0.92 GB Notification: Performance of pre-optimization done (n=57): time 2.284e-06/1.044, allocations: 0 / 1.163 GB, free: 9.301 MB / 0.92 GB Notification: Performance of matching and sorting (n=57): time 0.003962/1.048, allocations: 1.517 MB / 1.164 GB, free: 7.777 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/1.048, allocations: 89.67 kB / 1.164 GB, free: 7.672 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/1.049, allocations: 0.8355 MB / 1.165 GB, free: 6.812 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.74e-05/1.049, allocations: 37.7 kB / 1.165 GB, free: 6.77 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/1.049, allocations: 424.4 kB / 1.165 GB, free: 6.352 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/1.05, allocations: 197.2 kB / 1.166 GB, free: 6.156 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/1.05, allocations: 12 kB / 1.166 GB, free: 6.145 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.05, allocations: 322 kB / 1.166 GB, free: 5.824 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/1.051, allocations: 452.8 kB / 1.166 GB, free: 5.383 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/1.052, allocations: 0.5626 MB / 1.167 GB, free: 4.781 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/1.053, allocations: 495.5 kB / 1.167 GB, free: 4.293 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.053, allocations: 0 / 1.167 GB, free: 4.293 MB / 0.92 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002802/1.056, allocations: 1.14 MB / 1.168 GB, free: 3.137 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/1.056, allocations: 171.6 kB / 1.169 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/1.056, allocations: 0 / 1.169 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/1.056, allocations: 7.984 kB / 1.169 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.058, allocations: 243.7 kB / 1.169 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006631/1.058, allocations: 1.195 MB / 1.17 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/1.059, allocations: 191.4 kB / 1.17 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.212e-05/1.059, allocations: 27.98 kB / 1.17 GB, free: 1.238 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/1.059, allocations: 4 kB / 1.17 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002436/1.062, allocations: 1.041 MB / 1.171 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/1.062, allocations: 0 / 1.171 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/1.062, allocations: 4 kB / 1.171 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009663/1.063, allocations: 219.9 kB / 1.171 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/1.063, allocations: 4 kB / 1.171 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.064, allocations: 191.3 kB / 1.172 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.614e-05/1.064, allocations: 31.92 kB / 1.172 GB, free: 15.74 MB / 0.9356 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.0005383/1.065, allocations: 337 kB / 1.172 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/1.065, allocations: 98.88 kB / 1.172 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002901/1.068, allocations: 1.203 MB / 1.173 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/1.068, allocations: 8 kB / 1.173 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/1.068, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.068, allocations: 7.938 kB / 1.173 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004429/1.072, allocations: 2.399 MB / 1.176 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/1.072, allocations: 4 kB / 1.176 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.073, allocations: 228 kB / 1.176 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/1.073, allocations: 4 kB / 1.176 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.049e-05/1.073, allocations: 23.98 kB / 1.176 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006129/1.074, allocations: 1.188 MB / 1.177 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.074, allocations: 0 / 1.177 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/1.077, allocations: 1.29 MB / 1.178 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005115/1.077, allocations: 295.5 kB / 1.179 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.077, allocations: 16 kB / 1.179 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/1.078, allocations: 159.8 kB / 1.179 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.079, allocations: 56.3 kB / 1.179 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.064e-05/1.079, allocations: 35.97 kB / 1.179 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007925/1.079, allocations: 0.5743 MB / 1.179 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/1.079, allocations: 0 / 1.179 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001283/1.081, allocations: 487 kB / 1.18 GB, free: 7.121 MB / 0.9356 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.003534/1.084, allocations: 2.023 MB / 1.182 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004405/1.089, allocations: 1.723 MB / 1.184 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.089, allocations: 0 / 1.184 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/1.09, allocations: 0.6042 MB / 1.184 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/1.093, allocations: 471.6 kB / 1.185 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/1.107, allocations: 6.308 MB / 1.191 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007671/1.108, allocations: 1.043 MB / 1.192 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001501/1.11, allocations: 286.2 kB / 1.192 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006073/1.11, allocations: 367.2 kB / 1.192 GB, free: 10 MB / 0.9512 GB Notification: Performance of SimCode: time 2.114e-06/1.11, allocations: 0 / 1.192 GB, free: 10 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04964/1.16, allocations: 27.17 MB / 1.219 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/1.16, allocations: 264.8 kB / 1.219 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/3.578, allocations: 0 / 1.219 GB, free: 14.92 MB / 0.9825 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