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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009305/0.0009367, allocations: 99.7 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.0009792/0.0009793, 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.527/1.527, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.451/2.451, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003691, allocations: 8 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8038/0.8042, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04285/0.8471, allocations: 51.34 MB / 1.031 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01288/0.86, allocations: 10.33 MB / 1.041 GB, free: 8.438 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.8626, allocations: 51.69 kB / 1.041 GB, free: 8.387 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.8649, allocations: 0.618 MB / 1.042 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006147/0.871, allocations: 1.959 MB / 1.044 GB, free: 5.801 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003611/0.8747, allocations: 1.304 MB / 1.045 GB, free: 4.52 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003093/0.8778, allocations: 1.856 MB / 1.047 GB, free: 2.664 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.8789, allocations: 0.8342 MB / 1.048 GB, free: 1.805 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.8808, allocations: 0.977 MB / 1.049 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000994/0.8818, allocations: 0.6105 MB / 1.049 GB, free: 216 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.8819, allocations: 47.98 kB / 1.049 GB, free: 168 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.8845, allocations: 0.9868 MB / 1.05 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.8848, allocations: 203.1 kB / 1.05 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003103/0.8851, allocations: 285 kB / 1.051 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.8869, allocations: 1.586 MB / 1.052 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8869, allocations: 0 / 1.052 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8869, allocations: 3.938 kB / 1.052 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.8869, allocations: 0 / 1.052 GB, free: 13.1 MB / 0.8106 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.002597/0.8895, allocations: 1.497 MB / 1.054 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.8896, allocations: 12.03 kB / 1.054 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.8897, allocations: 126.7 kB / 1.054 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/0.8921, allocations: 0.5096 MB / 1.054 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.8937, allocations: 1.059 MB / 1.055 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.8941, allocations: 133.9 kB / 1.055 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.8942, allocations: 83.95 kB / 1.055 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.8961, allocations: 1.033 MB / 1.056 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.8961, allocations: 0 / 1.056 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/0.8962, allocations: 32 kB / 1.057 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.8962, allocations: 20 kB / 1.057 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.8987, allocations: 0.9993 MB / 1.058 GB, free: 7.445 MB / 0.8106 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.005673/0.9044, allocations: 4.744 MB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/0.9084, allocations: 1.127 MB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009056/0.9094, allocations: 1.033 MB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.9094, allocations: 39 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 2.024e-06/0.9094, allocations: 0 / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53): time 0.009152/0.9186, allocations: 2.483 MB / 1.067 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.9186, allocations: 55.84 kB / 1.067 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.9197, allocations: 0.9393 MB / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/0.9197, allocations: 41.64 kB / 1.068 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.9201, allocations: 0.5157 MB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.9202, allocations: 181.4 kB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.9203, allocations: 8 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.9204, allocations: 333.9 kB / 1.069 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009875/0.9214, allocations: 376.9 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.9225, allocations: 0.5356 MB / 1.07 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.9235, allocations: 405.9 kB / 1.07 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9235, allocations: 0 / 1.07 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002676/0.9262, allocations: 1.123 MB / 1.071 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002841/0.9265, allocations: 0.9691 MB / 1.072 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9265, allocations: 4 kB / 1.072 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.9277, allocations: 328.5 kB / 1.072 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.9283, allocations: 143.8 kB / 1.072 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.9297, allocations: 0.9363 MB / 1.073 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.9307, allocations: 179.3 kB / 1.074 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/0.9308, allocations: 27.98 kB / 1.074 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.186e-06/0.9308, allocations: 4 kB / 1.074 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00254/0.9334, allocations: 1.005 MB / 1.075 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.9334, allocations: 4 kB / 1.075 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.9344, allocations: 328.8 kB / 1.075 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.935, allocations: 139.8 kB / 1.075 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.9363, allocations: 0.9367 MB / 1.076 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.9374, allocations: 167.4 kB / 1.076 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.9375, allocations: 27.98 kB / 1.076 GB, free: 3.492 MB / 0.8262 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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.0004597/0.9379, allocations: 357 kB / 1.076 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.9381, allocations: 106.6 kB / 1.077 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00434/0.9424, allocations: 1.439 MB / 1.078 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.9424, allocations: 7.984 kB / 1.078 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.9425, allocations: 3.938 kB / 1.078 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.9425, allocations: 0 / 1.078 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005478/0.9479, allocations: 2.557 MB / 1.08 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.948, allocations: 0 / 1.08 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/0.9485, allocations: 116 kB / 1.081 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009718/0.9495, allocations: 312.6 kB / 1.081 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.9495, allocations: 19.98 kB / 1.081 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.9509, allocations: 0.9748 MB / 1.082 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9509, allocations: 0 / 1.082 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/0.9549, allocations: 1.522 MB / 1.083 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/0.9554, allocations: 303.4 kB / 1.084 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.9556, allocations: 12 kB / 1.084 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009048/0.9565, allocations: 131.8 kB / 1.084 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.9566, allocations: 36.34 kB / 1.084 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.9566, allocations: 23.98 kB / 1.084 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008365/0.9575, allocations: 0.6596 MB / 1.084 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.563e-06/0.9575, allocations: 0 / 1.084 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001348/0.9588, allocations: 0.5807 MB / 1.085 GB, free: 10.13 MB / 0.8419 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004967/0.9638, allocations: 2.765 MB / 1.088 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003539/0.9674, allocations: 1.393 MB / 1.089 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.9674, allocations: 0 / 1.089 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.9685, allocations: 488.9 kB / 1.09 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.9707, allocations: 491.8 kB / 1.09 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.9754, allocations: 4.485 MB / 1.094 GB, free: 360 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.976, allocations: 1.09 MB / 1.095 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0008707/0.9769, allocations: 235.3 kB / 1.096 GB, free: 15 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/0.9774, allocations: 415.3 kB / 1.096 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.9774, allocations: 0 / 1.096 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.687/2.665, allocations: 32.9 MB / 1.128 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003771/2.665, allocations: 269.4 kB / 1.128 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/5.333, allocations: 1.125 kB / 1.128 GB, free: 13.83 MB / 0.8887 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) Environment - environmentSimulation: 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