Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 288.2 MB / 303.2 MB, free: 8.109 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.001129/0.001129, allocations: 181.1 kB / 371.8 MB, free: 10.28 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.558/1.558, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.00105/0.00105, allocations: 93.53 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004654, allocations: 11.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2372, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04496/0.2822, allocations: 51.35 MB / 1.03 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01551/0.2978, allocations: 10.23 MB / 1.04 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.3004, allocations: 51.62 kB / 1.04 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.3029, allocations: 0.6258 MB / 1.04 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006351/0.3093, allocations: 1.898 MB / 1.042 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004456/0.3137, allocations: 1.329 MB / 1.043 GB, free: 9.996 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005048/0.3188, allocations: 1.855 MB / 1.045 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.321, allocations: 0.8225 MB / 1.046 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.3237, allocations: 0.9809 MB / 1.047 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.3252, allocations: 0.6183 MB / 1.048 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003189/0.3256, allocations: 44 kB / 1.048 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.3284, allocations: 0.9946 MB / 1.049 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004399/0.3289, allocations: 195.1 kB / 1.049 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007135/0.3296, allocations: 293 kB / 1.049 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.3325, allocations: 1.586 MB / 1.051 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3325, allocations: 4 kB / 1.051 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3325, allocations: 0 / 1.051 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.482e-05/0.3326, allocations: 4 kB / 1.051 GB, free: 2.566 MB / 0.6667 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.003838/0.3364, allocations: 1.489 MB / 1.052 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3365, allocations: 12.03 kB / 1.052 GB, free: 1.008 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000311/0.3368, allocations: 122.8 kB / 1.052 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002741/0.3395, allocations: 0.5134 MB / 1.053 GB, free: 372 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/0.3423, allocations: 1.063 MB / 1.054 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003998/0.3427, allocations: 133.9 kB / 1.054 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/0.343, allocations: 84 kB / 1.054 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.3453, allocations: 1.021 MB / 1.055 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.3453, allocations: 0 / 1.055 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.03e-05/0.3454, allocations: 32 kB / 1.055 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.3454, allocations: 24 kB / 1.055 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.3481, allocations: 1.003 MB / 1.056 GB, free: 12.92 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.007043/0.3551, allocations: 4.739 MB / 1.061 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004256/0.3594, allocations: 1.129 MB / 1.062 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.3605, allocations: 1.029 MB / 1.063 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.3605, allocations: 35 kB / 1.063 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 2.495e-06/0.3605, allocations: 0 / 1.063 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.01003/0.3705, allocations: 2.486 MB / 1.065 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.3706, allocations: 63.84 kB / 1.065 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.3721, allocations: 0.9432 MB / 1.066 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.3722, allocations: 45.62 kB / 1.066 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.3727, allocations: 0.5001 MB / 1.067 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.3729, allocations: 189.3 kB / 1.067 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.3729, allocations: 8 kB / 1.067 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3731, allocations: 334 kB / 1.067 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.3742, allocations: 372.9 kB / 1.068 GB, free: 408 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4509/0.8251, allocations: 0.5381 MB / 1.068 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.8265, allocations: 399 kB / 1.068 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.892e-06/0.8265, allocations: 0.625 kB / 1.068 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003387/0.8299, allocations: 1.125 MB / 1.07 GB, free: 90.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.8302, allocations: 0.9747 MB / 1.071 GB, free: 89.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.8302, allocations: 2.75 kB / 1.071 GB, free: 89.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.8315, allocations: 329.4 kB / 1.071 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.8321, allocations: 148 kB / 1.071 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.8335, allocations: 0.9347 MB / 1.072 GB, free: 88.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.8347, allocations: 178.4 kB / 1.072 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/0.8348, allocations: 32.36 kB / 1.072 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.8349, allocations: 8.25 kB / 1.072 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002726/0.8376, allocations: 0.9943 MB / 1.073 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.8376, allocations: 5.656 kB / 1.073 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.8388, allocations: 319.7 kB / 1.073 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.8394, allocations: 144.4 kB / 1.074 GB, free: 88.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.8408, allocations: 0.9279 MB / 1.074 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.8421, allocations: 179 kB / 1.075 GB, free: 87.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.8422, allocations: 28.19 kB / 1.075 GB, free: 87.69 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.0005604/0.8428, allocations: 351.4 kB / 1.075 GB, free: 87.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.843, allocations: 109.7 kB / 1.075 GB, free: 87.37 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005173/0.8481, allocations: 1.439 MB / 1.076 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/0.8482, allocations: 7.203 kB / 1.076 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.8482, allocations: 1.188 kB / 1.076 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.8483, allocations: 3.234 kB / 1.076 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007808/0.8561, allocations: 2.546 MB / 1.079 GB, free: 85.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.8561, allocations: 4.656 kB / 1.079 GB, free: 85.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/0.8567, allocations: 117.4 kB / 1.079 GB, free: 85.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001213/0.8579, allocations: 322 kB / 1.079 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.858, allocations: 18.83 kB / 1.079 GB, free: 85.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.8596, allocations: 0.9663 MB / 1.08 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.8596, allocations: 10.81 kB / 1.08 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004733/0.8643, allocations: 1.529 MB / 1.082 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006509/0.865, allocations: 290.8 kB / 1.082 GB, free: 84.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.8652, allocations: 13.27 kB / 1.082 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000961/0.8661, allocations: 129.5 kB / 1.082 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.8662, allocations: 42.77 kB / 1.082 GB, free: 84.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/0.8663, allocations: 27.97 kB / 1.082 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001088/0.8674, allocations: 0.6673 MB / 1.083 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8674, allocations: 0 / 1.083 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001925/0.8694, allocations: 0.5703 MB / 1.084 GB, free: 83.79 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.005663/0.875, allocations: 2.751 MB / 1.086 GB, free: 82.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004086/0.8791, allocations: 1.386 MB / 1.088 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.8792, allocations: 1.031 kB / 1.088 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.8805, allocations: 491.8 kB / 1.088 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/0.8834, allocations: 0.4968 MB / 1.089 GB, free: 81.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006241/0.8896, allocations: 4.494 MB / 1.093 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008054/0.8904, allocations: 1.095 MB / 1.094 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001356/0.8918, allocations: 234.5 kB / 1.094 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000597/0.8924, allocations: 417.2 kB / 1.095 GB, free: 77.13 MB / 0.6823 GB Notification: Performance of SimCode: time 4.51e-07/0.8924, allocations: 0 / 1.095 GB, free: 77.13 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0603/0.9527, allocations: 33.13 MB / 1.127 GB, free: 58.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/0.9529, allocations: 273.5 kB / 1.127 GB, free: 58.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/3.882, allocations: 4 kB / 1.127 GB, free: 58.14 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)