Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_latest_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.001087/0.001087, allocations: 91.84 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.00134/0.00134, 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.417/1.417, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.59/2.59, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004795, allocations: 8 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7783/0.7788, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.1871/0.966, allocations: 182.2 MB / 1.159 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.9781, allocations: 7.196 MB / 1.166 GB, free: 8.348 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.9801, allocations: 39.75 kB / 1.166 GB, free: 8.309 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.9822, allocations: 452.9 kB / 1.167 GB, free: 7.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005053/0.9872, allocations: 1.491 MB / 1.168 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.9901, allocations: 0.8739 MB / 1.169 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004238/0.9944, allocations: 2.98 MB / 1.172 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.9959, allocations: 0.7113 MB / 1.172 GB, free: 1.785 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00323/0.9991, allocations: 1.213 MB / 1.174 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/1.001, allocations: 0.7547 MB / 1.174 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/1.001, allocations: 44 kB / 1.174 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003258/1.004, allocations: 1.259 MB / 1.176 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003854/1.005, allocations: 255 kB / 1.176 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005684/1.005, allocations: 253.1 kB / 1.176 GB, free: 14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002501/1.008, allocations: 1.477 MB / 1.178 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/1.008, allocations: 0 / 1.178 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.194e-06/1.008, allocations: 0 / 1.178 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.464e-05/1.008, allocations: 0 / 1.178 GB, free: 12.52 MB / 0.9356 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.003621/1.012, allocations: 1.475 MB / 1.179 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/1.012, allocations: 16.02 kB / 1.179 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/1.012, allocations: 118.4 kB / 1.179 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/1.014, allocations: 474 kB / 1.18 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/1.016, allocations: 0.8793 MB / 1.18 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005599/1.017, allocations: 185.9 kB / 1.181 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/1.017, allocations: 72 kB / 1.181 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/1.019, allocations: 1.133 MB / 1.182 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/1.019, allocations: 0 / 1.182 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.7e-05/1.019, allocations: 32 kB / 1.182 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/1.019, allocations: 30 kB / 1.182 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00302/1.022, allocations: 1.269 MB / 1.183 GB, free: 6.727 MB / 0.9356 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.007/1.029, allocations: 4.149 MB / 1.187 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/1.032, allocations: 0.942 MB / 1.188 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/1.033, allocations: 0.534 MB / 1.189 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008318/1.034, allocations: 0.6487 MB / 1.189 GB, free: 20 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001505/1.035, allocations: 0.6265 MB / 1.19 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=57): time 2.935e-06/1.035, allocations: 0 / 1.19 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=57): time 0.004195/1.04, allocations: 1.532 MB / 1.191 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/1.04, allocations: 85.62 kB / 1.191 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/1.041, allocations: 0.8278 MB / 1.192 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/1.041, allocations: 41.7 kB / 1.192 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/1.042, allocations: 428.4 kB / 1.193 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/1.042, allocations: 189.2 kB / 1.193 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/1.042, allocations: 8 kB / 1.193 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.042, allocations: 330 kB / 1.193 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/1.043, allocations: 448.8 kB / 1.194 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/1.045, allocations: 0.5666 MB / 1.194 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/1.046, allocations: 499.6 kB / 1.195 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.046, allocations: 0 / 1.195 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003062/1.049, allocations: 1.14 MB / 1.196 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/1.049, allocations: 162.3 kB / 1.196 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.049, allocations: 3.984 kB / 1.196 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.565e-05/1.049, allocations: 7.953 kB / 1.196 GB, free: 9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/1.051, allocations: 251.6 kB / 1.196 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008215/1.052, allocations: 1.188 MB / 1.197 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/1.053, allocations: 195.4 kB / 1.198 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/1.053, allocations: 35.94 kB / 1.198 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.053, allocations: 4.938 kB / 1.198 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002602/1.056, allocations: 1.034 MB / 1.199 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/1.056, allocations: 3.938 kB / 1.199 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/1.056, allocations: 4 kB / 1.199 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009606/1.057, allocations: 219.9 kB / 1.199 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/1.057, allocations: 4 kB / 1.199 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.058, allocations: 187.3 kB / 1.199 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.055e-05/1.058, allocations: 27.98 kB / 1.199 GB, free: 5.812 MB / 0.9512 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.0007708/1.059, allocations: 337 kB / 1.199 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/1.059, allocations: 102.7 kB / 1.199 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/1.062, allocations: 1.199 MB / 1.201 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/1.063, allocations: 19.92 kB / 1.201 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/1.063, allocations: 0 / 1.201 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/1.063, allocations: 3.984 kB / 1.201 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005571/1.068, allocations: 2.384 MB / 1.203 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/1.068, allocations: 8.031 kB / 1.203 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/1.069, allocations: 219.7 kB / 1.203 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.368e-05/1.069, allocations: 11.94 kB / 1.203 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/1.069, allocations: 19.98 kB / 1.203 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008644/1.07, allocations: 1.184 MB / 1.204 GB, free: 184 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/1.07, allocations: 12.03 kB / 1.204 GB, free: 172 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/1.074, allocations: 1.298 MB / 1.206 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007399/1.074, allocations: 283.6 kB / 1.206 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/1.075, allocations: 19.98 kB / 1.206 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.076, allocations: 159.8 kB / 1.206 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/1.076, allocations: 56.31 kB / 1.206 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/1.076, allocations: 35.97 kB / 1.206 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001226/1.078, allocations: 0.5743 MB / 1.207 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.51e-07/1.078, allocations: 0 / 1.207 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002123/1.08, allocations: 491 kB / 1.207 GB, free: 13.19 MB / 0.9669 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.004092/1.084, allocations: 2.01 MB / 1.209 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004646/1.088, allocations: 1.727 MB / 1.211 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.088, allocations: 0 / 1.211 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/1.09, allocations: 0.6042 MB / 1.211 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/1.093, allocations: 481.6 kB / 1.212 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.108, allocations: 6.299 MB / 1.218 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/1.109, allocations: 1.047 MB / 1.219 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001584/1.11, allocations: 293.9 kB / 1.219 GB, free: 432 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006539/1.111, allocations: 355.3 kB / 1.22 GB, free: 76 kB / 0.9669 GB Notification: Performance of SimCode: time 9.02e-07/1.111, allocations: 0 / 1.22 GB, free: 76 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05414/1.165, allocations: 27.19 MB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/1.165, allocations: 285.1 kB / 1.246 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.615, allocations: 0 / 1.246 GB, free: 4.988 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat does not exist to compare? outputFormat=mat