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.186/2.186, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.0009826/0.0009826, allocations: 184.8 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.635/1.635, 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.0009785/0.0009784, allocations: 95.88 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.937e-05/4.972e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2726, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/1.489, allocations: 435.6 MB / 1.644 GB, free: 14.81 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/1.489, allocations: 87.95 kB / 1.644 GB, free: 14.73 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.764/4.253, allocations: 0.6514 GB / 2.296 GB, free: 240.7 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.964e-06/4.253, allocations: 0 / 2.296 GB, free: 240.7 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001386/4.253, allocations: 31.22 kB / 2.296 GB, free: 240.7 MB / 1.135 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.00373/4.257, allocations: 1.509 MB / 2.297 GB, free: 239.6 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/4.257, allocations: 19.58 kB / 2.297 GB, free: 239.6 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/4.257, allocations: 118.2 kB / 2.297 GB, free: 239.5 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/4.259, allocations: 443.5 kB / 2.298 GB, free: 239.3 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/4.262, allocations: 1.308 MB / 2.299 GB, free: 238.4 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003422/4.262, allocations: 133.6 kB / 2.299 GB, free: 238.3 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/4.262, allocations: 83.11 kB / 2.299 GB, free: 238.3 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/4.264, allocations: 0.8762 MB / 2.3 GB, free: 237.7 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/4.264, allocations: 7.531 kB / 2.3 GB, free: 237.7 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.672e-05/4.264, allocations: 38.39 kB / 2.3 GB, free: 237.7 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/4.264, allocations: 25.91 kB / 2.3 GB, free: 237.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/4.265, allocations: 0.6533 MB / 2.301 GB, free: 237.4 MB / 1.135 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.006097/4.271, allocations: 4.729 MB / 2.305 GB, free: 233.3 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/4.274, allocations: 0.6872 MB / 2.306 GB, free: 233 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/4.274, allocations: 207.3 kB / 2.306 GB, free: 232.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006593/4.275, allocations: 0.9064 MB / 2.307 GB, free: 231.8 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/4.275, allocations: 45.81 kB / 2.307 GB, free: 231.8 MB / 1.135 GB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/4.275, allocations: 0 / 2.307 GB, free: 231.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=43): time 0.002714/4.277, allocations: 0.7866 MB / 2.308 GB, free: 231.4 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/4.277, allocations: 59.22 kB / 2.308 GB, free: 231.3 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/4.279, allocations: 0.9156 MB / 2.309 GB, free: 230.9 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/4.279, allocations: 33.3 kB / 2.309 GB, free: 230.8 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/4.279, allocations: 0.5448 MB / 2.309 GB, free: 230.4 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/4.279, allocations: 151.8 kB / 2.31 GB, free: 230.2 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/4.279, allocations: 11 kB / 2.31 GB, free: 230.2 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.306e-05/4.279, allocations: 323.2 kB / 2.31 GB, free: 229.9 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/4.28, allocations: 183.6 kB / 2.31 GB, free: 229.8 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/4.28, allocations: 432 kB / 2.311 GB, free: 229.4 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/4.281, allocations: 228.9 kB / 2.311 GB, free: 229.3 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/4.281, allocations: 3.531 kB / 2.311 GB, free: 229.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002662/4.283, allocations: 0.9395 MB / 2.312 GB, free: 228.9 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003541/4.284, allocations: 1.671 MB / 2.313 GB, free: 227.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/4.284, allocations: 7.5 kB / 2.313 GB, free: 227.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008172/4.284, allocations: 252.1 kB / 2.314 GB, free: 227 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/4.285, allocations: 131.9 kB / 2.314 GB, free: 227 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000737/4.286, allocations: 0.8262 MB / 2.314 GB, free: 226.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/4.287, allocations: 207.6 kB / 2.315 GB, free: 226.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/4.287, allocations: 33.83 kB / 2.315 GB, free: 226.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/4.287, allocations: 3.188 kB / 2.315 GB, free: 226.2 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002385/4.29, allocations: 0.8025 MB / 2.315 GB, free: 225.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/4.29, allocations: 7.812 kB / 2.316 GB, free: 225.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006783/4.29, allocations: 248.3 kB / 2.316 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/4.291, allocations: 131.2 kB / 2.316 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006557/4.292, allocations: 0.822 MB / 2.317 GB, free: 225 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/4.293, allocations: 180.5 kB / 2.317 GB, free: 224.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/4.293, allocations: 28.98 kB / 2.317 GB, free: 224.9 MB / 1.135 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.0001845/4.293, allocations: 136.5 kB / 2.317 GB, free: 224.8 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/4.293, allocations: 113.1 kB / 2.317 GB, free: 224.7 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/4.296, allocations: 0.9506 MB / 2.318 GB, free: 224.3 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/4.296, allocations: 6.656 kB / 2.318 GB, free: 224.3 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/4.296, allocations: 0 / 2.318 GB, free: 224.3 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/4.296, allocations: 3.984 kB / 2.318 GB, free: 224.3 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004015/4.3, allocations: 2.028 MB / 2.32 GB, free: 222.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/4.3, allocations: 0 / 2.32 GB, free: 222.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/4.3, allocations: 78.98 kB / 2.32 GB, free: 222.9 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006867/4.301, allocations: 265.2 kB / 2.32 GB, free: 222.8 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/4.301, allocations: 10.66 kB / 2.32 GB, free: 222.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007184/4.302, allocations: 0.8563 MB / 2.321 GB, free: 222.1 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/4.302, allocations: 7.859 kB / 2.321 GB, free: 222 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/4.304, allocations: 1.123 MB / 2.322 GB, free: 221.3 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/4.305, allocations: 282.2 kB / 2.323 GB, free: 221.1 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/4.305, allocations: 14.39 kB / 2.323 GB, free: 221.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009036/4.306, allocations: 121 kB / 2.323 GB, free: 221 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/4.306, allocations: 40.14 kB / 2.323 GB, free: 221 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/4.306, allocations: 23.94 kB / 2.323 GB, free: 221 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0009365/4.307, allocations: 0.7156 MB / 2.323 GB, free: 220.2 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.8e-07/4.307, allocations: 0 / 2.323 GB, free: 220.2 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001884/4.309, allocations: 0.6264 MB / 2.324 GB, free: 219.6 MB / 1.135 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.004017/4.313, allocations: 2.795 MB / 2.327 GB, free: 216.9 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002079/4.315, allocations: 0.8727 MB / 2.328 GB, free: 216.1 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/4.315, allocations: 0 / 2.328 GB, free: 216.1 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0004933/4.316, allocations: 281.8 kB / 2.328 GB, free: 215.8 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/4.318, allocations: 0.4961 MB / 2.328 GB, free: 215.3 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/4.323, allocations: 1.85 MB / 2.33 GB, free: 213.4 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/4.324, allocations: 1.09 MB / 2.331 GB, free: 212.3 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001291/4.325, allocations: 272.2 kB / 2.332 GB, free: 212.1 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/4.326, allocations: 399.3 kB / 2.332 GB, free: 211.7 MB / 1.135 GB Notification: Performance of SimCode: time 1.382e-06/4.326, allocations: 2.469 kB / 2.332 GB, free: 211.7 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06221/4.388, allocations: 40.6 MB / 2.372 GB, free: 172.5 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/4.388, allocations: 239.1 kB / 2.372 GB, free: 172.2 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.446/7.834, allocations: 1.828 kB / 2.372 GB, free: 172.2 MB / 1.135 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