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_etaPL.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_etaPL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",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.555/1.555, allocations: 288.4 MB / 303.6 MB, free: 8.102 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.001019/0.001019, allocations: 176.5 kB / 372.2 MB, free: 10.12 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.357/1.357, allocations: 205.4 MB / 0.631 GB, free: 9.941 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.001087/0.001087, allocations: 101.1 kB / 0.7444 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.00043, allocations: 12.06 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2073, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04688/0.2542, allocations: 56.57 MB / 1.035 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01545/0.2697, allocations: 11.13 MB / 1.046 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002435/0.2722, allocations: 47.69 kB / 1.046 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.2744, allocations: 472.8 kB / 1.047 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007523/0.282, allocations: 1.619 MB / 1.048 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.2855, allocations: 0.884 MB / 1.049 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004325/0.2898, allocations: 3.422 MB / 1.053 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.2911, allocations: 0.8825 MB / 1.053 GB, free: 44 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.2931, allocations: 1.1 MB / 1.055 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.2941, allocations: 0.8089 MB / 1.055 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.2943, allocations: 40 kB / 1.055 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.2967, allocations: 1.294 MB / 1.057 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.2969, allocations: 199 kB / 1.057 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006228/0.2975, allocations: 0.6081 MB / 1.057 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.2995, allocations: 1.707 MB / 1.059 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2995, allocations: 4 kB / 1.059 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2995, allocations: 0 / 1.059 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.2995, allocations: 0 / 1.059 GB, free: 10.26 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002733/0.3022, allocations: 1.497 MB / 1.061 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.3023, allocations: 8.031 kB / 1.061 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/0.3025, allocations: 134.9 kB / 1.061 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.3045, allocations: 474.6 kB / 1.061 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.3065, allocations: 1.132 MB / 1.062 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/0.3069, allocations: 133.9 kB / 1.062 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.307, allocations: 80 kB / 1.062 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.309, allocations: 0.9956 MB / 1.063 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.3091, allocations: 8 kB / 1.063 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.54e-05/0.3092, allocations: 31.98 kB / 1.063 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.3092, allocations: 20 kB / 1.063 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.3115, allocations: 0.9328 MB / 1.064 GB, free: 4.668 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.4139/0.7255, allocations: 4.628 MB / 1.069 GB, free: 90.36 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004219/0.7298, allocations: 0.9332 MB / 1.07 GB, free: 90.33 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009126/0.7307, allocations: 345.3 kB / 1.07 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005385/0.7313, allocations: 0.9035 MB / 1.071 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.7313, allocations: 38.16 kB / 1.071 GB, free: 89.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 3.386e-06/0.7313, allocations: 0 / 1.071 GB, free: 89.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.009691/0.741, allocations: 2.228 MB / 1.073 GB, free: 89.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.7411, allocations: 56.97 kB / 1.073 GB, free: 89.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.7431, allocations: 1.045 MB / 1.074 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.7432, allocations: 39.38 kB / 1.074 GB, free: 88.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.7436, allocations: 0.5182 MB / 1.075 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.7438, allocations: 172 kB / 1.075 GB, free: 88.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.7438, allocations: 13.56 kB / 1.075 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.501e-05/0.7439, allocations: 326.7 kB / 1.075 GB, free: 87.81 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009844/0.7449, allocations: 332.9 kB / 1.076 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.7461, allocations: 0.5307 MB / 1.076 GB, free: 87.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.7479, allocations: 0.7321 MB / 1.077 GB, free: 87.08 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.7479, allocations: 0.875 kB / 1.077 GB, free: 87.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003255/0.7512, allocations: 1.07 MB / 1.078 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.7514, allocations: 198.6 kB / 1.078 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.7514, allocations: 3.562 kB / 1.078 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.7528, allocations: 332.3 kB / 1.078 GB, free: 86.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.7534, allocations: 134.3 kB / 1.079 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.755, allocations: 0.9342 MB / 1.079 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.7565, allocations: 201.6 kB / 1.08 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.7567, allocations: 30.98 kB / 1.08 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.7567, allocations: 3.469 kB / 1.08 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002822/0.7595, allocations: 0.94 MB / 1.081 GB, free: 85.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.7595, allocations: 5.406 kB / 1.081 GB, free: 85.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.7608, allocations: 325.3 kB / 1.081 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/0.7614, allocations: 137.7 kB / 1.081 GB, free: 85.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.763, allocations: 0.9337 MB / 1.082 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.7645, allocations: 172 kB / 1.082 GB, free: 84.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/0.7646, allocations: 29.52 kB / 1.082 GB, free: 84.57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0007575/0.7653, allocations: 353.8 kB / 1.082 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.7656, allocations: 112.8 kB / 1.083 GB, free: 84.22 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/0.7698, allocations: 1.254 MB / 1.084 GB, free: 83.83 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.7699, allocations: 6.016 kB / 1.084 GB, free: 83.83 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.639e-06/0.7699, allocations: 0.6562 kB / 1.084 GB, free: 83.83 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.7699, allocations: 12.08 kB / 1.084 GB, free: 83.83 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006048/0.7759, allocations: 2.334 MB / 1.086 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.776, allocations: 2.25 kB / 1.086 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.7763, allocations: 84.12 kB / 1.086 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.7775, allocations: 321.7 kB / 1.087 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/0.7775, allocations: 17.02 kB / 1.087 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.779, allocations: 0.9762 MB / 1.087 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.779, allocations: 6.594 kB / 1.087 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/0.7832, allocations: 1.315 MB / 1.089 GB, free: 81.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00063/0.7838, allocations: 285.7 kB / 1.089 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.7839, allocations: 14.55 kB / 1.089 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008954/0.7848, allocations: 113 kB / 1.089 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.785, allocations: 42.44 kB / 1.089 GB, free: 81.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.055e-05/0.785, allocations: 25.12 kB / 1.089 GB, free: 81.22 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001354/0.7864, allocations: 0.74 MB / 1.09 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7864, allocations: 0 / 1.09 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001838/0.7882, allocations: 0.5705 MB / 1.091 GB, free: 80.81 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004816/0.7931, allocations: 2.146 MB / 1.093 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003369/0.7965, allocations: 1.215 MB / 1.094 GB, free: 79.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.7965, allocations: 0 / 1.094 GB, free: 79.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009775/0.7975, allocations: 400.8 kB / 1.094 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/0.8005, allocations: 0.5216 MB / 1.095 GB, free: 79.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/0.8182, allocations: 6.947 MB / 1.101 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006185/0.8189, allocations: 1.064 MB / 1.103 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001333/0.8203, allocations: 230.8 kB / 1.103 GB, free: 74.85 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005321/0.8208, allocations: 420.5 kB / 1.103 GB, free: 74.54 MB / 0.6823 GB Notification: Performance of SimCode: time 7.31e-07/0.8208, allocations: 0 / 1.103 GB, free: 74.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.119/1.939, allocations: 34.91 MB / 1.137 GB, free: 48.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/1.94, allocations: 256.1 kB / 1.137 GB, free: 48.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/4.881, allocations: 0 / 1.137 GB, free: 48.06 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)