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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001084/0.001084, 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.001186/0.001186, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 390.3 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 67.89 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5823, allocations: 140.4 MB / 0.9497 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05512/0.6375, allocations: 61.24 MB / 1.01 GB, free: 4.359 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.654, allocations: 11.99 MB / 1.021 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001899/0.656, allocations: 63.62 kB / 1.021 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.658, allocations: 0.6831 MB / 1.022 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005247/0.6633, allocations: 1.966 MB / 1.024 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002942/0.6663, allocations: 1.185 MB / 1.025 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003983/0.6703, allocations: 3.075 MB / 1.028 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.6719, allocations: 1.102 MB / 1.029 GB, free: 224 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.6751, allocations: 1.326 MB / 1.03 GB, free: 14.89 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.6766, allocations: 0.8906 MB / 1.031 GB, free: 14 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000307/0.677, allocations: 116 kB / 1.031 GB, free: 13.88 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.6804, allocations: 1.454 MB / 1.033 GB, free: 12.43 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000535/0.681, allocations: 294.8 kB / 1.033 GB, free: 12.14 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.6823, allocations: 0.6958 MB / 1.034 GB, free: 11.44 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004162/0.6865, allocations: 2.279 MB / 1.036 GB, free: 9.152 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6865, allocations: 0 / 1.036 GB, free: 9.152 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6865, allocations: 0 / 1.036 GB, free: 9.152 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.045e-05/0.6866, allocations: 0 / 1.036 GB, free: 9.152 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.003347/0.69, allocations: 1.719 MB / 1.038 GB, free: 7.371 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.69, allocations: 12.03 kB / 1.038 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.6902, allocations: 122.9 kB / 1.038 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/0.6924, allocations: 410.6 kB / 1.038 GB, free: 6.828 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.6944, allocations: 1.108 MB / 1.039 GB, free: 5.664 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003759/0.6948, allocations: 117.9 kB / 1.039 GB, free: 5.547 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.695, allocations: 80 kB / 1.039 GB, free: 5.469 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.6969, allocations: 1.009 MB / 1.04 GB, free: 4.402 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.697, allocations: 7.969 kB / 1.04 GB, free: 4.395 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.218e-05/0.6971, allocations: 32 kB / 1.04 GB, free: 4.363 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.6971, allocations: 20 kB / 1.041 GB, free: 4.344 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.6995, allocations: 0.8819 MB / 1.041 GB, free: 3.457 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.006332/0.7058, allocations: 5.259 MB / 1.047 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/0.7093, allocations: 0.7946 MB / 1.047 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007557/0.71, allocations: 312.5 kB / 1.048 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006504/0.7107, allocations: 0.9025 MB / 1.048 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.7107, allocations: 42.56 kB / 1.049 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 1.873e-06/0.7107, allocations: 0 / 1.049 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.008831/0.7196, allocations: 1.927 MB / 1.05 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.7196, allocations: 67.23 kB / 1.05 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.7212, allocations: 1.072 MB / 1.052 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.472e-05/0.7212, allocations: 37.7 kB / 1.052 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000448/0.7217, allocations: 0.539 MB / 1.052 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.7219, allocations: 145.8 kB / 1.052 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.7221, allocations: 142.1 kB / 1.052 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.7222, allocations: 326 kB / 1.053 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009482/0.7232, allocations: 315.3 kB / 1.053 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.7244, allocations: 0.5368 MB / 1.053 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.7261, allocations: 0.7207 MB / 1.054 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7261, allocations: 0 / 1.054 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003896/0.73, allocations: 1.169 MB / 1.055 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.73, allocations: 9.719 kB / 1.055 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.7301, allocations: 7.938 kB / 1.055 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.7313, allocations: 317.6 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.7319, allocations: 131.8 kB / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.7334, allocations: 0.9213 MB / 1.057 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.7346, allocations: 147.3 kB / 1.057 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/0.7347, allocations: 35.98 kB / 1.057 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001242/0.736, allocations: 0.5168 MB / 1.057 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001071/0.737, allocations: 0.5368 MB / 1.058 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001684/0.7387, allocations: 0.7135 MB / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.7388, allocations: 0 / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003675/0.7424, allocations: 1.164 MB / 1.06 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.7425, allocations: 8.062 kB / 1.06 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.7425, allocations: 8 kB / 1.06 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.7436, allocations: 312.5 kB / 1.06 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.7442, allocations: 139.8 kB / 1.06 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.7456, allocations: 0.902 MB / 1.061 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.7468, allocations: 143.5 kB / 1.061 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.064e-05/0.7469, allocations: 31.98 kB / 1.061 GB, free: 14.07 MB / 0.8262 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.0002145/0.7471, allocations: 221.2 kB / 1.061 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.7473, allocations: 110.7 kB / 1.062 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.7512, allocations: 1.11 MB / 1.063 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.7512, allocations: 11.94 kB / 1.063 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.7512, allocations: 0 / 1.063 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.7512, allocations: 3.984 kB / 1.063 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/0.7564, allocations: 2.195 MB / 1.065 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.7564, allocations: 8.219 kB / 1.065 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.7567, allocations: 71.89 kB / 1.065 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.7577, allocations: 300.6 kB / 1.065 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.7578, allocations: 15.98 kB / 1.065 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.7593, allocations: 0.9405 MB / 1.066 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7593, allocations: 7.922 kB / 1.066 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003757/0.763, allocations: 1.185 MB / 1.067 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.7635, allocations: 271.5 kB / 1.067 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.7637, allocations: 12 kB / 1.067 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008179/0.7645, allocations: 71.91 kB / 1.068 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.7646, allocations: 47.67 kB / 1.068 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-05/0.7646, allocations: 23.98 kB / 1.068 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001162/0.7658, allocations: 0.7473 MB / 1.068 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.7658, allocations: 0 / 1.068 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001487/0.7673, allocations: 0.5732 MB / 1.069 GB, free: 5.957 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.004811/0.7721, allocations: 2.007 MB / 1.071 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00355/0.7757, allocations: 1.165 MB / 1.072 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7757, allocations: 0 / 1.072 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009053/0.7766, allocations: 354.5 kB / 1.072 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.7791, allocations: 0.5181 MB / 1.073 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.7952, allocations: 8.756 MB / 1.081 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/0.7959, allocations: 1.065 MB / 1.082 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000937/0.7968, allocations: 234.5 kB / 1.083 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.7973, allocations: 411.3 kB / 1.083 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.7973, allocations: 0 / 1.083 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.317/2.114, allocations: 33.6 MB / 1.116 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.32/19.43, allocations: 2.969 kB / 1.116 GB, free: 5.758 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)