Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 1.629/1.629, allocations: 287.4 MB / 302.6 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 181.3 kB / 371.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007737/0.0007738, allocations: 90.3 kB / 0.7431 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 11.25 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 115.3 MB / 0.9787 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04393/0.2171, allocations: 56.57 MB / 1.034 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01372/0.2308, allocations: 11.12 MB / 1.045 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.2329, allocations: 51.62 kB / 1.045 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.2346, allocations: 460.8 kB / 1.045 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004658/0.2393, allocations: 1.523 MB / 1.047 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.2421, allocations: 0.8718 MB / 1.048 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003903/0.246, allocations: 3.427 MB / 1.051 GB, free: 1.93 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.2472, allocations: 0.907 MB / 1.052 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.2489, allocations: 1.042 MB / 1.053 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009671/0.2499, allocations: 0.8244 MB / 1.054 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.25, allocations: 44 kB / 1.054 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.252, allocations: 1.091 MB / 1.055 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.2522, allocations: 199 kB / 1.055 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.2524, allocations: 281 kB / 1.055 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.2541, allocations: 1.645 MB / 1.057 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2541, allocations: 4 kB / 1.057 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2541, allocations: 7.875 kB / 1.057 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.2541, allocations: 0 / 1.057 GB, free: 11.84 MB / 0.6823 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.002257/0.2564, allocations: 1.501 MB / 1.058 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2564, allocations: 8.031 kB / 1.058 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.2566, allocations: 122.9 kB / 1.058 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.2587, allocations: 0.5258 MB / 1.059 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.2605, allocations: 1.128 MB / 1.06 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003304/0.2609, allocations: 129.9 kB / 1.06 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.261, allocations: 88 kB / 1.06 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.263, allocations: 1.025 MB / 1.061 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.263, allocations: 3.938 kB / 1.061 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.2631, allocations: 32 kB / 1.061 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.2631, allocations: 24 kB / 1.061 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/0.2655, allocations: 1.003 MB / 1.062 GB, free: 6.102 MB / 0.6823 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.005684/0.2712, allocations: 4.716 MB / 1.067 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3194/0.5907, allocations: 1.118 MB / 1.068 GB, free: 90.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.592, allocations: 437.9 kB / 1.068 GB, free: 90.89 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007262/0.5927, allocations: 1.032 MB / 1.069 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.5927, allocations: 42.97 kB / 1.07 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 2.876e-06/0.5927, allocations: 0 / 1.07 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.009246/0.602, allocations: 2.497 MB / 1.072 GB, free: 89.59 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.6021, allocations: 57.62 kB / 1.072 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.6035, allocations: 0.9286 MB / 1.073 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.255e-05/0.6036, allocations: 38.55 kB / 1.073 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/0.6039, allocations: 0.5051 MB / 1.073 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.6041, allocations: 189.6 kB / 1.074 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.6041, allocations: 13.81 kB / 1.074 GB, free: 88.69 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.375e-05/0.6042, allocations: 326.9 kB / 1.074 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.6052, allocations: 379.6 kB / 1.074 GB, free: 88.28 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.6063, allocations: 0.5415 MB / 1.075 GB, free: 88 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.6083, allocations: 0.8132 MB / 1.076 GB, free: 87.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.6083, allocations: 0.6875 kB / 1.076 GB, free: 87.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002958/0.6113, allocations: 1.129 MB / 1.077 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.952e-05/0.6114, allocations: 164.5 kB / 1.077 GB, free: 87.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6114, allocations: 3.031 kB / 1.077 GB, free: 87.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.6127, allocations: 322.7 kB / 1.077 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.6133, allocations: 145.8 kB / 1.077 GB, free: 87.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.6146, allocations: 0.9421 MB / 1.078 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.6158, allocations: 177.7 kB / 1.078 GB, free: 86.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/0.6158, allocations: 28.2 kB / 1.078 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.6159, allocations: 4.422 kB / 1.078 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002589/0.6184, allocations: 1.002 MB / 1.079 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.6185, allocations: 1.375 kB / 1.079 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.6195, allocations: 321.6 kB / 1.08 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.6202, allocations: 147.8 kB / 1.08 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.6215, allocations: 0.9298 MB / 1.081 GB, free: 85.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.6227, allocations: 174.9 kB / 1.081 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/0.6228, allocations: 27.92 kB / 1.081 GB, free: 85.19 MB / 0.6823 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.0004864/0.6233, allocations: 353.2 kB / 1.081 GB, free: 84.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.6235, allocations: 112 kB / 1.081 GB, free: 84.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/0.6278, allocations: 1.44 MB / 1.083 GB, free: 84.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.6279, allocations: 8.109 kB / 1.083 GB, free: 84.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6279, allocations: 0 / 1.083 GB, free: 84.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.6279, allocations: 3 kB / 1.083 GB, free: 84.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005722/0.6336, allocations: 2.525 MB / 1.085 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.6337, allocations: 6.469 kB / 1.085 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005285/0.6342, allocations: 113.1 kB / 1.085 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.6353, allocations: 332.7 kB / 1.086 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-05/0.6353, allocations: 18.05 kB / 1.086 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.6368, allocations: 0.9639 MB / 1.087 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.6368, allocations: 10.91 kB / 1.087 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004197/0.641, allocations: 1.449 MB / 1.088 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/0.6416, allocations: 290.3 kB / 1.088 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.6418, allocations: 16.55 kB / 1.088 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00093/0.6427, allocations: 128.1 kB / 1.089 GB, free: 81.74 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.984e-05/0.6428, allocations: 39.98 kB / 1.089 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/0.6429, allocations: 28.55 kB / 1.089 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001023/0.6439, allocations: 0.6553 MB / 1.089 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6439, allocations: 0 / 1.089 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001603/0.6456, allocations: 0.568 MB / 1.09 GB, free: 81.34 MB / 0.6823 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.004752/0.6503, allocations: 2.256 MB / 1.092 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003843/0.6542, allocations: 1.391 MB / 1.093 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.6542, allocations: 0 / 1.093 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.6554, allocations: 490.6 kB / 1.094 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/0.6582, allocations: 0.4955 MB / 1.094 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.6724, allocations: 6.739 MB / 1.101 GB, free: 76.19 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/0.6731, allocations: 1.068 MB / 1.102 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001277/0.6744, allocations: 240.9 kB / 1.102 GB, free: 75.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/0.6749, allocations: 415.9 kB / 1.103 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/0.6749, allocations: 0 / 1.103 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.353/2.028, allocations: 33.41 MB / 1.135 GB, free: 50.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/2.028, allocations: 251.8 kB / 1.135 GB, free: 50.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/4.869, allocations: 0 / 1.135 GB, free: 50.48 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)