Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y",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.345/2.345, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001352/0.001352, allocations: 180.9 kB / 496.1 MB, free: 12.87 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.612/1.612, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001144/0.001144, allocations: 99.89 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.55e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2813, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.515, allocations: 431.2 MB / 1.64 GB, free: 3.152 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/1.515, allocations: 87.94 kB / 1.64 GB, free: 3.066 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 2.726/4.241, allocations: 0.5665 GB / 2.207 GB, free: 239.9 MB / 1.135 GB Notification: Performance of FrontEnd: time 5.32e-06/4.241, allocations: 0 / 2.207 GB, free: 239.9 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0002724/4.242, allocations: 38.42 kB / 2.207 GB, free: 239.9 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005511/4.247, allocations: 1.742 MB / 2.208 GB, free: 239.2 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/4.247, allocations: 7.75 kB / 2.208 GB, free: 239.2 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005168/4.248, allocations: 147.8 kB / 2.208 GB, free: 239.2 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/4.249, allocations: 237.4 kB / 2.209 GB, free: 239.1 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004935/4.254, allocations: 1.712 MB / 2.21 GB, free: 238.8 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.736e-05/4.255, allocations: 76.16 kB / 2.21 GB, free: 238.8 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003361/4.255, allocations: 103.3 kB / 2.211 GB, free: 238.8 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/4.257, allocations: 1.01 MB / 2.212 GB, free: 238.6 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/4.257, allocations: 0 / 2.212 GB, free: 238.6 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/4.257, allocations: 41.22 kB / 2.212 GB, free: 238.6 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-05/4.257, allocations: 47.66 kB / 2.212 GB, free: 238.6 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/4.259, allocations: 0.7609 MB / 2.212 GB, free: 238.6 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.006936/4.266, allocations: 4.721 MB / 2.217 GB, free: 236.8 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009943/4.267, allocations: 0.53 MB / 2.218 GB, free: 236.7 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/4.267, allocations: 272.9 kB / 2.218 GB, free: 236.7 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005613/4.268, allocations: 0.8266 MB / 2.219 GB, free: 235.8 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/4.268, allocations: 42.03 kB / 2.219 GB, free: 235.7 MB / 1.135 GB Notification: Performance of pre-optimization done (n=59): time 2.274e-06/4.268, allocations: 0 / 2.219 GB, free: 235.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=59): time 0.004181/4.272, allocations: 1.029 MB / 2.22 GB, free: 235.6 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/4.272, allocations: 59.28 kB / 2.22 GB, free: 235.5 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/4.274, allocations: 1.096 MB / 2.221 GB, free: 235.4 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/4.275, allocations: 40.17 kB / 2.221 GB, free: 235.4 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006181/4.275, allocations: 0.6352 MB / 2.221 GB, free: 235.2 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/4.276, allocations: 207.7 kB / 2.222 GB, free: 235.1 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/4.276, allocations: 14.16 kB / 2.222 GB, free: 235.1 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/4.276, allocations: 331.5 kB / 2.222 GB, free: 234.8 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/4.276, allocations: 200.9 kB / 2.222 GB, free: 234.8 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006043/4.277, allocations: 441.9 kB / 2.223 GB, free: 234.5 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/4.277, allocations: 265.4 kB / 2.223 GB, free: 234.5 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/4.277, allocations: 2.688 kB / 2.223 GB, free: 234.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004488/4.282, allocations: 1.179 MB / 2.224 GB, free: 234.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005745/4.282, allocations: 1.424 MB / 2.225 GB, free: 232.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/4.282, allocations: 8.484 kB / 2.225 GB, free: 232.9 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004916/4.283, allocations: 108.3 kB / 2.225 GB, free: 232.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/4.283, allocations: 165.6 kB / 2.226 GB, free: 232.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005722/4.284, allocations: 0.6593 MB / 2.226 GB, free: 232.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/4.286, allocations: 168 kB / 2.226 GB, free: 232.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/4.286, allocations: 34.86 kB / 2.226 GB, free: 232.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/4.286, allocations: 5.844 kB / 2.226 GB, free: 232.4 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004028/4.29, allocations: 1.031 MB / 2.227 GB, free: 232.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/4.29, allocations: 3.719 kB / 2.227 GB, free: 232.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003399/4.29, allocations: 110 kB / 2.228 GB, free: 232.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/4.291, allocations: 162.7 kB / 2.228 GB, free: 232.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004812/4.291, allocations: 0.6623 MB / 2.228 GB, free: 231.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/4.293, allocations: 152.2 kB / 2.229 GB, free: 231.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/4.293, allocations: 35.16 kB / 2.229 GB, free: 231.8 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002637/4.293, allocations: 141.8 kB / 2.229 GB, free: 231.7 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004555/4.294, allocations: 138 kB / 2.229 GB, free: 231.6 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/4.298, allocations: 1.175 MB / 2.23 GB, free: 231.5 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/4.298, allocations: 10.72 kB / 2.23 GB, free: 231.5 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/4.299, allocations: 0 / 2.23 GB, free: 231.5 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003657/4.302, allocations: 1.063 MB / 2.231 GB, free: 231.3 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007325/4.31, allocations: 2.499 MB / 2.233 GB, free: 230.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/4.31, allocations: 3.875 kB / 2.233 GB, free: 230.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005438/4.31, allocations: 127.6 kB / 2.234 GB, free: 230.9 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003817/4.311, allocations: 105.4 kB / 2.234 GB, free: 230.9 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-05/4.311, allocations: 18.92 kB / 2.234 GB, free: 230.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003688/4.314, allocations: 2.231 MB / 2.236 GB, free: 229.5 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/4.314, allocations: 7.562 kB / 2.236 GB, free: 229.5 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005053/4.319, allocations: 1.764 MB / 2.238 GB, free: 228.8 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/4.321, allocations: 341 kB / 2.238 GB, free: 228.7 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005914/4.321, allocations: 15.5 kB / 2.238 GB, free: 228.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/4.323, allocations: 78.61 kB / 2.238 GB, free: 228.6 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/4.323, allocations: 64.88 kB / 2.238 GB, free: 228.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/4.323, allocations: 26.61 kB / 2.238 GB, free: 228.6 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001868/4.325, allocations: 0.8837 MB / 2.239 GB, free: 228.5 MB / 1.135 GB Notification: Performance of sort global known variables: time 2e-07/4.325, allocations: 0 / 2.239 GB, free: 228.5 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003852/4.329, allocations: 0.7916 MB / 2.24 GB, free: 228.4 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.007578/4.337, allocations: 3.78 MB / 2.243 GB, free: 226.4 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002241/4.339, allocations: 0.9337 MB / 2.244 GB, free: 226.4 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/4.339, allocations: 0 / 2.244 GB, free: 226.4 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/4.34, allocations: 0.515 MB / 2.245 GB, free: 226.3 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/4.345, allocations: 0.7589 MB / 2.246 GB, free: 226.3 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006674/4.352, allocations: 2.094 MB / 2.248 GB, free: 225.6 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009022/4.353, allocations: 1.205 MB / 2.249 GB, free: 224.9 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.002326/4.355, allocations: 390.8 kB / 2.249 GB, free: 224.9 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006597/4.356, allocations: 0.4924 MB / 2.25 GB, free: 224.9 MB / 1.135 GB Notification: Performance of SimCode: time 9.52e-07/4.356, allocations: 3.469 kB / 2.25 GB, free: 224.9 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09166/4.447, allocations: 49.84 MB / 2.298 GB, free: 222.4 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/4.448, allocations: 212.4 kB / 2.299 GB, free: 222.2 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.821/8.269, allocations: 0 / 2.299 GB, free: 222.2 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat does not exist to compare? outputFormat=mat