Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",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.466/2.466, allocations: 390.5 MB / 398 MB, free: 10.93 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.00117/0.00117, allocations: 171.6 kB / 491.2 MB, free: 1.613 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.843/1.843, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001215/0.001216, allocations: 97.69 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.065e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3078, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.599, allocations: 434.9 MB / 1.637 GB, free: 12.34 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.599, allocations: 91.2 kB / 1.637 GB, free: 12.29 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.921/4.52, allocations: 0.6482 GB / 2.285 GB, free: 266.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.493e-06/4.52, allocations: 0 / 2.285 GB, free: 266.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001201/4.52, allocations: 32.45 kB / 2.285 GB, free: 266.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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00314/4.523, allocations: 1.51 MB / 2.287 GB, free: 266.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/4.523, allocations: 14.31 kB / 2.287 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/4.525, allocations: 443.3 kB / 2.287 GB, free: 266.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/4.528, allocations: 1.307 MB / 2.289 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/4.528, allocations: 101 kB / 2.289 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.445e-05/4.528, allocations: 48.25 kB / 2.289 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001081/4.529, allocations: 0.6343 MB / 2.289 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/4.53, allocations: 0.7645 MB / 2.29 GB, free: 265.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/4.53, allocations: 0 / 2.29 GB, free: 265.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/4.53, allocations: 7.297 kB / 2.29 GB, free: 265.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/4.53, allocations: 35.44 kB / 2.29 GB, free: 265.6 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.005424/4.536, allocations: 4.553 MB / 2.295 GB, free: 263.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/4.538, allocations: 0.6601 MB / 2.295 GB, free: 263.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/4.539, allocations: 200 kB / 2.295 GB, free: 263.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000497/4.539, allocations: 0.8963 MB / 2.296 GB, free: 262.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/4.539, allocations: 45.12 kB / 2.296 GB, free: 262.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 3.426e-06/4.539, allocations: 0 / 2.296 GB, free: 262.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.002865/4.542, allocations: 0.7913 MB / 2.297 GB, free: 262 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/4.542, allocations: 54.78 kB / 2.297 GB, free: 261.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000993/4.543, allocations: 0.7468 MB / 2.298 GB, free: 261.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-05/4.543, allocations: 25.7 kB / 2.298 GB, free: 261.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/4.543, allocations: 0.55 MB / 2.298 GB, free: 261.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/4.544, allocations: 143.2 kB / 2.299 GB, free: 261.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/4.544, allocations: 0 / 2.299 GB, free: 261.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.408e-05/4.544, allocations: 330.3 kB / 2.299 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/4.544, allocations: 183 kB / 2.299 GB, free: 261.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/4.544, allocations: 412.2 kB / 2.3 GB, free: 260.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000635/4.545, allocations: 266.1 kB / 2.3 GB, free: 260.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/4.545, allocations: 6.719 kB / 2.3 GB, free: 260.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002772/4.548, allocations: 0.9146 MB / 2.301 GB, free: 260.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003078/4.548, allocations: 1.671 MB / 2.302 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/4.548, allocations: 3.906 kB / 2.302 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/4.549, allocations: 246.8 kB / 2.303 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/4.549, allocations: 122.8 kB / 2.303 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008979/4.55, allocations: 0.875 MB / 2.304 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/4.552, allocations: 177.9 kB / 2.304 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.455e-05/4.552, allocations: 31.09 kB / 2.304 GB, free: 258.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/4.552, allocations: 3.938 kB / 2.304 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002628/4.554, allocations: 0.787 MB / 2.304 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/4.554, allocations: 3.969 kB / 2.304 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005609/4.555, allocations: 230.8 kB / 2.305 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/4.555, allocations: 128.3 kB / 2.305 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008026/4.556, allocations: 0.8648 MB / 2.306 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/4.557, allocations: 146.7 kB / 2.306 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-05/4.557, allocations: 29.5 kB / 2.306 GB, free: 257.9 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 (47): * Single equations (assignments): 46 * 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.0002064/4.558, allocations: 119.7 kB / 2.306 GB, free: 257.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002515/4.56, allocations: 0.7803 MB / 2.307 GB, free: 257.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/4.56, allocations: 100.7 kB / 2.307 GB, free: 257.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/4.563, allocations: 0.9111 MB / 2.308 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/4.563, allocations: 6.969 kB / 2.308 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/4.563, allocations: 0 / 2.308 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/4.563, allocations: 3.797 kB / 2.308 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004199/4.568, allocations: 1.9 MB / 2.31 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/4.568, allocations: 0 / 2.31 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/4.568, allocations: 81.19 kB / 2.31 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005679/4.568, allocations: 244.4 kB / 2.31 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/4.569, allocations: 7.312 kB / 2.31 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008609/4.569, allocations: 0.9009 MB / 2.311 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/4.569, allocations: 0 / 2.311 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/4.572, allocations: 1.118 MB / 2.312 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004813/4.573, allocations: 266.7 kB / 2.312 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/4.573, allocations: 3.875 kB / 2.312 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008682/4.574, allocations: 121.6 kB / 2.312 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/4.574, allocations: 35.61 kB / 2.312 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/4.574, allocations: 22.61 kB / 2.312 GB, free: 256.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007405/4.575, allocations: 0.5758 MB / 2.313 GB, free: 256 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.132e-06/4.575, allocations: 3.406 kB / 2.313 GB, free: 256 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001763/4.576, allocations: 0.6138 MB / 2.313 GB, free: 255.9 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 (32): * Single equations (assignments): 27 * 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.003989/4.58, allocations: 2.788 MB / 2.316 GB, free: 254.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001474/4.582, allocations: 0.8089 MB / 2.317 GB, free: 254.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/4.582, allocations: 3.609 kB / 2.317 GB, free: 254.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00042/4.582, allocations: 267.7 kB / 2.317 GB, free: 254.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/4.584, allocations: 383.9 kB / 2.318 GB, free: 254.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/4.589, allocations: 1.78 MB / 2.319 GB, free: 253.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/4.589, allocations: 1.09 MB / 2.32 GB, free: 253.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001063/4.59, allocations: 236.7 kB / 2.321 GB, free: 253 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/4.591, allocations: 388.1 kB / 2.321 GB, free: 253 MB / 1.151 GB Notification: Performance of SimCode: time 8.51e-07/4.591, allocations: 0 / 2.321 GB, free: 253 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05564/4.647, allocations: 32.49 MB / 2.353 GB, free: 251.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/4.647, allocations: 187.2 kB / 2.353 GB, free: 251.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.101/7.748, allocations: 0 / 2.353 GB, free: 251.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat does not exist to compare? outputFormat=mat