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.0009065/0.0009065, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0009021/0.0009022, allocations: 177.3 kB / 15.95 MB, free: 216 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.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.375 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.367/2.367, allocations: 390.3 MB / 0.6653 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 8 kB / 0.8146 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8266, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05362/0.8803, allocations: 51.35 MB / 1.004 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01615/0.8965, allocations: 10.31 MB / 1.014 GB, free: 2.398 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.8988, allocations: 51.62 kB / 1.014 GB, free: 2.348 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.9013, allocations: 0.6374 MB / 1.014 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007078/0.9084, allocations: 1.936 MB / 1.016 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004397/0.9128, allocations: 1.314 MB / 1.018 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004651/0.9174, allocations: 1.855 MB / 1.019 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.919, allocations: 0.8157 MB / 1.02 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/0.9216, allocations: 0.9847 MB / 1.021 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.9227, allocations: 0.5988 MB / 1.022 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.9228, allocations: 40 kB / 1.022 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.9256, allocations: 1.002 MB / 1.023 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.9258, allocations: 195.1 kB / 1.023 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.9263, allocations: 285 kB / 1.023 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.9286, allocations: 1.59 MB / 1.025 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.9286, allocations: 0 / 1.025 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.366e-06/0.9286, allocations: 0 / 1.025 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.9287, allocations: 0 / 1.025 GB, free: 7.074 MB / 0.7794 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.002907/0.9316, allocations: 1.489 MB / 1.026 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.9316, allocations: 8.031 kB / 1.026 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.9318, allocations: 126.7 kB / 1.026 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.9335, allocations: 382 kB / 1.027 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.9355, allocations: 1.043 MB / 1.028 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/0.9359, allocations: 129.9 kB / 1.028 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.936, allocations: 80 kB / 1.028 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.938, allocations: 0.9621 MB / 1.029 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.938, allocations: 0 / 1.029 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.131e-05/0.9381, allocations: 36 kB / 1.029 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.9381, allocations: 23.95 kB / 1.029 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.9402, allocations: 0.8469 MB / 1.03 GB, free: 1.797 MB / 0.7794 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.007007/0.9472, allocations: 4.808 MB / 1.035 GB, free: 12.63 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.9488, allocations: 0.6054 MB / 1.035 GB, free: 12.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/0.9503, allocations: 1.392 MB / 1.036 GB, free: 10.33 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.9504, allocations: 38.56 kB / 1.036 GB, free: 10.29 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.535e-06/0.9504, allocations: 3.938 kB / 1.037 GB, free: 10.28 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.00828/0.9586, allocations: 2.041 MB / 1.038 GB, free: 8.211 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.9587, allocations: 55.41 kB / 1.039 GB, free: 8.145 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.9605, allocations: 1.067 MB / 1.04 GB, free: 7.062 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.643e-05/0.9606, allocations: 37.7 kB / 1.04 GB, free: 7.02 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004516/0.9611, allocations: 0.5273 MB / 1.04 GB, free: 6.488 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.9612, allocations: 142 kB / 1.04 GB, free: 6.348 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.9613, allocations: 8 kB / 1.04 GB, free: 6.34 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.9614, allocations: 330 kB / 1.041 GB, free: 6.012 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007561/0.9622, allocations: 280.9 kB / 1.041 GB, free: 5.738 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009056/0.9631, allocations: 498.1 kB / 1.041 GB, free: 5.172 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008041/0.9639, allocations: 327.4 kB / 1.042 GB, free: 4.852 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.9639, allocations: 0 / 1.042 GB, free: 4.852 MB / 0.795 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003529/0.9674, allocations: 1.148 MB / 1.043 GB, free: 3.691 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007383/0.9682, allocations: 1.579 MB / 1.044 GB, free: 1.996 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.9682, allocations: 7.953 kB / 1.044 GB, free: 1.988 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.9696, allocations: 332.6 kB / 1.045 GB, free: 1.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.9701, allocations: 123.8 kB / 1.045 GB, free: 1.539 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.9717, allocations: 0.9416 MB / 1.046 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.9732, allocations: 179.2 kB / 1.046 GB, free: 408 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.9733, allocations: 27.98 kB / 1.046 GB, free: 380 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.9734, allocations: 4 kB / 1.046 GB, free: 376 kB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003327/0.9767, allocations: 1.007 MB / 1.047 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.9767, allocations: 4 kB / 1.047 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.978, allocations: 324.8 kB / 1.047 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.9785, allocations: 115.8 kB / 1.047 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.9801, allocations: 0.9348 MB / 1.048 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.9815, allocations: 163.3 kB / 1.048 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.346e-05/0.9816, allocations: 24 kB / 1.048 GB, free: 13.77 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.0007458/0.9823, allocations: 353 kB / 1.049 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/0.9827, allocations: 110.6 kB / 1.049 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003917/0.9866, allocations: 1.158 MB / 1.05 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.9867, allocations: 8 kB / 1.05 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.9867, allocations: 0 / 1.05 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.9867, allocations: 7.984 kB / 1.05 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005521/0.9923, allocations: 2.153 MB / 1.052 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.9923, allocations: 4 kB / 1.052 GB, free: 9.887 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.9925, allocations: 55.91 kB / 1.052 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.9936, allocations: 334 kB / 1.052 GB, free: 9.504 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.9937, allocations: 19.98 kB / 1.052 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.9953, allocations: 0.9678 MB / 1.053 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.9953, allocations: 0 / 1.053 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003591/0.9989, allocations: 1.302 MB / 1.055 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007523/0.9996, allocations: 283.4 kB / 1.055 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/1, allocations: 15.92 kB / 1.055 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/1.001, allocations: 107.8 kB / 1.055 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/1.001, allocations: 39.89 kB / 1.055 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-05/1.001, allocations: 23.92 kB / 1.055 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001548/1.003, allocations: 0.7467 MB / 1.056 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/1.003, allocations: 0 / 1.056 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002128/1.005, allocations: 0.577 MB / 1.056 GB, free: 5.285 MB / 0.8106 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.004969/1.01, allocations: 2.744 MB / 1.059 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002975/1.013, allocations: 1.047 MB / 1.06 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/1.013, allocations: 4 kB / 1.06 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000815/1.014, allocations: 337.1 kB / 1.06 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/1.016, allocations: 0.4938 MB / 1.061 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007505/1.024, allocations: 5.508 MB / 1.066 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009732/1.025, allocations: 1.081 MB / 1.067 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001246/1.026, allocations: 218.1 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006498/1.027, allocations: 407.3 kB / 1.068 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of SimCode: time 9.82e-07/1.027, allocations: 4 kB / 1.068 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07189/1.099, allocations: 33.18 MB / 1.1 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/1.099, allocations: 261.6 kB / 1.101 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.534, allocations: 0 / 1.101 GB, free: 8.156 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