Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_10_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.001655/0.001655, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.41/2.41, allocations: 437.1 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5976/0.5989, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05435/0.6533, allocations: 61.24 MB / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01496/0.6682, allocations: 11.99 MB / 1.089 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.6705, allocations: 59.62 kB / 1.089 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.6725, allocations: 0.6791 MB / 1.09 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005227/0.6777, allocations: 1.963 MB / 1.092 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.6806, allocations: 1.204 MB / 1.093 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003783/0.6844, allocations: 3.069 MB / 1.096 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.6861, allocations: 1.102 MB / 1.097 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.689, allocations: 1.326 MB / 1.098 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.6905, allocations: 0.8945 MB / 1.099 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000316/0.6909, allocations: 112 kB / 1.099 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.6937, allocations: 1.454 MB / 1.101 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003933/0.6941, allocations: 302.8 kB / 1.101 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008616/0.695, allocations: 0.6881 MB / 1.101 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00279/0.6978, allocations: 2.275 MB / 1.104 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.6978, allocations: 0 / 1.104 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6978, allocations: 4 kB / 1.104 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.234e-05/0.6978, allocations: 0 / 1.104 GB, free: 9.812 MB / 0.8575 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.002775/0.7006, allocations: 1.73 MB / 1.105 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.7007, allocations: 12.03 kB / 1.105 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.7008, allocations: 118.9 kB / 1.106 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.7028, allocations: 406.8 kB / 1.106 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.7046, allocations: 1.112 MB / 1.107 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003467/0.705, allocations: 121.9 kB / 1.107 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.7051, allocations: 84 kB / 1.107 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.7069, allocations: 0.9937 MB / 1.108 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.7069, allocations: 7.938 kB / 1.108 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.499e-05/0.707, allocations: 40 kB / 1.108 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.707, allocations: 20 kB / 1.108 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.7092, allocations: 0.8703 MB / 1.109 GB, free: 4.125 MB / 0.8575 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.00589/0.7151, allocations: 5.263 MB / 1.114 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003303/0.7185, allocations: 0.8006 MB / 1.115 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/0.7192, allocations: 308.6 kB / 1.115 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005796/0.7198, allocations: 0.9141 MB / 1.116 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.7198, allocations: 38.5 kB / 1.116 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 1.643e-06/0.7198, allocations: 0 / 1.116 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.008332/0.7281, allocations: 1.926 MB / 1.118 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.7282, allocations: 55.41 kB / 1.118 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.7296, allocations: 1.076 MB / 1.119 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.7297, allocations: 33.7 kB / 1.119 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003882/0.7301, allocations: 0.5312 MB / 1.12 GB, free: 8.52 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.7302, allocations: 161.7 kB / 1.12 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.7304, allocations: 130.2 kB / 1.12 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.7305, allocations: 326 kB / 1.12 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009007/0.7315, allocations: 319.2 kB / 1.121 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.7325, allocations: 0.5368 MB / 1.121 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.7342, allocations: 0.7182 MB / 1.122 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.7342, allocations: 0 / 1.122 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003607/0.7378, allocations: 1.188 MB / 1.123 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.7378, allocations: 4 kB / 1.123 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.7379, allocations: 12.06 kB / 1.123 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.7391, allocations: 317.7 kB / 1.123 GB, free: 4.641 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/0.7397, allocations: 131.7 kB / 1.123 GB, free: 4.512 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.7411, allocations: 0.9167 MB / 1.124 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.7423, allocations: 159.2 kB / 1.125 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/0.7424, allocations: 27.98 kB / 1.125 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001179/0.7436, allocations: 0.5129 MB / 1.125 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009977/0.7446, allocations: 0.5368 MB / 1.126 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00159/0.7462, allocations: 0.7093 MB / 1.126 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.288e-06/0.7462, allocations: 7.938 kB / 1.126 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003365/0.7496, allocations: 1.149 MB / 1.127 GB, free: 296 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.7496, allocations: 13.55 kB / 1.127 GB, free: 284 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.7496, allocations: 8 kB / 1.127 GB, free: 276 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.7507, allocations: 308.6 kB / 1.128 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/0.7512, allocations: 131.8 kB / 1.128 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.7525, allocations: 0.9086 MB / 1.129 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.7536, allocations: 147.5 kB / 1.129 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.7537, allocations: 31.98 kB / 1.129 GB, free: 14.73 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0001714/0.7539, allocations: 220.9 kB / 1.129 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.754, allocations: 114.6 kB / 1.129 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003712/0.7578, allocations: 1.113 MB / 1.13 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.7578, allocations: 8 kB / 1.13 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.7578, allocations: 0 / 1.13 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.7578, allocations: 3.984 kB / 1.13 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00496/0.7628, allocations: 2.202 MB / 1.132 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.7628, allocations: 0 / 1.132 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.7631, allocations: 63.89 kB / 1.133 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009779/0.7641, allocations: 308.6 kB / 1.133 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.7641, allocations: 16 kB / 1.133 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.7655, allocations: 0.9442 MB / 1.134 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7655, allocations: 4 kB / 1.134 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003495/0.769, allocations: 1.193 MB / 1.135 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/0.7694, allocations: 267.5 kB / 1.135 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.7695, allocations: 8 kB / 1.135 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007997/0.7703, allocations: 79.91 kB / 1.135 GB, free: 8 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.7704, allocations: 43.81 kB / 1.135 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/0.7705, allocations: 23.98 kB / 1.135 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00107/0.7716, allocations: 0.7551 MB / 1.136 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7716, allocations: 0 / 1.136 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001383/0.773, allocations: 0.5693 MB / 1.137 GB, free: 6.602 MB / 0.8887 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.004478/0.7774, allocations: 2.012 MB / 1.139 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003194/0.7807, allocations: 1.159 MB / 1.14 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7807, allocations: 0 / 1.14 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008709/0.7815, allocations: 363.3 kB / 1.14 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.7839, allocations: 0.501 MB / 1.141 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/0.7997, allocations: 8.756 MB / 1.149 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.8002, allocations: 1.065 MB / 1.15 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008714/0.8011, allocations: 230.3 kB / 1.15 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004627/0.8016, allocations: 415.2 kB / 1.151 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of SimCode: time 4.3e-07/0.8016, allocations: 0 / 1.151 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.981/3.783, allocations: 33.62 MB / 1.184 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/19.57, allocations: 7.891 kB / 1.184 GB, free: 6.402 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)