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 2.698/2.698, allocations: 287.5 MB / 302.4 MB, free: 8.348 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.001395/0.001395, allocations: 170 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009522/0.0009518, allocations: 89.23 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004924, allocations: 12.47 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2184, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.08512/0.3036, allocations: 56.54 MB / 1.034 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02497/0.3286, allocations: 11.13 MB / 1.045 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.3316, allocations: 51.69 kB / 1.045 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003181/0.3349, allocations: 468.8 kB / 1.045 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009011/0.3439, allocations: 1.517 MB / 1.047 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006095/0.3501, allocations: 0.8706 MB / 1.047 GB, free: 5.52 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.009444/0.3595, allocations: 3.4 MB / 1.051 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003023/0.3626, allocations: 0.8027 MB / 1.051 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004701/0.3674, allocations: 1.042 MB / 1.052 GB, free: 244 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003318/0.3707, allocations: 0.8088 MB / 1.053 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005254/0.3713, allocations: 44 kB / 1.053 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006036/0.3774, allocations: 1.099 MB / 1.054 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007544/0.3782, allocations: 203 kB / 1.055 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.3793, allocations: 289 kB / 1.055 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005649/0.385, allocations: 1.641 MB / 1.056 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.477e-05/0.3851, allocations: 0 / 1.056 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.492e-06/0.3851, allocations: 3.938 kB / 1.056 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.68e-05/0.3852, allocations: 7.938 kB / 1.056 GB, free: 12.14 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.007253/0.3924, allocations: 1.509 MB / 1.058 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.036e-05/0.3925, allocations: 8.031 kB / 1.058 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005395/0.3931, allocations: 118.8 kB / 1.058 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006791/0.3999, allocations: 0.5211 MB / 1.059 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005567/0.4055, allocations: 1.094 MB / 1.06 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001043/0.4066, allocations: 133.9 kB / 1.06 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004583/0.4071, allocations: 83.94 kB / 1.06 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005746/0.4129, allocations: 1.025 MB / 1.061 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/0.413, allocations: 3.938 kB / 1.061 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/0.4132, allocations: 32 kB / 1.061 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.4133, allocations: 23.94 kB / 1.061 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007599/0.4209, allocations: 1.003 MB / 1.062 GB, free: 6.434 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.01655/0.4375, allocations: 4.716 MB / 1.067 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/0.4489, allocations: 1.121 MB / 1.068 GB, free: 244 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6915/1.14, allocations: 438.2 kB / 1.068 GB, free: 91.13 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/1.142, allocations: 1.027 MB / 1.069 GB, free: 90 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.142, allocations: 40.06 kB / 1.069 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 4.489e-06/1.142, allocations: 0.9375 kB / 1.069 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.02087/1.163, allocations: 2.494 MB / 1.071 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/1.163, allocations: 58.22 kB / 1.072 GB, free: 89.76 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/1.165, allocations: 0.9349 MB / 1.072 GB, free: 89.42 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001898/1.165, allocations: 38.45 kB / 1.073 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005518/1.166, allocations: 0.5044 MB / 1.073 GB, free: 89.05 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000281/1.166, allocations: 185.5 kB / 1.073 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/1.166, allocations: 10.84 kB / 1.073 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.166, allocations: 329.6 kB / 1.073 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/1.169, allocations: 377.1 kB / 1.074 GB, free: 88.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/1.171, allocations: 0.5441 MB / 1.074 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/1.173, allocations: 398 kB / 1.075 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.173, allocations: 1 kB / 1.075 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005773/1.179, allocations: 1.124 MB / 1.076 GB, free: 87.76 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.179, allocations: 170.9 kB / 1.076 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.179, allocations: 1.781 kB / 1.076 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/1.181, allocations: 328.8 kB / 1.076 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/1.183, allocations: 146.2 kB / 1.076 GB, free: 87.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/1.185, allocations: 0.9372 MB / 1.077 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/1.188, allocations: 174.8 kB / 1.078 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/1.188, allocations: 34.55 kB / 1.078 GB, free: 86.76 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.188, allocations: 2.25 kB / 1.078 GB, free: 86.76 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005559/1.194, allocations: 0.9972 MB / 1.079 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/1.194, allocations: 6.781 kB / 1.079 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002062/1.196, allocations: 323.9 kB / 1.079 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/1.197, allocations: 146.5 kB / 1.079 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/1.2, allocations: 0.9285 MB / 1.08 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/1.202, allocations: 170.4 kB / 1.08 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/1.202, allocations: 28.67 kB / 1.08 GB, free: 85.66 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.0008869/1.203, allocations: 355.8 kB / 1.08 GB, free: 85.37 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/1.204, allocations: 110.3 kB / 1.081 GB, free: 85.31 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008883/1.212, allocations: 1.438 MB / 1.082 GB, free: 84.87 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-05/1.213, allocations: 11.19 kB / 1.082 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.213, allocations: 0 / 1.082 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/1.213, allocations: 3.938 kB / 1.082 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/1.224, allocations: 2.526 MB / 1.084 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/1.224, allocations: 2.844 kB / 1.084 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/1.225, allocations: 120.3 kB / 1.085 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00199/1.227, allocations: 324.6 kB / 1.085 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/1.228, allocations: 22.98 kB / 1.085 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/1.23, allocations: 0.9609 MB / 1.086 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.23, allocations: 6.125 kB / 1.086 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008421/1.239, allocations: 1.449 MB / 1.087 GB, free: 82.45 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009891/1.24, allocations: 298 kB / 1.088 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002862/1.24, allocations: 8.719 kB / 1.088 GB, free: 82.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/1.242, allocations: 133.7 kB / 1.088 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.242, allocations: 39.03 kB / 1.088 GB, free: 82.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.242, allocations: 33.34 kB / 1.088 GB, free: 82.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00168/1.244, allocations: 0.6461 MB / 1.088 GB, free: 81.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.693e-06/1.244, allocations: 1.062 kB / 1.088 GB, free: 81.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002717/1.247, allocations: 0.5655 MB / 1.089 GB, free: 81.8 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.009655/1.256, allocations: 2.262 MB / 1.091 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007356/1.264, allocations: 1.39 MB / 1.093 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/1.264, allocations: 1.094 kB / 1.093 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00246/1.266, allocations: 492 kB / 1.093 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004773/1.271, allocations: 0.504 MB / 1.093 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02612/1.297, allocations: 6.74 MB / 1.1 GB, free: 76.63 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008178/1.298, allocations: 1.069 MB / 1.101 GB, free: 75.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002042/1.3, allocations: 231.4 kB / 1.101 GB, free: 75.85 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009956/1.301, allocations: 423.6 kB / 1.102 GB, free: 75.54 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/1.301, allocations: 0 / 1.102 GB, free: 75.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09478/1.396, allocations: 33.39 MB / 1.134 GB, free: 51.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/1.397, allocations: 274.9 kB / 1.135 GB, free: 51.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.032/5.428, allocations: 3.938 kB / 1.135 GB, free: 51.23 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)