Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008221/0.0008222, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009427/0.0009426, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 252 MB / 0.5102 GB, free: 4.773 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005649/0.0005652, allocations: 12 kB / 0.6243 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5021/0.5026, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05269/0.5554, allocations: 56.52 MB / 0.7833 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.5718, allocations: 11.1 MB / 0.7942 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003056/0.575, allocations: 51.62 kB / 0.7942 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.5768, allocations: 460.9 kB / 0.7946 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005134/0.582, allocations: 1.526 MB / 0.7961 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.585, allocations: 0.8726 MB / 0.797 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00481/0.5899, allocations: 3.389 MB / 0.8003 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.5912, allocations: 0.7859 MB / 0.8011 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.5934, allocations: 1.03 MB / 0.8021 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.5946, allocations: 0.8127 MB / 0.8029 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.5947, allocations: 44 kB / 0.8029 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.5973, allocations: 1.088 MB / 0.804 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.5976, allocations: 203 kB / 0.8042 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003783/0.598, allocations: 285 kB / 0.8044 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.5998, allocations: 1.621 MB / 0.806 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5999, allocations: 7.938 kB / 0.806 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5999, allocations: 0 / 0.806 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.874e-05/0.5999, allocations: 0 / 0.806 GB, free: 11.44 MB / 0.6231 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.002643/0.6025, allocations: 1.501 MB / 0.8075 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.6026, allocations: 8.031 kB / 0.8075 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.6046, allocations: 477.9 kB / 0.8079 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.607, allocations: 1.086 MB / 0.809 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/0.6074, allocations: 129.9 kB / 0.8091 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.6075, allocations: 80 kB / 0.8092 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.6096, allocations: 1.003 MB / 0.8102 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.6096, allocations: 0 / 0.8102 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.682e-05/0.6097, allocations: 32 kB / 0.8102 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.6097, allocations: 20 kB / 0.8102 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.612, allocations: 0.9366 MB / 0.8112 GB, free: 6.027 MB / 0.6231 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.00651/0.6185, allocations: 4.645 MB / 0.8157 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/0.6218, allocations: 0.9265 MB / 0.8166 GB, free: 132 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007757/0.6226, allocations: 345.9 kB / 0.8169 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000902/0.6235, allocations: 0.9029 MB / 0.8178 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.6236, allocations: 43 kB / 0.8178 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.205e-06/0.6236, allocations: 3.938 kB / 0.8178 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47): time 0.007554/0.6312, allocations: 1.998 MB / 0.8198 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.6312, allocations: 63.73 kB / 0.8199 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.6331, allocations: 1.055 MB / 0.8209 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.841e-05/0.6332, allocations: 37.7 kB / 0.8209 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005625/0.6338, allocations: 0.508 MB / 0.8214 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.634, allocations: 165.6 kB / 0.8216 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.634, allocations: 12 kB / 0.8216 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6342, allocations: 330 kB / 0.8219 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008341/0.635, allocations: 344.8 kB / 0.8222 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.636, allocations: 0.5212 MB / 0.8227 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008921/0.6369, allocations: 376.5 kB / 0.8231 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6369, allocations: 0 / 0.8231 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003796/0.6407, allocations: 1.229 MB / 0.8243 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/0.6409, allocations: 205.2 kB / 0.8245 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.641, allocations: 4 kB / 0.8245 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.6422, allocations: 336.5 kB / 0.8248 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.6427, allocations: 135.8 kB / 0.825 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.6442, allocations: 0.9339 MB / 0.8259 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.6455, allocations: 195.3 kB / 0.8261 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.935e-05/0.6456, allocations: 31.98 kB / 0.8261 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.6456, allocations: 6.031 kB / 0.8261 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003016/0.6487, allocations: 1.089 MB / 0.8272 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.6487, allocations: 8.062 kB / 0.8272 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.6497, allocations: 324.5 kB / 0.8275 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/0.6503, allocations: 131.8 kB / 0.8276 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.6516, allocations: 0.9347 MB / 0.8285 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.6529, allocations: 179.2 kB / 0.8287 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.653, allocations: 27.98 kB / 0.8287 GB, free: 3.227 MB / 0.6387 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.0007106/0.6537, allocations: 356.9 kB / 0.829 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.6539, allocations: 106.7 kB / 0.8291 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/0.6574, allocations: 1.241 MB / 0.8304 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.6575, allocations: 8 kB / 0.8304 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.6575, allocations: 4 kB / 0.8304 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.6575, allocations: 3.984 kB / 0.8304 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004941/0.6624, allocations: 2.306 MB / 0.8326 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.6625, allocations: 4 kB / 0.8326 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.6628, allocations: 79.88 kB / 0.8327 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009704/0.6638, allocations: 332.7 kB / 0.833 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.6638, allocations: 19.98 kB / 0.833 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/0.6652, allocations: 0.9621 MB / 0.834 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.6652, allocations: 8.016 kB / 0.834 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/0.6693, allocations: 1.453 MB / 0.8354 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006391/0.67, allocations: 283.4 kB / 0.8357 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.6701, allocations: 15.98 kB / 0.8357 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008257/0.6709, allocations: 111.8 kB / 0.8358 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.671, allocations: 43.8 kB / 0.8358 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/0.6711, allocations: 27.92 kB / 0.8359 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00121/0.6723, allocations: 0.7391 MB / 0.8366 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6723, allocations: 0 / 0.8366 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001622/0.674, allocations: 0.5536 MB / 0.8371 GB, free: 10.39 MB / 0.6544 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.0007484/0.6747, allocations: 358 kB / 0.8375 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003072/0.6778, allocations: 1.214 MB / 0.8387 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.6778, allocations: 12.25 kB / 0.8387 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009141/0.6788, allocations: 386.7 kB / 0.839 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.6811, allocations: 0.5251 MB / 0.8396 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/0.6863, allocations: 2.495 MB / 0.842 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.687, allocations: 1.066 MB / 0.843 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001066/0.688, allocations: 224.8 kB / 0.8432 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.6882, allocations: 87.41 kB / 0.8433 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of SimCode: time 6.71e-07/0.6882, allocations: 0 / 0.8433 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of Templates: time 0.04002/0.7283, allocations: 23.52 MB / 0.8663 GB, free: 12.73 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) Environment - environmentSimulation: