Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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.004697/0.004697, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.001344/0.001344, allocations: 199.1 kB / 16.68 MB, free: 5.969 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.486/2.486, allocations: 482.6 MB / 0.7551 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 71.84 kB / 1.083 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.253, allocations: 162.3 MB / 1.242 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.4981/0.7511, allocations: 73.97 MB / 1.314 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01712/0.7682, allocations: 13.74 MB / 1.328 GB, free: 4.684 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.7698, allocations: 71.59 kB / 1.328 GB, free: 4.656 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.7715, allocations: 0.7823 MB / 1.328 GB, free: 4.148 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004511/0.776, allocations: 2.185 MB / 1.33 GB, free: 2.828 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.7795, allocations: 1.675 MB / 1.332 GB, free: 1.914 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003898/0.7834, allocations: 3.714 MB / 1.336 GB, free: 80 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.7849, allocations: 1.306 MB / 1.337 GB, free: 15.44 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.7882, allocations: 1.798 MB / 1.339 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.7894, allocations: 1.104 MB / 1.34 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.7895, allocations: 138.9 kB / 1.34 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.7924, allocations: 1.672 MB / 1.342 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.7928, allocations: 355.5 kB / 1.342 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007528/0.7935, allocations: 0.8556 MB / 1.343 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003197/0.7967, allocations: 2.743 MB / 1.345 GB, free: 11.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.7967, allocations: 0 / 1.345 GB, free: 11.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7967, allocations: 0 / 1.345 GB, free: 11.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.7968, allocations: 0 / 1.345 GB, free: 11.64 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002993/0.7997, allocations: 2.078 MB / 1.348 GB, free: 10.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.7998, allocations: 9.281 kB / 1.348 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/0.7999, allocations: 146.5 kB / 1.348 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.8021, allocations: 497.4 kB / 1.348 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.8043, allocations: 1.333 MB / 1.349 GB, free: 9.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.698e-05/0.8044, allocations: 80.97 kB / 1.35 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.8045, allocations: 99.5 kB / 1.35 GB, free: 9.164 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.8066, allocations: 1.202 MB / 1.351 GB, free: 8.605 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.8066, allocations: 1.375 kB / 1.351 GB, free: 8.605 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/0.8067, allocations: 40.84 kB / 1.351 GB, free: 8.574 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.8067, allocations: 30.59 kB / 1.351 GB, free: 8.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.8091, allocations: 1.063 MB / 1.352 GB, free: 8.215 MB / 1.061 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.006352/0.8155, allocations: 6.319 MB / 1.358 GB, free: 2.688 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.8177, allocations: 0.931 MB / 1.359 GB, free: 2.219 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.8187, allocations: 451.7 kB / 1.359 GB, free: 2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.82, allocations: 1.675 MB / 1.361 GB, free: 48 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.8201, allocations: 38.12 kB / 1.361 GB, free: 4 kB / 1.061 GB Notification: Performance of pre-optimization done (n=65): time 1.633e-06/0.8201, allocations: 1.125 kB / 1.361 GB, free: 4 kB / 1.061 GB Notification: Performance of matching and sorting (n=65): time 0.008429/0.8285, allocations: 2.301 MB / 1.363 GB, free: 14.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.8286, allocations: 58.69 kB / 1.363 GB, free: 14.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.8298, allocations: 1.119 MB / 1.364 GB, free: 14.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.8299, allocations: 38.52 kB / 1.365 GB, free: 14.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/0.8304, allocations: 0.6286 MB / 1.365 GB, free: 13.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.8306, allocations: 245.8 kB / 1.365 GB, free: 13.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.8308, allocations: 158.9 kB / 1.366 GB, free: 13.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.8309, allocations: 333.5 kB / 1.366 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009703/0.8319, allocations: 400.7 kB / 1.366 GB, free: 12.71 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.8331, allocations: 0.61 MB / 1.367 GB, free: 12.25 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.8351, allocations: 0.9132 MB / 1.368 GB, free: 11.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8351, allocations: 1.125 kB / 1.368 GB, free: 11.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003478/0.8386, allocations: 1.372 MB / 1.369 GB, free: 11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.8386, allocations: 7.281 kB / 1.369 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.8386, allocations: 3.438 kB / 1.369 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.8397, allocations: 306.9 kB / 1.369 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/0.8403, allocations: 170.8 kB / 1.369 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.8415, allocations: 0.9053 MB / 1.37 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009074/0.8425, allocations: 149 kB / 1.371 GB, free: 9.992 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.11e-05/0.8426, allocations: 39.94 kB / 1.371 GB, free: 9.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001239/0.8438, allocations: 0.6149 MB / 1.371 GB, free: 9.621 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001137/0.845, allocations: 0.6059 MB / 1.372 GB, free: 9.164 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001978/0.8469, allocations: 0.9054 MB / 1.373 GB, free: 8.609 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.847, allocations: 1.125 kB / 1.373 GB, free: 8.609 MB / 1.076 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.003355/0.8503, allocations: 1.343 MB / 1.374 GB, free: 7.941 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.8503, allocations: 7.562 kB / 1.374 GB, free: 7.941 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8503, allocations: 4.719 kB / 1.374 GB, free: 7.941 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008891/0.8512, allocations: 294.1 kB / 1.374 GB, free: 7.805 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.8519, allocations: 171.1 kB / 1.374 GB, free: 7.758 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.8531, allocations: 0.9055 MB / 1.375 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/0.8539, allocations: 125.5 kB / 1.375 GB, free: 6.965 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/0.854, allocations: 42.25 kB / 1.375 GB, free: 6.949 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (75): * Single equations (assignments): 74 * 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.0001885/0.8542, allocations: 225.3 kB / 1.376 GB, free: 6.734 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.8544, allocations: 138.3 kB / 1.376 GB, free: 6.66 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00458/0.859, allocations: 1.736 MB / 1.377 GB, free: 5.695 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.859, allocations: 11.67 kB / 1.378 GB, free: 5.691 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.859, allocations: 0.9062 kB / 1.378 GB, free: 5.691 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.8591, allocations: 3.984 kB / 1.378 GB, free: 5.688 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005668/0.8647, allocations: 2.882 MB / 1.38 GB, free: 3.793 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.8647, allocations: 1.219 kB / 1.38 GB, free: 3.793 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/0.8653, allocations: 132.7 kB / 1.38 GB, free: 3.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008087/0.8661, allocations: 281.5 kB / 1.381 GB, free: 3.621 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/0.8662, allocations: 29.47 kB / 1.381 GB, free: 3.602 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.8674, allocations: 0.9301 MB / 1.382 GB, free: 2.863 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8675, allocations: 2 kB / 1.382 GB, free: 2.863 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004061/0.8715, allocations: 1.578 MB / 1.383 GB, free: 1.965 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.8719, allocations: 344.6 kB / 1.384 GB, free: 1.664 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.8721, allocations: 16.08 kB / 1.384 GB, free: 1.652 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007935/0.8729, allocations: 82.53 kB / 1.384 GB, free: 1.613 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.873, allocations: 57.25 kB / 1.384 GB, free: 1.582 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-05/0.873, allocations: 32.61 kB / 1.384 GB, free: 1.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009063/0.874, allocations: 0.7716 MB / 1.384 GB, free: 1.141 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/0.874, allocations: 0 / 1.384 GB, free: 1.141 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001629/0.8756, allocations: 0.7399 MB / 1.385 GB, free: 0.9609 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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.004962/0.8806, allocations: 2.498 MB / 1.388 GB, free: 15.37 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003415/0.884, allocations: 1.563 MB / 1.389 GB, free: 14.65 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.884, allocations: 1.406 kB / 1.389 GB, free: 14.65 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.8852, allocations: 0.5618 MB / 1.39 GB, free: 14.39 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/0.8876, allocations: 0.6229 MB / 1.39 GB, free: 13.97 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/0.9026, allocations: 9.576 MB / 1.4 GB, free: 4.117 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007121/0.9033, allocations: 1.166 MB / 1.401 GB, free: 2.926 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008949/0.9042, allocations: 321.9 kB / 1.401 GB, free: 2.609 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000644/0.9048, allocations: 0.5383 MB / 1.402 GB, free: 2.07 MB / 1.092 GB Notification: Performance of SimCode: time 1.904e-06/0.9049, allocations: 4 kB / 1.402 GB, free: 2.066 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.901/6.806, allocations: 41.24 MB / 1.442 GB, free: 9.406 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.18/24.99, allocations: 8.688 kB / 1.442 GB, free: 9.398 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)