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.472/2.472, allocations: 390.5 MB / 398 MB, free: 10.91 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.001032/0.001031, allocations: 176.9 kB / 491.2 MB, free: 1.535 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.548/1.548, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.001277/0.001277, allocations: 87.59 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.306e-05/2.306e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3366, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.349/1.685, allocations: 434.8 MB / 1.637 GB, free: 12.09 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/1.686, allocations: 87.89 kB / 1.637 GB, free: 12.04 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.755/4.441, allocations: 0.6468 GB / 2.284 GB, free: 261.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.733e-06/4.441, allocations: 3.375 kB / 2.284 GB, free: 261.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002334/4.441, allocations: 34.88 kB / 2.284 GB, free: 261.1 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.004816/4.446, allocations: 1.496 MB / 2.285 GB, free: 260.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/4.446, allocations: 11.72 kB / 2.285 GB, free: 260.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/4.449, allocations: 490.2 kB / 2.286 GB, free: 260.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00414/4.453, allocations: 1.314 MB / 2.287 GB, free: 260.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003825/4.454, allocations: 95.73 kB / 2.287 GB, free: 260.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/4.454, allocations: 50 kB / 2.287 GB, free: 260.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001595/4.455, allocations: 0.6611 MB / 2.288 GB, free: 260.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/4.457, allocations: 0.7644 MB / 2.289 GB, free: 259.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/4.457, allocations: 10.92 kB / 2.289 GB, free: 259.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/4.457, allocations: 0 / 2.289 GB, free: 259.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.306e-05/4.457, allocations: 31.12 kB / 2.289 GB, free: 259.9 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.007384/4.465, allocations: 4.522 MB / 2.293 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/4.466, allocations: 0.5625 MB / 2.294 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/4.466, allocations: 281 kB / 2.294 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007398/4.467, allocations: 0.849 MB / 2.295 GB, free: 256.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/4.467, allocations: 44.66 kB / 2.295 GB, free: 256.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=53): time 3.677e-06/4.467, allocations: 6.656 kB / 2.295 GB, free: 256.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=53): time 0.001908/4.469, allocations: 0.7107 MB / 2.295 GB, free: 256.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/4.469, allocations: 59.75 kB / 2.296 GB, free: 256.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/4.47, allocations: 0.6866 MB / 2.296 GB, free: 256.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.028e-05/4.47, allocations: 29.23 kB / 2.296 GB, free: 256.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/4.471, allocations: 0.51 MB / 2.297 GB, free: 256.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/4.471, allocations: 182.2 kB / 2.297 GB, free: 256 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/4.471, allocations: 0 / 2.297 GB, free: 256 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/4.471, allocations: 324.3 kB / 2.297 GB, free: 255.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/4.471, allocations: 205.9 kB / 2.297 GB, free: 255.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/4.472, allocations: 408.7 kB / 2.298 GB, free: 255.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/4.472, allocations: 274.4 kB / 2.298 GB, free: 255.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/4.472, allocations: 0 / 2.298 GB, free: 255.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003186/4.476, allocations: 0.9656 MB / 2.299 GB, free: 255.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002882/4.476, allocations: 0.9722 MB / 2.3 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/4.476, allocations: 3.781 kB / 2.3 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008102/4.477, allocations: 296.2 kB / 2.3 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/4.477, allocations: 122.6 kB / 2.3 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/4.479, allocations: 0.9431 MB / 2.301 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/4.48, allocations: 146.5 kB / 2.301 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/4.48, allocations: 37.22 kB / 2.301 GB, free: 253.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/4.48, allocations: 7.797 kB / 2.301 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002797/4.483, allocations: 0.838 MB / 2.302 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/4.483, allocations: 3.938 kB / 2.302 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007116/4.484, allocations: 297.3 kB / 2.303 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/4.484, allocations: 118.5 kB / 2.303 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/4.485, allocations: 0.9348 MB / 2.304 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/4.487, allocations: 142.8 kB / 2.304 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/4.487, allocations: 28.47 kB / 2.304 GB, free: 253.2 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.eva.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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 () * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002964/4.487, allocations: 127.5 kB / 2.304 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001538/4.488, allocations: 0.7072 MB / 2.305 GB, free: 253 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/4.489, allocations: 95.72 kB / 2.305 GB, free: 253 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003187/4.492, allocations: 1.055 MB / 2.306 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/4.492, allocations: 15.41 kB / 2.306 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/4.492, allocations: 0 / 2.306 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/4.492, allocations: 0 / 2.306 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/4.496, allocations: 1.876 MB / 2.308 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/4.496, allocations: 0 / 2.308 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/4.496, allocations: 103.2 kB / 2.308 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007349/4.497, allocations: 320.7 kB / 2.308 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/4.497, allocations: 13.48 kB / 2.308 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/4.498, allocations: 0.9642 MB / 2.309 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/4.498, allocations: 3.406 kB / 2.309 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/4.499, allocations: 0.9938 MB / 2.31 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005242/4.5, allocations: 278.9 kB / 2.31 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/4.5, allocations: 3.875 kB / 2.31 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009719/4.501, allocations: 117.9 kB / 2.31 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/4.501, allocations: 36.12 kB / 2.31 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.767e-05/4.501, allocations: 26.83 kB / 2.31 GB, free: 251.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007296/4.502, allocations: 0.5362 MB / 2.311 GB, free: 251.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/4.502, allocations: 3.719 kB / 2.311 GB, free: 251.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001879/4.504, allocations: 0.6052 MB / 2.311 GB, free: 251.3 MB / 1.151 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 () * 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.002871/4.507, allocations: 2.519 MB / 2.314 GB, free: 249.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00175/4.509, allocations: 0.9236 MB / 2.315 GB, free: 249.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/4.509, allocations: 0 / 2.315 GB, free: 249.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005515/4.509, allocations: 341.6 kB / 2.315 GB, free: 249.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/4.511, allocations: 424.5 kB / 2.316 GB, free: 249.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/4.515, allocations: 1.548 MB / 2.317 GB, free: 249.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/4.515, allocations: 1.088 MB / 2.318 GB, free: 248.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001152/4.516, allocations: 250.1 kB / 2.318 GB, free: 248.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/4.517, allocations: 388.6 kB / 2.319 GB, free: 248.6 MB / 1.151 GB Notification: Performance of SimCode: time 6.22e-07/4.517, allocations: 0 / 2.319 GB, free: 248.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08465/4.601, allocations: 33.91 MB / 2.352 GB, free: 247.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/4.602, allocations: 195 kB / 2.352 GB, free: 247.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.192/7.794, allocations: 2.5 kB / 2.352 GB, free: 247.4 MB / 1.151 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