Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000987/0.000987, allocations: 91.22 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 240 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003349, allocations: 8 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.7006, allocations: 142.3 MB / 0.9538 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05501/0.7557, allocations: 56.55 MB / 1.009 GB, free: 7.438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.7707, allocations: 11.21 MB / 1.02 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002162/0.7729, allocations: 51.62 kB / 1.02 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.7747, allocations: 460.9 kB / 1.021 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004983/0.7797, allocations: 1.535 MB / 1.022 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.7825, allocations: 0.8635 MB / 1.023 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005102/0.7876, allocations: 3.386 MB / 1.026 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.7892, allocations: 0.7882 MB / 1.027 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.7917, allocations: 1.054 MB / 1.028 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.7931, allocations: 0.7971 MB / 1.029 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.7933, allocations: 44 kB / 1.029 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.7958, allocations: 1.111 MB / 1.03 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.796, allocations: 203 kB / 1.03 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004241/0.7965, allocations: 285 kB / 1.03 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.7986, allocations: 1.633 MB / 1.032 GB, free: 15.95 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7986, allocations: 0 / 1.032 GB, free: 15.95 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7986, allocations: 0 / 1.032 GB, free: 15.95 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.7987, allocations: 8 kB / 1.032 GB, free: 15.94 MB / 0.795 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.002806/0.8015, allocations: 1.497 MB / 1.033 GB, free: 14.39 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.8015, allocations: 12.03 kB / 1.033 GB, free: 14.38 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.8017, allocations: 122.7 kB / 1.034 GB, free: 14.25 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.8033, allocations: 386 kB / 1.034 GB, free: 13.87 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.8054, allocations: 1.09 MB / 1.035 GB, free: 12.72 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002989/0.8057, allocations: 125.9 kB / 1.035 GB, free: 12.6 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.8058, allocations: 80 kB / 1.035 GB, free: 12.52 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.8076, allocations: 0.9622 MB / 1.036 GB, free: 11.51 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.8076, allocations: 0 / 1.036 GB, free: 11.51 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.8077, allocations: 32 kB / 1.036 GB, free: 11.48 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.8077, allocations: 23.95 kB / 1.036 GB, free: 11.46 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.8097, allocations: 0.847 MB / 1.037 GB, free: 10.61 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005906/0.8156, allocations: 4.796 MB / 1.042 GB, free: 5.461 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.817, allocations: 0.5898 MB / 1.042 GB, free: 4.863 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005494/0.8176, allocations: 282.3 kB / 1.042 GB, free: 4.586 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/0.8189, allocations: 1.396 MB / 1.044 GB, free: 2.895 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.8189, allocations: 38.5 kB / 1.044 GB, free: 2.848 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.003e-06/0.8189, allocations: 0 / 1.044 GB, free: 2.848 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.007449/0.8264, allocations: 2.043 MB / 1.046 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.8265, allocations: 59.41 kB / 1.046 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.8283, allocations: 1.044 MB / 1.047 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.402e-05/0.8284, allocations: 37.7 kB / 1.047 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005391/0.829, allocations: 0.5273 MB / 1.048 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.8291, allocations: 149.8 kB / 1.048 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.8292, allocations: 12 kB / 1.048 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.8293, allocations: 326 kB / 1.048 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007039/0.83, allocations: 284.9 kB / 1.048 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000886/0.8309, allocations: 0.4883 MB / 1.049 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/0.8317, allocations: 323.3 kB / 1.049 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.8317, allocations: 4 kB / 1.049 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003269/0.835, allocations: 1.133 MB / 1.05 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.8351, allocations: 220.5 kB / 1.05 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.8352, allocations: 4 kB / 1.05 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.8363, allocations: 336.5 kB / 1.051 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/0.8368, allocations: 111.9 kB / 1.051 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.8382, allocations: 0.9387 MB / 1.052 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.8394, allocations: 183.2 kB / 1.052 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.701e-05/0.8395, allocations: 24 kB / 1.052 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.8395, allocations: 4 kB / 1.052 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002758/0.8423, allocations: 1.007 MB / 1.053 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.8423, allocations: 4 kB / 1.053 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.8434, allocations: 335.4 kB / 1.053 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.8438, allocations: 115.8 kB / 1.053 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.8451, allocations: 0.9309 MB / 1.054 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.8463, allocations: 159.4 kB / 1.054 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.8463, allocations: 27.98 kB / 1.054 GB, free: 7.789 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006004/0.8469, allocations: 352.9 kB / 1.055 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.8471, allocations: 106.7 kB / 1.055 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/0.8505, allocations: 1.16 MB / 1.056 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.8505, allocations: 4 kB / 1.056 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.8505, allocations: 0 / 1.056 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.8505, allocations: 3.984 kB / 1.056 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/0.855, allocations: 2.146 MB / 1.058 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.8551, allocations: 4 kB / 1.058 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.8553, allocations: 63.86 kB / 1.058 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009903/0.8563, allocations: 338.5 kB / 1.058 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.8563, allocations: 12 kB / 1.058 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.8579, allocations: 0.9698 MB / 1.059 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8579, allocations: 4 kB / 1.059 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/0.861, allocations: 1.18 MB / 1.061 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000555/0.8616, allocations: 283.4 kB / 1.061 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.8617, allocations: 8 kB / 1.061 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007557/0.8624, allocations: 103.8 kB / 1.061 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.8625, allocations: 43.78 kB / 1.061 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/0.8626, allocations: 31.92 kB / 1.061 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001236/0.8638, allocations: 0.7272 MB / 1.062 GB, free: 72 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8639, allocations: 0 / 1.062 GB, free: 72 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001743/0.8656, allocations: 0.5653 MB / 1.062 GB, free: 15.5 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.004043/0.8697, allocations: 2.019 MB / 1.064 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002637/0.8723, allocations: 1.047 MB / 1.065 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.8723, allocations: 3.984 kB / 1.065 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007253/0.8731, allocations: 325.2 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.8755, allocations: 0.5012 MB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.8879, allocations: 6.448 MB / 1.072 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.8885, allocations: 1.061 MB / 1.073 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001019/0.8895, allocations: 219.2 kB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/0.89, allocations: 411.3 kB / 1.074 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of SimCode: time 8.41e-07/0.89, allocations: 0 / 1.074 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05654/0.9466, allocations: 33.47 MB / 1.107 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.9468, allocations: 267.6 kB / 1.107 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.547/3.494, allocations: 2.391 kB / 1.107 GB, free: 1.785 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat does not exist to compare? outputFormat=mat