Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005778/0.005778, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.066/2.066, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003885, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.544/0.5444, allocations: 142.4 MB / 0.9552 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05151/0.5959, allocations: 59.79 MB / 1.014 GB, free: 3.355 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01452/0.6105, allocations: 11.92 MB / 1.025 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.6116, allocations: 47.69 kB / 1.025 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.6129, allocations: 0.5477 MB / 1.026 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003572/0.6165, allocations: 1.804 MB / 1.028 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.6186, allocations: 1.07 MB / 1.029 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003602/0.6222, allocations: 3.898 MB / 1.032 GB, free: 24 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.6234, allocations: 0.908 MB / 1.033 GB, free: 15.09 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.6251, allocations: 1.131 MB / 1.034 GB, free: 13.95 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009502/0.6261, allocations: 0.8476 MB / 1.035 GB, free: 13.1 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.6262, allocations: 44 kB / 1.035 GB, free: 13.05 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.6284, allocations: 1.341 MB / 1.037 GB, free: 11.71 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.6286, allocations: 214.9 kB / 1.037 GB, free: 11.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005586/0.6292, allocations: 0.6349 MB / 1.037 GB, free: 10.86 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.6314, allocations: 2.2 MB / 1.04 GB, free: 8.648 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6314, allocations: 0 / 1.04 GB, free: 8.648 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6314, allocations: 4 kB / 1.04 GB, free: 8.645 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.6314, allocations: 0 / 1.04 GB, free: 8.645 MB / 0.795 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.002437/0.6338, allocations: 1.485 MB / 1.041 GB, free: 7.102 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.6339, allocations: 16.02 kB / 1.041 GB, free: 7.086 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.634, allocations: 118.9 kB / 1.041 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.6362, allocations: 478.6 kB / 1.042 GB, free: 6.492 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.638, allocations: 1.124 MB / 1.043 GB, free: 5.309 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003944/0.6384, allocations: 129.9 kB / 1.043 GB, free: 5.184 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.6386, allocations: 76 kB / 1.043 GB, free: 5.109 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.6406, allocations: 1.009 MB / 1.044 GB, free: 4.055 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.6406, allocations: 3.938 kB / 1.044 GB, free: 4.051 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.6407, allocations: 35.98 kB / 1.044 GB, free: 4.016 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.6407, allocations: 20 kB / 1.044 GB, free: 3.996 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.6432, allocations: 0.9211 MB / 1.045 GB, free: 3.074 MB / 0.795 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.005826/0.649, allocations: 4.891 MB / 1.05 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003625/0.6526, allocations: 0.8994 MB / 1.05 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007683/0.6534, allocations: 342.2 kB / 1.051 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/0.654, allocations: 0.9064 MB / 1.052 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.6541, allocations: 38.56 kB / 1.052 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 1.603e-06/0.6541, allocations: 0 / 1.052 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.009111/0.6632, allocations: 2.169 MB / 1.054 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.6632, allocations: 59.34 kB / 1.054 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.6646, allocations: 1.052 MB / 1.055 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.6647, allocations: 37.7 kB / 1.055 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/0.6651, allocations: 0.5235 MB / 1.055 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.6652, allocations: 153.8 kB / 1.056 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.6653, allocations: 45.7 kB / 1.056 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.6654, allocations: 330 kB / 1.056 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009455/0.6664, allocations: 324.9 kB / 1.056 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.6675, allocations: 0.5371 MB / 1.057 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.6692, allocations: 0.7287 MB / 1.058 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6692, allocations: 11.88 kB / 1.058 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002649/0.6719, allocations: 1.051 MB / 1.059 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.672, allocations: 204.4 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.672, allocations: 4 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.6733, allocations: 346.1 kB / 1.059 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.6738, allocations: 127.8 kB / 1.059 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.6753, allocations: 0.9464 MB / 1.06 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.6765, allocations: 187.2 kB / 1.06 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.6766, allocations: 31.98 kB / 1.06 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.6766, allocations: 4 kB / 1.06 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002498/0.6791, allocations: 0.914 MB / 1.061 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.6791, allocations: 4 kB / 1.061 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.6802, allocations: 330.9 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/0.6808, allocations: 127.8 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.6822, allocations: 0.9387 MB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.6833, allocations: 171.3 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/0.6833, allocations: 31.98 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004078/0.6838, allocations: 347 kB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.6839, allocations: 106.7 kB / 1.063 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004052/0.688, allocations: 1.217 MB / 1.064 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.688, allocations: 4 kB / 1.064 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.688, allocations: 3.938 kB / 1.064 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.688, allocations: 3.984 kB / 1.064 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005202/0.6932, allocations: 2.307 MB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.6932, allocations: 0 / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.6935, allocations: 67.95 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.6946, allocations: 334.4 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.6947, allocations: 15.98 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.6962, allocations: 0.9634 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.6962, allocations: 11.88 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/0.7, allocations: 1.279 MB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/0.7003, allocations: 287.5 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.7005, allocations: 15.98 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009305/0.7014, allocations: 115.8 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.7015, allocations: 43.83 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.7015, allocations: 23.98 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001097/0.7026, allocations: 0.7428 MB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7027, allocations: 0 / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001359/0.704, allocations: 0.5613 MB / 1.071 GB, free: 7.105 MB / 0.8262 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004712/0.7087, allocations: 2.109 MB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00317/0.7119, allocations: 1.175 MB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.7119, allocations: 0 / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009133/0.7129, allocations: 374.5 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.7156, allocations: 0.4994 MB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/0.7337, allocations: 9.217 MB / 1.084 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.7343, allocations: 1.069 MB / 1.085 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0008266/0.7351, allocations: 220.7 kB / 1.085 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004993/0.7356, allocations: 407.3 kB / 1.086 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.7356, allocations: 4 kB / 1.086 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7225/1.458, allocations: 32.29 MB / 1.117 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002952/1.458, allocations: 282.3 kB / 1.118 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.815/4.274, allocations: 4 kB / 1.118 GB, free: 7.312 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)