Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.545/2.545, allocations: 251.2 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001941/0.001941, allocations: 182.7 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.424/2.424, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 100.3 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006476/0.0006478, allocations: 15.92 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2132, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.07003/0.2833, allocations: 56.52 MB / 0.9542 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03068/0.314, allocations: 11.1 MB / 0.9651 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00304/0.3171, allocations: 51.62 kB / 0.9651 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003765/0.321, allocations: 452.9 kB / 0.9655 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.3314, allocations: 1.525 MB / 0.967 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006915/0.3384, allocations: 0.872 MB / 0.9679 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007126/0.3456, allocations: 3.418 MB / 0.9712 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/0.3479, allocations: 0.8484 MB / 0.972 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.3513, allocations: 1.034 MB / 0.9731 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.3536, allocations: 0.8088 MB / 0.9738 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003302/0.3539, allocations: 44 kB / 0.9739 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/0.3579, allocations: 1.088 MB / 0.975 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000507/0.3584, allocations: 199 kB / 0.9751 GB, free: 3.234 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006571/0.3591, allocations: 285 kB / 0.9754 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00359/0.3627, allocations: 1.629 MB / 0.977 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3628, allocations: 0 / 0.977 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3628, allocations: 0 / 0.977 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.062e-05/0.3628, allocations: 0 / 0.977 GB, free: 1.316 MB / 0.6198 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.004503/0.3673, allocations: 1.505 MB / 0.9785 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3674, allocations: 15.97 kB / 0.9785 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004192/0.3716, allocations: 466.9 kB / 0.9789 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004113/0.3758, allocations: 1.098 MB / 0.98 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007115/0.3766, allocations: 129.9 kB / 0.9801 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/0.3769, allocations: 80 kB / 0.9802 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00361/0.3805, allocations: 0.9995 MB / 0.9812 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/0.3806, allocations: 3.938 kB / 0.9812 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.3807, allocations: 32 kB / 0.9812 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.3808, allocations: 20 kB / 0.9812 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004306/0.3851, allocations: 0.9251 MB / 0.9821 GB, free: 11.9 MB / 0.6355 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.01071/0.3958, allocations: 4.652 MB / 0.9867 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006522/0.4024, allocations: 0.9304 MB / 0.9876 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.404, allocations: 341.9 kB / 0.9879 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009062/0.4049, allocations: 0.899 MB / 0.9888 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.405, allocations: 38.98 kB / 0.9888 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 7.955e-06/0.405, allocations: 4 kB / 0.9888 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.01537/0.4204, allocations: 2.018 MB / 0.9908 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.4205, allocations: 63.78 kB / 0.9909 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.4233, allocations: 1.051 MB / 0.9919 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.4236, allocations: 33.7 kB / 0.9919 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006822/0.4243, allocations: 0.5158 MB / 0.9924 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/0.4246, allocations: 169.6 kB / 0.9926 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/0.4247, allocations: 12 kB / 0.9926 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4248, allocations: 322 kB / 0.9929 GB, free: 260 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.4267, allocations: 333 kB / 0.9932 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/0.4289, allocations: 0.5392 MB / 0.9938 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.4309, allocations: 376.6 kB / 0.9941 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/0.4309, allocations: 0 / 0.9941 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.007202/0.4381, allocations: 1.225 MB / 0.9953 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.4384, allocations: 207.6 kB / 0.9955 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.4384, allocations: 4 kB / 0.9955 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002237/0.4406, allocations: 328.5 kB / 0.9958 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.4418, allocations: 139.8 kB / 0.996 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.4445, allocations: 0.9424 MB / 0.9969 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.4469, allocations: 187.3 kB / 0.9971 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.4471, allocations: 35.97 kB / 0.9971 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4472, allocations: 4 kB / 0.9971 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006348/0.4535, allocations: 1.084 MB / 0.9982 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.4536, allocations: 7.984 kB / 0.9982 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/0.4556, allocations: 322.9 kB / 0.9985 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.4568, allocations: 135.8 kB / 0.9986 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.4593, allocations: 0.9308 MB / 0.9995 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.4615, allocations: 179.2 kB / 0.9997 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.4617, allocations: 31.98 kB / 0.9997 GB, free: 9.078 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007693/0.4625, allocations: 345 kB / 1 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/0.4628, allocations: 110.7 kB / 1 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007163/0.47, allocations: 1.252 MB / 1.001 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/0.47, allocations: 4 kB / 1.001 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.47, allocations: 0 / 1.001 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.4701, allocations: 3.984 kB / 1.001 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009958/0.48, allocations: 2.321 MB / 1.004 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/0.4801, allocations: 8 kB / 1.004 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.4808, allocations: 71.89 kB / 1.004 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/0.4828, allocations: 332.8 kB / 1.004 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.4829, allocations: 11.98 kB / 1.004 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/0.4856, allocations: 0.9621 MB / 1.005 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.4856, allocations: 7.938 kB / 1.005 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.4972, allocations: 1.449 MB / 1.006 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/0.4987, allocations: 299.4 kB / 1.007 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005644/0.4993, allocations: 8 kB / 1.007 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003194/0.5026, allocations: 111.9 kB / 1.007 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/0.5029, allocations: 35.91 kB / 1.007 GB, free: 1.574 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/0.5031, allocations: 27.92 kB / 1.007 GB, free: 1.547 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003107/0.5062, allocations: 0.743 MB / 1.008 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.432e-06/0.5063, allocations: 0 / 1.008 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003901/0.5102, allocations: 0.5613 MB / 1.008 GB, free: 240 kB / 0.6511 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/0.5118, allocations: 353 kB / 1.008 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008428/0.5203, allocations: 1.217 MB / 1.01 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/0.5204, allocations: 0 / 1.01 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002498/0.5229, allocations: 387 kB / 1.01 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0069/0.5298, allocations: 0.5306 MB / 1.011 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.5399, allocations: 2.492 MB / 1.013 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008466/0.5408, allocations: 1.062 MB / 1.014 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001808/0.5427, allocations: 240.7 kB / 1.014 GB, free: 9.887 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/0.5431, allocations: 75.42 kB / 1.014 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of SimCode: time 1.353e-06/0.5431, allocations: 0 / 1.014 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of Templates: time 0.09404/0.6371, allocations: 23.52 MB / 1.037 GB, free: 2.504 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)