Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.626/1.626, allocations: 287.4 MB / 302.5 MB, free: 8.305 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.00108/0.00108, allocations: 178.7 kB / 371.1 MB, free: 10.82 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.292/1.292, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.000827/0.0008271, allocations: 92.78 kB / 0.7431 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.000367, allocations: 12.03 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.178, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04542/0.2235, allocations: 56.55 MB / 1.034 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.2379, allocations: 11.14 MB / 1.045 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.2398, allocations: 47.69 kB / 1.045 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.2416, allocations: 468.8 kB / 1.045 GB, free: 7.707 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004476/0.2461, allocations: 1.513 MB / 1.047 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002654/0.2488, allocations: 0.8693 MB / 1.048 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004049/0.2528, allocations: 3.433 MB / 1.051 GB, free: 1.883 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.2545, allocations: 0.8941 MB / 1.052 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.2567, allocations: 1.046 MB / 1.053 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.2582, allocations: 0.805 MB / 1.054 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.2584, allocations: 40 kB / 1.054 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.261, allocations: 1.123 MB / 1.055 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.2613, allocations: 199 kB / 1.055 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005664/0.2619, allocations: 285 kB / 1.055 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.2645, allocations: 1.645 MB / 1.057 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2645, allocations: 0 / 1.057 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2645, allocations: 0 / 1.057 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.158e-05/0.2646, allocations: 0 / 1.057 GB, free: 11.8 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.002908/0.2675, allocations: 1.505 MB / 1.058 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2676, allocations: 12.03 kB / 1.058 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002496/0.2678, allocations: 122.9 kB / 1.058 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.2699, allocations: 474.6 kB / 1.059 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.272, allocations: 1.128 MB / 1.06 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003342/0.2724, allocations: 133.9 kB / 1.06 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.2725, allocations: 80 kB / 1.06 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.2745, allocations: 0.9995 MB / 1.061 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.2745, allocations: 7.938 kB / 1.061 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/0.2746, allocations: 32 kB / 1.061 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.2746, allocations: 16 kB / 1.061 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.2769, allocations: 0.9289 MB / 1.062 GB, free: 6.223 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.006565/0.2835, allocations: 4.638 MB / 1.067 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/0.287, allocations: 0.9384 MB / 1.068 GB, free: 328 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3497/0.6367, allocations: 338.9 kB / 1.068 GB, free: 91.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000603/0.6373, allocations: 0.9057 MB / 1.069 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.6374, allocations: 38.34 kB / 1.069 GB, free: 90.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 4.609e-06/0.6374, allocations: 0 / 1.069 GB, free: 90.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.009414/0.6468, allocations: 2.216 MB / 1.071 GB, free: 90.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.6469, allocations: 58.25 kB / 1.071 GB, free: 90.06 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.6487, allocations: 1.052 MB / 1.072 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.6489, allocations: 38.83 kB / 1.072 GB, free: 89.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/0.6493, allocations: 0.5178 MB / 1.073 GB, free: 89.48 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.6495, allocations: 167.8 kB / 1.073 GB, free: 89.37 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.6495, allocations: 10.06 kB / 1.073 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.6496, allocations: 334.1 kB / 1.073 GB, free: 89.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009807/0.6506, allocations: 332.7 kB / 1.073 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.6516, allocations: 0.5316 MB / 1.074 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.6533, allocations: 0.7282 MB / 1.075 GB, free: 88.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.6533, allocations: 0.7188 kB / 1.075 GB, free: 88.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002797/0.6561, allocations: 1.066 MB / 1.076 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.749e-05/0.6562, allocations: 197.6 kB / 1.076 GB, free: 87.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.6562, allocations: 10.59 kB / 1.076 GB, free: 87.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.6575, allocations: 339.5 kB / 1.076 GB, free: 87.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.6581, allocations: 134.5 kB / 1.076 GB, free: 87.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.6595, allocations: 0.9308 MB / 1.077 GB, free: 87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.661, allocations: 204.8 kB / 1.077 GB, free: 86.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.6612, allocations: 29.67 kB / 1.078 GB, free: 86.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.6612, allocations: 3.875 kB / 1.078 GB, free: 86.94 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002781/0.664, allocations: 0.9365 MB / 1.078 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.664, allocations: 8.344 kB / 1.078 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.6653, allocations: 324.1 kB / 1.079 GB, free: 86.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.6659, allocations: 137.4 kB / 1.079 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.6673, allocations: 0.9345 MB / 1.08 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.6685, allocations: 168.7 kB / 1.08 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/0.6686, allocations: 32.56 kB / 1.08 GB, free: 85.84 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.000581/0.6692, allocations: 360.1 kB / 1.08 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.6694, allocations: 109.2 kB / 1.08 GB, free: 85.49 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/0.6733, allocations: 1.252 MB / 1.082 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.6734, allocations: 7.016 kB / 1.082 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6734, allocations: 0.5625 kB / 1.082 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.6734, allocations: 6.516 kB / 1.082 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005382/0.6788, allocations: 2.342 MB / 1.084 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.6788, allocations: 1.375 kB / 1.084 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.6791, allocations: 87.64 kB / 1.084 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.6802, allocations: 327.1 kB / 1.084 GB, free: 83.97 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.6802, allocations: 13.69 kB / 1.084 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.6815, allocations: 0.9709 MB / 1.085 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.6816, allocations: 2.719 kB / 1.085 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/0.6852, allocations: 1.32 MB / 1.087 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005688/0.6858, allocations: 285.8 kB / 1.087 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.6859, allocations: 13.38 kB / 1.087 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008503/0.6868, allocations: 113.9 kB / 1.087 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6869, allocations: 42.67 kB / 1.087 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/0.687, allocations: 28.86 kB / 1.087 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001169/0.6882, allocations: 0.7321 MB / 1.088 GB, free: 82.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6882, allocations: 3.938 kB / 1.088 GB, free: 82.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001512/0.6897, allocations: 0.5714 MB / 1.088 GB, free: 82.06 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.004389/0.6941, allocations: 2.131 MB / 1.09 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003336/0.6974, allocations: 1.207 MB / 1.092 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.6975, allocations: 1.188 kB / 1.092 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009521/0.6984, allocations: 396.5 kB / 1.092 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/0.7013, allocations: 0.5216 MB / 1.093 GB, free: 80.37 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/0.7165, allocations: 6.957 MB / 1.099 GB, free: 76.89 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.7172, allocations: 1.067 MB / 1.1 GB, free: 76.16 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001203/0.7184, allocations: 233.9 kB / 1.101 GB, free: 76.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/0.7189, allocations: 418.5 kB / 1.101 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of SimCode: time 8.51e-07/0.7189, allocations: 0 / 1.101 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.183/1.902, allocations: 34.57 MB / 1.135 GB, free: 51.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/1.902, allocations: 250.9 kB / 1.135 GB, free: 51.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.351/5.253, allocations: 0 / 1.135 GB, free: 51.05 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)