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.58/1.58, allocations: 288.4 MB / 303.6 MB, free: 8.09 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.001179/0.00118, allocations: 179.2 kB / 372.2 MB, free: 10.15 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.367/1.367, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.001266/0.001266, allocations: 82.36 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004254, allocations: 16.5 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2076, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05506/0.2627, allocations: 56.57 MB / 1.035 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01677/0.2795, allocations: 11.13 MB / 1.046 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00229/0.2819, allocations: 51.62 kB / 1.046 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.284, allocations: 464.8 kB / 1.047 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005488/0.2895, allocations: 1.623 MB / 1.048 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.2928, allocations: 0.8821 MB / 1.049 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.0049/0.2977, allocations: 3.433 MB / 1.053 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.3, allocations: 0.9032 MB / 1.053 GB, free: 24 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002731/0.3027, allocations: 1.1 MB / 1.055 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.3044, allocations: 0.8127 MB / 1.055 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004011/0.3049, allocations: 44 kB / 1.055 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.308, allocations: 1.267 MB / 1.057 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004327/0.3084, allocations: 211 kB / 1.057 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.3098, allocations: 0.6003 MB / 1.057 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00279/0.3126, allocations: 1.707 MB / 1.059 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3126, allocations: 4 kB / 1.059 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3126, allocations: 4 kB / 1.059 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.741e-05/0.3127, allocations: 3.938 kB / 1.059 GB, free: 10.25 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.003467/0.3162, allocations: 1.493 MB / 1.061 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.3162, allocations: 8.031 kB / 1.061 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002688/0.3165, allocations: 126.9 kB / 1.061 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/0.3193, allocations: 0.518 MB / 1.061 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.322, allocations: 1.136 MB / 1.062 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003919/0.3224, allocations: 125.9 kB / 1.062 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.3226, allocations: 84 kB / 1.062 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.3252, allocations: 1.041 MB / 1.063 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.3253, allocations: 11.88 kB / 1.064 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.193e-05/0.3254, allocations: 28 kB / 1.064 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.3254, allocations: 20 kB / 1.064 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.3283, allocations: 1.003 MB / 1.065 GB, free: 4.504 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.386/0.7143, allocations: 4.709 MB / 1.069 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00444/0.7188, allocations: 1.118 MB / 1.07 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.7199, allocations: 439.3 kB / 1.071 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007925/0.7207, allocations: 1.032 MB / 1.072 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.7208, allocations: 42.39 kB / 1.072 GB, free: 89.08 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.096e-06/0.7208, allocations: 2.75 kB / 1.072 GB, free: 89.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.01022/0.731, allocations: 2.491 MB / 1.074 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.7311, allocations: 57.75 kB / 1.074 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.7325, allocations: 0.9287 MB / 1.075 GB, free: 88.31 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.719e-05/0.7326, allocations: 37.36 kB / 1.075 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.733, allocations: 0.5126 MB / 1.076 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.7332, allocations: 187.4 kB / 1.076 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.7332, allocations: 10.56 kB / 1.076 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.7333, allocations: 330.5 kB / 1.076 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.7344, allocations: 375.6 kB / 1.076 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.7357, allocations: 0.5415 MB / 1.077 GB, free: 87.13 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/0.738, allocations: 0.8144 MB / 1.078 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.738, allocations: 0.7188 kB / 1.078 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003302/0.7413, allocations: 1.127 MB / 1.079 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.91e-05/0.7414, allocations: 160.3 kB / 1.079 GB, free: 86.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.7414, allocations: 7.062 kB / 1.079 GB, free: 86.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.7428, allocations: 330.2 kB / 1.079 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/0.7435, allocations: 146.2 kB / 1.08 GB, free: 86.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.745, allocations: 0.927 MB / 1.08 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.7463, allocations: 182.5 kB / 1.081 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/0.7464, allocations: 29.05 kB / 1.081 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.7464, allocations: 4.156 kB / 1.081 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002918/0.7494, allocations: 1.005 MB / 1.082 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.7494, allocations: 2.625 kB / 1.082 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.7506, allocations: 322.1 kB / 1.082 GB, free: 85.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/0.7513, allocations: 141.2 kB / 1.082 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.7526, allocations: 0.9356 MB / 1.083 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.7538, allocations: 173.9 kB / 1.083 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/0.7539, allocations: 29.19 kB / 1.083 GB, free: 84.3 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.0005137/0.7544, allocations: 357.2 kB / 1.084 GB, free: 84.01 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.7546, allocations: 105.7 kB / 1.084 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/0.759, allocations: 1.442 MB / 1.085 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.7591, allocations: 10.25 kB / 1.085 GB, free: 83.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7591, allocations: 1.719 kB / 1.085 GB, free: 83.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.7591, allocations: 2.484 kB / 1.085 GB, free: 83.51 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005655/0.7647, allocations: 2.524 MB / 1.087 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.7648, allocations: 5.062 kB / 1.087 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/0.7653, allocations: 118.6 kB / 1.088 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009804/0.7663, allocations: 320.8 kB / 1.088 GB, free: 82.35 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.7663, allocations: 22.05 kB / 1.088 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.7677, allocations: 0.9666 MB / 1.089 GB, free: 81.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7677, allocations: 1.406 kB / 1.089 GB, free: 81.67 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/0.7718, allocations: 1.457 MB / 1.09 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/0.7723, allocations: 286.1 kB / 1.091 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.7725, allocations: 12.78 kB / 1.091 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000909/0.7734, allocations: 132 kB / 1.091 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.7735, allocations: 44.52 kB / 1.091 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.168e-05/0.7735, allocations: 25.3 kB / 1.091 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008917/0.7744, allocations: 0.6508 MB / 1.091 GB, free: 80.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.7745, allocations: 3.656 kB / 1.091 GB, free: 80.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00144/0.7759, allocations: 0.569 MB / 1.092 GB, free: 80.45 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.005175/0.7811, allocations: 2.269 MB / 1.094 GB, free: 79.31 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003889/0.785, allocations: 1.384 MB / 1.096 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.785, allocations: 5.562 kB / 1.096 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.7863, allocations: 486 kB / 1.096 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/0.7891, allocations: 0.5107 MB / 1.097 GB, free: 78.67 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.8023, allocations: 6.741 MB / 1.103 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.8029, allocations: 1.068 MB / 1.104 GB, free: 74.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001163/0.8041, allocations: 236.2 kB / 1.104 GB, free: 74.29 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/0.8045, allocations: 414.8 kB / 1.105 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of SimCode: time 7.81e-07/0.8045, allocations: 0 / 1.105 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6663/1.471, allocations: 33.72 MB / 1.138 GB, free: 47.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/1.471, allocations: 266.2 kB / 1.138 GB, free: 47.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.265/4.736, allocations: 0 / 1.138 GB, free: 47.52 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)