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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 173.2 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.716/1.716, allocations: 223.2 MB / 0.7948 GB, free: 18.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 94.56 kB / 0.9346 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004119, allocations: 11.5 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3251, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.366/5.691, allocations: 2.166 GB / 3.389 GB, free: 225.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/5.692, allocations: 94.64 kB / 3.389 GB, free: 225.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.989/8.681, allocations: 0.7963 GB / 4.185 GB, free: 257.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.743e-06/8.681, allocations: 0 / 4.185 GB, free: 257.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001403/8.681, allocations: 34.72 kB / 4.185 GB, free: 257.6 MB / 1.167 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.006138/8.687, allocations: 1.746 MB / 4.187 GB, free: 256.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/8.687, allocations: 12.12 kB / 4.187 GB, free: 256.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003349/8.688, allocations: 114.8 kB / 4.187 GB, free: 256.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/8.69, allocations: 437.6 kB / 4.187 GB, free: 256.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/8.693, allocations: 1.053 MB / 4.188 GB, free: 256.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006261/8.694, allocations: 182.6 kB / 4.189 GB, free: 256.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/8.694, allocations: 77.36 kB / 4.189 GB, free: 256.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/8.696, allocations: 1.123 MB / 4.19 GB, free: 256.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/8.696, allocations: 0 / 4.19 GB, free: 256.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.856e-05/8.696, allocations: 26.5 kB / 4.19 GB, free: 256.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-05/8.697, allocations: 37.86 kB / 4.19 GB, free: 256.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00286/8.699, allocations: 1.21 MB / 4.191 GB, free: 256.3 MB / 1.167 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.00705/8.706, allocations: 4.247 MB / 4.195 GB, free: 254.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/8.709, allocations: 0.9281 MB / 4.196 GB, free: 254.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000858/8.71, allocations: 0.6433 MB / 4.197 GB, free: 253.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/8.711, allocations: 0.6355 MB / 4.197 GB, free: 253.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 2.946e-06/8.711, allocations: 3.125 kB / 4.197 GB, free: 253.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.004182/8.715, allocations: 1.537 MB / 4.199 GB, free: 253.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/8.715, allocations: 93.56 kB / 4.199 GB, free: 253.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/8.717, allocations: 0.7282 MB / 4.2 GB, free: 253.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/8.717, allocations: 41.67 kB / 4.2 GB, free: 253.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/8.717, allocations: 431.3 kB / 4.2 GB, free: 253.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/8.717, allocations: 195.3 kB / 4.2 GB, free: 253.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/8.717, allocations: 12.78 kB / 4.2 GB, free: 253.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.637e-05/8.717, allocations: 330.1 kB / 4.201 GB, free: 252.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/8.719, allocations: 460.6 kB / 4.201 GB, free: 252.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/8.72, allocations: 0.5977 MB / 4.202 GB, free: 252.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/8.721, allocations: 0.5013 MB / 4.202 GB, free: 252.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/8.721, allocations: 0 / 4.202 GB, free: 252.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002873/8.724, allocations: 1.174 MB / 4.203 GB, free: 252.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003074/8.724, allocations: 0.7262 MB / 4.204 GB, free: 251.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/8.724, allocations: 3.438 kB / 4.204 GB, free: 251.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.829e-05/8.724, allocations: 5.844 kB / 4.204 GB, free: 251.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/8.726, allocations: 251.1 kB / 4.204 GB, free: 251.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006887/8.726, allocations: 1.192 MB / 4.205 GB, free: 250.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/8.728, allocations: 195.2 kB / 4.205 GB, free: 250.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/8.728, allocations: 34.34 kB / 4.206 GB, free: 250.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/8.728, allocations: 4.281 kB / 4.206 GB, free: 250.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0029/8.731, allocations: 1.072 MB / 4.207 GB, free: 250.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/8.731, allocations: 0 / 4.207 GB, free: 250.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/8.731, allocations: 10.73 kB / 4.207 GB, free: 250.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/8.732, allocations: 228.1 kB / 4.207 GB, free: 250.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/8.732, allocations: 3.812 kB / 4.207 GB, free: 250.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/8.734, allocations: 203.1 kB / 4.207 GB, free: 250.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/8.734, allocations: 26.05 kB / 4.207 GB, free: 250.5 MB / 1.167 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 ($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 (69): * Single equations (assignments): 66 * 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.0008844/8.735, allocations: 343.8 kB / 4.207 GB, free: 250.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/8.735, allocations: 98.59 kB / 4.207 GB, free: 250.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/8.738, allocations: 1.236 MB / 4.209 GB, free: 250.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/8.738, allocations: 11.44 kB / 4.209 GB, free: 250.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/8.738, allocations: 0 / 4.209 GB, free: 250.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/8.738, allocations: 3.469 kB / 4.209 GB, free: 250.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005005/8.743, allocations: 2.41 MB / 4.211 GB, free: 249.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/8.743, allocations: 3.969 kB / 4.211 GB, free: 249.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/8.744, allocations: 227.2 kB / 4.211 GB, free: 249.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/8.744, allocations: 3.688 kB / 4.211 GB, free: 249.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/8.744, allocations: 21.23 kB / 4.211 GB, free: 249.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004891/8.745, allocations: 1.195 MB / 4.212 GB, free: 248.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/8.745, allocations: 5.719 kB / 4.212 GB, free: 248.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/8.748, allocations: 1.437 MB / 4.214 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006325/8.749, allocations: 291.2 kB / 4.214 GB, free: 248 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/8.749, allocations: 17.14 kB / 4.214 GB, free: 248 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/8.75, allocations: 169.1 kB / 4.214 GB, free: 248 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/8.75, allocations: 59.09 kB / 4.214 GB, free: 248 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.271e-05/8.75, allocations: 31.95 kB / 4.214 GB, free: 248 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000884/8.751, allocations: 0.5764 MB / 4.215 GB, free: 247.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/8.751, allocations: 0 / 4.215 GB, free: 247.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002491/8.754, allocations: 0.6354 MB / 4.216 GB, free: 247.8 MB / 1.167 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.007023/8.761, allocations: 4.326 MB / 4.22 GB, free: 245.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004923/8.766, allocations: 1.753 MB / 4.221 GB, free: 245.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/8.766, allocations: 0 / 4.221 GB, free: 245.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/8.767, allocations: 0.6029 MB / 4.222 GB, free: 245.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/8.77, allocations: 450.6 kB / 4.223 GB, free: 245.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005394/8.775, allocations: 3.867 MB / 4.226 GB, free: 243.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/8.776, allocations: 1.064 MB / 4.227 GB, free: 242.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001286/8.777, allocations: 298.7 kB / 4.228 GB, free: 242.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/8.778, allocations: 362.6 kB / 4.228 GB, free: 242.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.312e-06/8.778, allocations: 0 / 4.228 GB, free: 242.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07732/8.855, allocations: 49.73 MB / 4.277 GB, free: 227.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/8.855, allocations: 261.9 kB / 4.277 GB, free: 227.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.936/12.79, allocations: 1.75 kB / 4.277 GB, free: 227.3 MB / 1.167 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