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.826/1.826, allocations: 288.4 MB / 303.3 MB, free: 8.074 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.00107/0.00107, allocations: 180.5 kB / 372 MB, free: 10.29 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.501/1.501, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.000867/0.0008671, allocations: 90.3 kB / 0.744 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005815/0.0005814, allocations: 11.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2255, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04586/0.2714, allocations: 56.55 MB / 1.035 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01617/0.2876, allocations: 11.13 MB / 1.046 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.2899, allocations: 47.69 kB / 1.046 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.2916, allocations: 468.8 kB / 1.046 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004974/0.2966, allocations: 1.518 MB / 1.048 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002854/0.2994, allocations: 0.8806 MB / 1.049 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004482/0.3039, allocations: 3.394 MB / 1.052 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.3054, allocations: 0.7989 MB / 1.053 GB, free: 0.6172 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.308, allocations: 1.054 MB / 1.054 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.3097, allocations: 0.8088 MB / 1.054 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.3098, allocations: 47.98 kB / 1.055 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.3124, allocations: 1.091 MB / 1.056 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.3127, allocations: 199 kB / 1.056 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.3132, allocations: 285 kB / 1.056 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.3153, allocations: 1.648 MB / 1.058 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3153, allocations: 7.938 kB / 1.058 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3153, allocations: 0 / 1.058 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.3154, allocations: 0 / 1.058 GB, free: 11.46 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.002832/0.3182, allocations: 1.502 MB / 1.059 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3183, allocations: 8.031 kB / 1.059 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.3184, allocations: 130.8 kB / 1.059 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/0.3209, allocations: 0.5173 MB / 1.06 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.3234, allocations: 1.098 MB / 1.061 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/0.3238, allocations: 129.9 kB / 1.061 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.3239, allocations: 80 kB / 1.061 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.3264, allocations: 1.029 MB / 1.062 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.3264, allocations: 0 / 1.062 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.3265, allocations: 35.94 kB / 1.062 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.3265, allocations: 20 kB / 1.062 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002685/0.3292, allocations: 1.007 MB / 1.063 GB, free: 5.758 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.00699/0.3362, allocations: 4.716 MB / 1.068 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5053/0.8416, allocations: 1.112 MB / 1.069 GB, free: 91.05 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.8431, allocations: 445.8 kB / 1.069 GB, free: 91.04 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009107/0.844, allocations: 1.03 MB / 1.07 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.8441, allocations: 38.08 kB / 1.07 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.928e-06/0.8441, allocations: 1.031 kB / 1.07 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.01094/0.8551, allocations: 2.491 MB / 1.073 GB, free: 89.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.8551, allocations: 56.91 kB / 1.073 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.8569, allocations: 0.9314 MB / 1.074 GB, free: 89.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.8571, allocations: 38.36 kB / 1.074 GB, free: 89.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004945/0.8576, allocations: 0.5077 MB / 1.074 GB, free: 88.85 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.8578, allocations: 186.4 kB / 1.074 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.8578, allocations: 9.812 kB / 1.074 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.8579, allocations: 330.1 kB / 1.075 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.8591, allocations: 377.4 kB / 1.075 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.8605, allocations: 0.548 MB / 1.076 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.8618, allocations: 397.6 kB / 1.076 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.8618, allocations: 0.9062 kB / 1.076 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003563/0.8653, allocations: 1.129 MB / 1.077 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.8655, allocations: 161 kB / 1.077 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.8655, allocations: 6.469 kB / 1.077 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/0.867, allocations: 327.2 kB / 1.078 GB, free: 87.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/0.8678, allocations: 146.6 kB / 1.078 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.8695, allocations: 0.934 MB / 1.079 GB, free: 86.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.8711, allocations: 179.8 kB / 1.079 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.8712, allocations: 29.06 kB / 1.079 GB, free: 86.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8713, allocations: 3.562 kB / 1.079 GB, free: 86.52 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003255/0.8745, allocations: 1.001 MB / 1.08 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.8746, allocations: 5.781 kB / 1.08 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.8759, allocations: 322.9 kB / 1.08 GB, free: 86.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/0.8767, allocations: 146.4 kB / 1.08 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.8783, allocations: 0.9291 MB / 1.081 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.8799, allocations: 169.3 kB / 1.081 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.231e-05/0.88, allocations: 33.95 kB / 1.081 GB, free: 85.41 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.0006879/0.8807, allocations: 352.7 kB / 1.082 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/0.8809, allocations: 112 kB / 1.082 GB, free: 85.06 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005135/0.8861, allocations: 1.443 MB / 1.083 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/0.8862, allocations: 7.656 kB / 1.083 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.8862, allocations: 0 / 1.083 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.8862, allocations: 4.719 kB / 1.083 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006885/0.8931, allocations: 2.527 MB / 1.086 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.8931, allocations: 0.9375 kB / 1.086 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/0.8938, allocations: 122.2 kB / 1.086 GB, free: 83.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.895, allocations: 321.4 kB / 1.086 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.225e-05/0.895, allocations: 17.97 kB / 1.086 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.8967, allocations: 0.9704 MB / 1.087 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.8967, allocations: 5.984 kB / 1.087 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004747/0.9014, allocations: 1.45 MB / 1.088 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007555/0.9022, allocations: 295.8 kB / 1.089 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.9023, allocations: 12.25 kB / 1.089 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.9034, allocations: 124.1 kB / 1.089 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.9035, allocations: 50.97 kB / 1.089 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/0.9036, allocations: 24.62 kB / 1.089 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001161/0.9047, allocations: 0.652 MB / 1.09 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9047, allocations: 0 / 1.09 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001789/0.9065, allocations: 0.5625 MB / 1.09 GB, free: 81.55 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.005464/0.912, allocations: 2.257 MB / 1.092 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004085/0.9161, allocations: 1.386 MB / 1.094 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.9161, allocations: 1.062 kB / 1.094 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.9175, allocations: 491 kB / 1.094 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/0.9204, allocations: 0.5145 MB / 1.095 GB, free: 79.76 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/0.9349, allocations: 6.74 MB / 1.101 GB, free: 76.39 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.9356, allocations: 1.065 MB / 1.102 GB, free: 75.67 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001398/0.937, allocations: 231.6 kB / 1.103 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006164/0.9376, allocations: 418.5 kB / 1.103 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.954e-06/0.9376, allocations: 1.156 kB / 1.103 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0554/0.993, allocations: 33.41 MB / 1.136 GB, free: 50.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/0.9932, allocations: 279.2 kB / 1.136 GB, free: 49.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.191/4.184, allocations: 0 / 1.136 GB, free: 49.84 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)