Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.538/2.538, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001468/0.001468, allocations: 182.2 kB / 0.4901 GB, free: 2.32 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.668/1.668, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001162/0.001161, allocations: 112.1 kB / 0.9396 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003794, allocations: 10.38 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3532, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.295/1.649, allocations: 435.5 MB / 1.655 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.649, allocations: 90.14 kB / 1.655 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.031/3.68, allocations: 0.6518 GB / 2.306 GB, free: 13.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.625e-06/3.68, allocations: 0 / 2.306 GB, free: 13.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001235/3.68, allocations: 31.98 kB / 2.307 GB, free: 13.27 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00392/3.684, allocations: 1.723 MB / 2.308 GB, free: 11.48 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/3.684, allocations: 12.03 kB / 2.308 GB, free: 11.47 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/3.684, allocations: 122.8 kB / 2.308 GB, free: 11.34 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/3.686, allocations: 0.4901 MB / 2.309 GB, free: 10.85 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/3.689, allocations: 1.327 MB / 2.31 GB, free: 9.469 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003307/3.69, allocations: 130.1 kB / 2.31 GB, free: 9.34 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/3.69, allocations: 88 kB / 2.31 GB, free: 9.254 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/3.692, allocations: 1.03 MB / 2.311 GB, free: 8.191 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/3.692, allocations: 3.938 kB / 2.311 GB, free: 8.188 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.817e-05/3.692, allocations: 32 kB / 2.311 GB, free: 8.156 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/3.692, allocations: 26 kB / 2.311 GB, free: 8.129 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/3.694, allocations: 0.9915 MB / 2.312 GB, free: 7.137 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.006065/3.7, allocations: 4.535 MB / 2.317 GB, free: 2.281 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003876/3.704, allocations: 1.11 MB / 2.318 GB, free: 1.156 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8633/4.567, allocations: 1.02 MB / 2.319 GB, free: 256.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/4.568, allocations: 36.17 kB / 2.319 GB, free: 256.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 5.51e-06/4.568, allocations: 4.031 kB / 2.319 GB, free: 256.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.01133/4.579, allocations: 2.579 MB / 2.321 GB, free: 256.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/4.579, allocations: 61.31 kB / 2.321 GB, free: 256 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/4.581, allocations: 0.8241 MB / 2.322 GB, free: 255.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/4.581, allocations: 37.7 kB / 2.322 GB, free: 255.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005101/4.581, allocations: 0.4971 MB / 2.323 GB, free: 255.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/4.582, allocations: 188.8 kB / 2.323 GB, free: 255.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/4.582, allocations: 14.84 kB / 2.323 GB, free: 255.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001054/4.582, allocations: 326.9 kB / 2.323 GB, free: 255.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/4.583, allocations: 358.2 kB / 2.324 GB, free: 255.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/4.584, allocations: 0.5517 MB / 2.324 GB, free: 255.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/4.585, allocations: 377.8 kB / 2.325 GB, free: 255.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/4.585, allocations: 0 / 2.325 GB, free: 255.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.005067/4.59, allocations: 1.321 MB / 2.326 GB, free: 255 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003094/4.591, allocations: 0.9688 MB / 2.327 GB, free: 254 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/4.591, allocations: 6.969 kB / 2.327 GB, free: 254 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/4.593, allocations: 474.1 kB / 2.327 GB, free: 254 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/4.593, allocations: 118.9 kB / 2.327 GB, free: 254 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/4.595, allocations: 1.086 MB / 2.328 GB, free: 253.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/4.597, allocations: 171 kB / 2.329 GB, free: 253.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/4.597, allocations: 30.98 kB / 2.329 GB, free: 253.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/4.597, allocations: 3.625 kB / 2.329 GB, free: 253.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004546/4.602, allocations: 1.197 MB / 2.33 GB, free: 253.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/4.602, allocations: 2.156 kB / 2.33 GB, free: 253.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001759/4.604, allocations: 457.2 kB / 2.33 GB, free: 253.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/4.604, allocations: 121.6 kB / 2.33 GB, free: 253.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/4.606, allocations: 1.091 MB / 2.331 GB, free: 252.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/4.608, allocations: 164.1 kB / 2.332 GB, free: 252.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/4.608, allocations: 40.11 kB / 2.332 GB, free: 252.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0009216/4.609, allocations: 348 kB / 2.332 GB, free: 252.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/4.609, allocations: 108.4 kB / 2.332 GB, free: 252.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005309/4.615, allocations: 1.48 MB / 2.333 GB, free: 252.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/4.615, allocations: 7.078 kB / 2.333 GB, free: 252.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/4.615, allocations: 0.5938 kB / 2.333 GB, free: 252.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/4.615, allocations: 3.094 kB / 2.333 GB, free: 252.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007708/4.623, allocations: 2.522 MB / 2.336 GB, free: 252.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/4.623, allocations: 1.766 kB / 2.336 GB, free: 252.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/4.623, allocations: 105.2 kB / 2.336 GB, free: 252.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/4.625, allocations: 479.9 kB / 2.336 GB, free: 252.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/4.625, allocations: 17.55 kB / 2.337 GB, free: 252.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/4.627, allocations: 1.12 MB / 2.338 GB, free: 251.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/4.627, allocations: 5.75 kB / 2.338 GB, free: 251.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003729/4.631, allocations: 1.355 MB / 2.339 GB, free: 251.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009045/4.632, allocations: 290 kB / 2.339 GB, free: 251.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/4.632, allocations: 15.98 kB / 2.339 GB, free: 251.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/4.633, allocations: 128.2 kB / 2.339 GB, free: 251.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/4.633, allocations: 38.92 kB / 2.339 GB, free: 251.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/4.633, allocations: 25.44 kB / 2.339 GB, free: 251.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001479/4.635, allocations: 0.6625 MB / 2.34 GB, free: 251 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.01e-07/4.635, allocations: 1 kB / 2.34 GB, free: 251 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002975/4.638, allocations: 0.6262 MB / 2.341 GB, free: 251 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.005651/4.643, allocations: 2.879 MB / 2.343 GB, free: 249.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004734/4.648, allocations: 1.382 MB / 2.345 GB, free: 249.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/4.648, allocations: 0 / 2.345 GB, free: 249.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/4.65, allocations: 0.4924 MB / 2.345 GB, free: 249.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/4.653, allocations: 0.5042 MB / 2.346 GB, free: 249.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/4.668, allocations: 8.43 MB / 2.354 GB, free: 246.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/4.669, allocations: 1.094 MB / 2.355 GB, free: 245.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001329/4.67, allocations: 222.2 kB / 2.355 GB, free: 245.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005627/4.67, allocations: 407.6 kB / 2.356 GB, free: 245.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.132e-06/4.67, allocations: 0 / 2.356 GB, free: 245.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08081/4.751, allocations: 39.15 MB / 2.394 GB, free: 244.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/4.752, allocations: 265.8 kB / 2.394 GB, free: 244.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.802/8.554, allocations: 0 / 2.394 GB, free: 244.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat does not exist to compare? outputFormat=mat