Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",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.278/2.278, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001654/0.001654, allocations: 184.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009693/0.000969, allocations: 79.97 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.596e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2846, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.396/1.681, allocations: 435.4 MB / 1.644 GB, free: 14.9 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/1.681, allocations: 87.95 kB / 1.644 GB, free: 14.81 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.926/4.607, allocations: 0.6494 GB / 2.294 GB, free: 265.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.723e-06/4.607, allocations: 1.219 kB / 2.294 GB, free: 265.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002777/4.607, allocations: 28.84 kB / 2.294 GB, free: 265.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00509/4.613, allocations: 1.484 MB / 2.295 GB, free: 265 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/4.613, allocations: 10.12 kB / 2.295 GB, free: 265 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003888/4.613, allocations: 121 kB / 2.295 GB, free: 264.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002668/4.616, allocations: 448.3 kB / 2.296 GB, free: 264.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004622/4.62, allocations: 1.299 MB / 2.297 GB, free: 264.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004261/4.621, allocations: 136.8 kB / 2.297 GB, free: 264.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003492/4.621, allocations: 83.67 kB / 2.297 GB, free: 264.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/4.623, allocations: 0.8614 MB / 2.298 GB, free: 263.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/4.624, allocations: 1.312 kB / 2.298 GB, free: 263.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/4.624, allocations: 35.61 kB / 2.298 GB, free: 263.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/4.624, allocations: 31.16 kB / 2.298 GB, free: 263.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/4.625, allocations: 0.6559 MB / 2.299 GB, free: 263.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.008451/4.634, allocations: 4.699 MB / 2.303 GB, free: 260 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/4.636, allocations: 0.6957 MB / 2.304 GB, free: 259.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003778/4.637, allocations: 210.9 kB / 2.304 GB, free: 259.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/4.638, allocations: 0.9033 MB / 2.305 GB, free: 258.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/4.638, allocations: 41.44 kB / 2.305 GB, free: 258.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=42): time 3.086e-06/4.638, allocations: 0 / 2.305 GB, free: 258.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=42): time 0.002996/4.641, allocations: 0.753 MB / 2.306 GB, free: 258.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/4.641, allocations: 65.78 kB / 2.306 GB, free: 258.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/4.643, allocations: 0.9049 MB / 2.307 GB, free: 257.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/4.643, allocations: 33.48 kB / 2.307 GB, free: 257.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/4.643, allocations: 0.5415 MB / 2.307 GB, free: 257.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/4.643, allocations: 146 kB / 2.307 GB, free: 257.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/4.644, allocations: 11.66 kB / 2.307 GB, free: 257.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.463e-05/4.644, allocations: 328.6 kB / 2.308 GB, free: 257 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/4.644, allocations: 182.9 kB / 2.308 GB, free: 257 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/4.645, allocations: 436 kB / 2.308 GB, free: 256.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/4.645, allocations: 215.5 kB / 2.308 GB, free: 256.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/4.645, allocations: 7.891 kB / 2.308 GB, free: 256.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003058/4.648, allocations: 0.9308 MB / 2.309 GB, free: 256.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004122/4.648, allocations: 1.667 MB / 2.311 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/4.648, allocations: 7.047 kB / 2.311 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/4.649, allocations: 263.8 kB / 2.311 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/4.65, allocations: 120.2 kB / 2.311 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009068/4.651, allocations: 0.8202 MB / 2.312 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/4.653, allocations: 202.4 kB / 2.312 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.651e-05/4.653, allocations: 29.39 kB / 2.312 GB, free: 253.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/4.653, allocations: 8.969 kB / 2.312 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002643/4.656, allocations: 0.8056 MB / 2.313 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/4.656, allocations: 6.875 kB / 2.313 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008616/4.656, allocations: 253.6 kB / 2.313 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/4.657, allocations: 113.3 kB / 2.314 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008367/4.658, allocations: 0.8196 MB / 2.314 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/4.659, allocations: 168.2 kB / 2.315 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/4.66, allocations: 37.5 kB / 2.315 GB, free: 252.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002468/4.66, allocations: 144.2 kB / 2.315 GB, free: 252.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/4.66, allocations: 113.5 kB / 2.315 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/4.663, allocations: 0.9316 MB / 2.316 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/4.663, allocations: 7.812 kB / 2.316 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/4.663, allocations: 2.656 kB / 2.316 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/4.663, allocations: 3.703 kB / 2.316 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005111/4.668, allocations: 1.999 MB / 2.318 GB, free: 251.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/4.668, allocations: 0 / 2.318 GB, free: 251.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/4.669, allocations: 60.36 kB / 2.318 GB, free: 251.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008311/4.67, allocations: 256.2 kB / 2.318 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/4.67, allocations: 24.78 kB / 2.318 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008888/4.671, allocations: 0.8536 MB / 2.319 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/4.671, allocations: 6.859 kB / 2.319 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/4.674, allocations: 1.135 MB / 2.32 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008823/4.674, allocations: 281.3 kB / 2.32 GB, free: 249.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/4.675, allocations: 11.72 kB / 2.32 GB, free: 249.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/4.676, allocations: 115.6 kB / 2.32 GB, free: 249.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.38e-05/4.676, allocations: 36.58 kB / 2.32 GB, free: 249.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/4.676, allocations: 23.16 kB / 2.32 GB, free: 249.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001117/4.677, allocations: 0.7045 MB / 2.321 GB, free: 249.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.71e-07/4.677, allocations: 3.156 kB / 2.321 GB, free: 249.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002192/4.679, allocations: 0.6259 MB / 2.322 GB, free: 249.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.00454/4.684, allocations: 2.775 MB / 2.324 GB, free: 247.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002068/4.686, allocations: 0.8606 MB / 2.325 GB, free: 247.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/4.686, allocations: 0 / 2.325 GB, free: 247.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000588/4.686, allocations: 296.2 kB / 2.326 GB, free: 247.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/4.689, allocations: 0.4949 MB / 2.326 GB, free: 247 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006016/4.695, allocations: 1.839 MB / 2.328 GB, free: 246.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/4.696, allocations: 1.081 MB / 2.329 GB, free: 245.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001461/4.697, allocations: 269.4 kB / 2.329 GB, free: 245.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004361/4.698, allocations: 387.6 kB / 2.329 GB, free: 245.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.293e-06/4.698, allocations: 0 / 2.329 GB, free: 245.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07479/4.773, allocations: 40.24 MB / 2.369 GB, free: 219.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/4.773, allocations: 223.6 kB / 2.369 GB, free: 219.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.587/8.36, allocations: 3.938 kB / 2.369 GB, free: 219.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon_res.mat does not exist to compare? outputFormat=mat