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 2.596/2.596, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001532/0.001533, allocations: 186.3 kB / 370.8 MB, free: 10.84 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.236/2.236, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.002984/0.002983, allocations: 96.88 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005016/0.0005019, allocations: 13.22 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2379, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.07493/0.3129, allocations: 51.36 MB / 1.028 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02233/0.3353, allocations: 10.23 MB / 1.038 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002331/0.3377, allocations: 51.62 kB / 1.038 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00335/0.3411, allocations: 0.618 MB / 1.039 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00853/0.3496, allocations: 1.902 MB / 1.041 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006416/0.3561, allocations: 1.327 MB / 1.042 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.0058/0.3619, allocations: 1.852 MB / 1.044 GB, free: 8.805 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.3642, allocations: 0.794 MB / 1.045 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003579/0.3678, allocations: 0.9925 MB / 1.046 GB, free: 6.992 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.3696, allocations: 0.6066 MB / 1.046 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002867/0.37, allocations: 44 kB / 1.046 GB, free: 6.34 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003822/0.3738, allocations: 1.002 MB / 1.047 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005138/0.3744, allocations: 199.1 kB / 1.048 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006885/0.3751, allocations: 289 kB / 1.048 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00412/0.3792, allocations: 1.598 MB / 1.049 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3793, allocations: 0 / 1.049 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.287e-06/0.3793, allocations: 4 kB / 1.049 GB, free: 3.246 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.745e-05/0.3793, allocations: 0 / 1.049 GB, free: 3.246 MB / 0.6667 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.004768/0.3841, allocations: 1.485 MB / 1.051 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.3842, allocations: 8.031 kB / 1.051 GB, free: 1.695 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003769/0.3846, allocations: 126.7 kB / 1.051 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00407/0.3887, allocations: 473.9 kB / 1.051 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/0.3921, allocations: 1.062 MB / 1.052 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006928/0.3928, allocations: 129.9 kB / 1.053 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/0.3931, allocations: 83.94 kB / 1.053 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003659/0.3968, allocations: 0.9995 MB / 1.054 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.3968, allocations: 3.938 kB / 1.054 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.397, allocations: 32 kB / 1.054 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.397, allocations: 24 kB / 1.054 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004698/0.4017, allocations: 0.9212 MB / 1.055 GB, free: 13.75 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.01143/0.4132, allocations: 4.654 MB / 1.059 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006686/0.42, allocations: 0.9501 MB / 1.06 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009909/0.421, allocations: 0.9067 MB / 1.061 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.4211, allocations: 35 kB / 1.061 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 3.216e-06/0.4211, allocations: 0 / 1.061 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.01691/0.438, allocations: 2.205 MB / 1.063 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.4381, allocations: 55.84 kB / 1.063 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/0.4408, allocations: 1.067 MB / 1.064 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.441, allocations: 45.58 kB / 1.064 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006202/0.4416, allocations: 0.5157 MB / 1.065 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.4419, allocations: 173.6 kB / 1.065 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.4419, allocations: 12 kB / 1.065 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4421, allocations: 325.9 kB / 1.065 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.4438, allocations: 332.9 kB / 1.066 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.4459, allocations: 0.5365 MB / 1.066 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.4477, allocations: 372.5 kB / 1.066 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.4477, allocations: 4 kB / 1.067 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.65/1.098, allocations: 1.057 MB / 1.068 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003674/1.098, allocations: 1.406 MB / 1.069 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/1.098, allocations: 3.875 kB / 1.069 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/1.101, allocations: 339.2 kB / 1.069 GB, free: 88.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.102, allocations: 137.8 kB / 1.069 GB, free: 88.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/1.105, allocations: 0.9335 MB / 1.07 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/1.107, allocations: 200.3 kB / 1.07 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/1.108, allocations: 31.17 kB / 1.07 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/1.108, allocations: 4.125 kB / 1.07 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004814/1.112, allocations: 0.9389 MB / 1.071 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/1.113, allocations: 4.062 kB / 1.071 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002037/1.115, allocations: 332.8 kB / 1.072 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/1.116, allocations: 137.3 kB / 1.072 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/1.118, allocations: 0.9322 MB / 1.073 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/1.121, allocations: 172.2 kB / 1.073 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/1.121, allocations: 29.52 kB / 1.073 GB, free: 87.38 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.0007751/1.122, allocations: 357.7 kB / 1.073 GB, free: 87.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003224/1.122, allocations: 108.2 kB / 1.073 GB, free: 87.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00738/1.129, allocations: 1.257 MB / 1.075 GB, free: 86.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.846e-05/1.129, allocations: 11.08 kB / 1.075 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/1.129, allocations: 0 / 1.075 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/1.129, allocations: 3.344 kB / 1.075 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/1.14, allocations: 2.354 MB / 1.077 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-05/1.14, allocations: 7.531 kB / 1.077 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006912/1.141, allocations: 79.77 kB / 1.077 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/1.143, allocations: 326.5 kB / 1.077 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/1.143, allocations: 22.02 kB / 1.077 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002629/1.145, allocations: 0.9591 MB / 1.078 GB, free: 85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/1.145, allocations: 8.078 kB / 1.078 GB, free: 84.99 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007621/1.153, allocations: 1.428 MB / 1.08 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009752/1.154, allocations: 306.8 kB / 1.08 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002849/1.154, allocations: 11.8 kB / 1.08 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/1.156, allocations: 114 kB / 1.08 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.156, allocations: 42.75 kB / 1.08 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.157, allocations: 25.53 kB / 1.08 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002131/1.159, allocations: 0.7495 MB / 1.081 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/1.159, allocations: 0.6562 kB / 1.081 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002876/1.162, allocations: 0.571 MB / 1.081 GB, free: 83.62 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.008802/1.171, allocations: 2.86 MB / 1.084 GB, free: 81.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006336/1.177, allocations: 1.213 MB / 1.085 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.177, allocations: 4.875 kB / 1.085 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001795/1.179, allocations: 391.7 kB / 1.086 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/1.183, allocations: 0.5108 MB / 1.086 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/1.196, allocations: 5.51 MB / 1.092 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008809/1.197, allocations: 1.089 MB / 1.093 GB, free: 76.29 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002013/1.199, allocations: 240.2 kB / 1.093 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009556/1.2, allocations: 413.7 kB / 1.093 GB, free: 75.92 MB / 0.6823 GB Notification: Performance of SimCode: time 1.743e-06/1.2, allocations: 0 / 1.093 GB, free: 75.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/1.33, allocations: 33.87 MB / 1.126 GB, free: 58.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/1.331, allocations: 251 kB / 1.127 GB, free: 58.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.909/5.239, allocations: 0 / 1.127 GB, free: 58.39 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)