Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.33/2.33, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 193.4 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 111.3 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 49.72 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2395, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.04093/0.2805, allocations: 60.93 MB / 1.278 GB, free: 56.11 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01327/0.2938, allocations: 12.07 MB / 1.289 GB, free: 44 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.2962, allocations: 51.69 kB / 1.289 GB, free: 43.95 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.2979, allocations: 0.5477 MB / 1.29 GB, free: 43.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004735/0.3026, allocations: 1.82 MB / 1.292 GB, free: 41.57 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.3051, allocations: 1.068 MB / 1.293 GB, free: 40.52 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003557/0.3087, allocations: 3.94 MB / 1.297 GB, free: 36.56 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.3098, allocations: 0.9456 MB / 1.298 GB, free: 35.59 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.3122, allocations: 1.17 MB / 1.299 GB, free: 34.41 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.3134, allocations: 0.906 MB / 1.3 GB, free: 33.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.3135, allocations: 56 kB / 1.3 GB, free: 33.45 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.3159, allocations: 1.341 MB / 1.301 GB, free: 32.11 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.3162, allocations: 234.8 kB / 1.301 GB, free: 31.88 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006002/0.3168, allocations: 0.6411 MB / 1.302 GB, free: 31.23 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.3191, allocations: 2.251 MB / 1.304 GB, free: 28.97 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3191, allocations: 0 / 1.304 GB, free: 28.97 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.71e-07/0.3191, allocations: 0 / 1.304 GB, free: 28.97 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.3191, allocations: 0 / 1.304 GB, free: 28.97 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002577/0.3217, allocations: 1.743 MB / 1.306 GB, free: 27.17 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.3218, allocations: 11.98 kB / 1.306 GB, free: 27.16 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.3237, allocations: 410.8 kB / 1.306 GB, free: 26.75 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.3254, allocations: 1.14 MB / 1.307 GB, free: 25.56 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003209/0.3257, allocations: 117.9 kB / 1.307 GB, free: 25.44 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.34e-05/0.3258, allocations: 83.94 kB / 1.307 GB, free: 25.36 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.3276, allocations: 1.005 MB / 1.308 GB, free: 24.31 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.3276, allocations: 4 kB / 1.308 GB, free: 24.31 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.3277, allocations: 28 kB / 1.308 GB, free: 24.28 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.3277, allocations: 20 kB / 1.308 GB, free: 24.26 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.33, allocations: 0.9015 MB / 1.309 GB, free: 23.36 MB / 0.823 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.005029/0.335, allocations: 4.848 MB / 1.314 GB, free: 18.16 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/0.3381, allocations: 0.8088 MB / 1.315 GB, free: 17.34 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007291/0.3389, allocations: 317.7 kB / 1.315 GB, free: 17.03 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005552/0.3394, allocations: 0.9025 MB / 1.316 GB, free: 15.92 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.3395, allocations: 38.56 kB / 1.316 GB, free: 15.88 MB / 0.823 GB Notification: Performance of pre-optimization done (n=44): time 6.162e-06/0.3395, allocations: 0 / 1.316 GB, free: 15.88 MB / 0.823 GB Notification: Performance of matching and sorting (n=44): time 0.007951/0.3475, allocations: 1.958 MB / 1.318 GB, free: 13.89 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.3475, allocations: 55.41 kB / 1.318 GB, free: 13.82 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.3488, allocations: 1.052 MB / 1.319 GB, free: 12.75 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.3488, allocations: 41.64 kB / 1.319 GB, free: 12.71 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.3491, allocations: 0.5313 MB / 1.32 GB, free: 12.17 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.493e-05/0.3492, allocations: 157.8 kB / 1.32 GB, free: 12.02 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.3494, allocations: 130 kB / 1.32 GB, free: 11.88 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.35e-05/0.3495, allocations: 333.9 kB / 1.32 GB, free: 11.55 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008306/0.3503, allocations: 314.9 kB / 1.321 GB, free: 11.24 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009616/0.3513, allocations: 0.5222 MB / 1.321 GB, free: 10.63 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.3528, allocations: 0.7072 MB / 1.322 GB, free: 9.863 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3528, allocations: 0 / 1.322 GB, free: 9.863 MB / 0.823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002563/0.3554, allocations: 1.023 MB / 1.323 GB, free: 8.828 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3554, allocations: 8 kB / 1.323 GB, free: 8.82 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.3555, allocations: 4 kB / 1.323 GB, free: 8.816 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.3566, allocations: 313.1 kB / 1.323 GB, free: 8.508 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.3572, allocations: 127.8 kB / 1.323 GB, free: 8.383 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.3584, allocations: 0.9174 MB / 1.324 GB, free: 7.441 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.3597, allocations: 179.2 kB / 1.324 GB, free: 7.266 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.3598, allocations: 35.98 kB / 1.324 GB, free: 7.23 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001101/0.3609, allocations: 0.5127 MB / 1.325 GB, free: 6.711 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009011/0.3618, allocations: 0.5295 MB / 1.325 GB, free: 6.098 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001472/0.3633, allocations: 0.6991 MB / 1.326 GB, free: 5.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.3633, allocations: 0 / 1.326 GB, free: 5.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.002373/0.3657, allocations: 1.015 MB / 1.327 GB, free: 4.312 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.3657, allocations: 4 kB / 1.327 GB, free: 4.309 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3657, allocations: 4 kB / 1.327 GB, free: 4.305 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009812/0.3667, allocations: 309 kB / 1.327 GB, free: 4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.3672, allocations: 127.8 kB / 1.327 GB, free: 3.875 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.3683, allocations: 0.9023 MB / 1.328 GB, free: 2.949 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.3696, allocations: 175.4 kB / 1.328 GB, free: 2.777 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.3696, allocations: 27.98 kB / 1.328 GB, free: 2.75 MB / 0.823 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 (52): * Single equations (assignments): 51 * 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.0001804/0.3698, allocations: 215.9 kB / 1.329 GB, free: 2.535 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.37, allocations: 106.7 kB / 1.329 GB, free: 2.43 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/0.3735, allocations: 1.142 MB / 1.33 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.3735, allocations: 7.938 kB / 1.33 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3735, allocations: 0 / 1.33 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3735, allocations: 11.92 kB / 1.33 GB, free: 1.246 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004983/0.3785, allocations: 2.226 MB / 1.332 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/0.3786, allocations: 4 kB / 1.332 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.3789, allocations: 67.89 kB / 1.332 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.3799, allocations: 309.7 kB / 1.332 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.38, allocations: 15.98 kB / 1.332 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.3815, allocations: 0.9476 MB / 1.333 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3815, allocations: 4 kB / 1.333 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005321/0.3868, allocations: 2.313 MB / 1.336 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.3874, allocations: 267.5 kB / 1.336 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.3876, allocations: 8 kB / 1.336 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009795/0.3886, allocations: 103.8 kB / 1.336 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.766e-05/0.3887, allocations: 35.95 kB / 1.336 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.3887, allocations: 27.92 kB / 1.336 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001277/0.39, allocations: 0.7432 MB / 1.337 GB, free: 9.969 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.2e-07/0.39, allocations: 0 / 1.337 GB, free: 9.969 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001986/0.392, allocations: 0.5809 MB / 1.337 GB, free: 9.387 MB / 0.8386 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.0008628/0.3929, allocations: 382.2 kB / 1.338 GB, free: 9.012 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003461/0.3964, allocations: 1.137 MB / 1.339 GB, free: 7.867 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.3964, allocations: 4 kB / 1.339 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009969/0.3974, allocations: 370.4 kB / 1.339 GB, free: 7.504 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/0.4002, allocations: 0.4955 MB / 1.34 GB, free: 7.016 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005848/0.406, allocations: 2.768 MB / 1.342 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/0.4068, allocations: 1.081 MB / 1.343 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001013/0.4078, allocations: 213.8 kB / 1.344 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.408, allocations: 83.36 kB / 1.344 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of SimCode: time 6.21e-07/0.4081, allocations: 0 / 1.344 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of Templates: time 0.04134/0.4494, allocations: 24.67 MB / 1.368 GB, free: 10.36 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)