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.006512/0.006512, allocations: 100.5 kB / 15.73 MB, free: 5.988 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.001404/0.001404, allocations: 192.5 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 222.6 MB, free: 4.344 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.609/1.609, allocations: 251.7 MB / 0.5094 GB, free: 3.066 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.001593/0.001593, allocations: 71.91 kB / 0.7258 GB, free: 9.113 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2138, allocations: 104.7 MB / 0.828 GB, free: 320 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06713/0.2809, allocations: 61.22 MB / 0.8878 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01786/0.2989, allocations: 11.87 MB / 0.8994 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002839/0.3017, allocations: 59.62 kB / 0.8995 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.3042, allocations: 0.6987 MB / 0.9001 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006606/0.3108, allocations: 2.049 MB / 0.9021 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003719/0.3146, allocations: 1.222 MB / 0.9033 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.6223/0.9369, allocations: 3.081 MB / 0.9063 GB, free: 21.39 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/0.9394, allocations: 1.101 MB / 0.9074 GB, free: 21.31 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004827/0.9443, allocations: 1.355 MB / 0.9087 GB, free: 21.31 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.9468, allocations: 0.9089 MB / 0.9096 GB, free: 21.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003401/0.9471, allocations: 117 kB / 0.9097 GB, free: 21.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/0.9509, allocations: 1.413 MB / 0.9111 GB, free: 21.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004147/0.9514, allocations: 291.9 kB / 0.9114 GB, free: 21.21 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.9527, allocations: 0.7026 MB / 0.9121 GB, free: 21.01 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005768/0.9584, allocations: 2.294 MB / 0.9143 GB, free: 20.8 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.9585, allocations: 4.578 kB / 0.9143 GB, free: 20.8 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.375e-06/0.9585, allocations: 0 / 0.9143 GB, free: 20.8 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.06e-05/0.9586, allocations: 1.25 kB / 0.9143 GB, free: 20.8 MB / 0.7169 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.005334/0.9639, allocations: 1.726 MB / 0.916 GB, free: 19.87 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.964, allocations: 10.28 kB / 0.916 GB, free: 19.87 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.9666, allocations: 408.3 kB / 0.9164 GB, free: 19.79 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/0.9696, allocations: 1.164 MB / 0.9176 GB, free: 19.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.9697, allocations: 65.97 kB / 0.9176 GB, free: 19.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.9699, allocations: 81.12 kB / 0.9177 GB, free: 19.4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/0.9727, allocations: 0.9992 MB / 0.9187 GB, free: 19.21 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.9727, allocations: 1.594 kB / 0.9187 GB, free: 19.21 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.66e-05/0.9728, allocations: 37.8 kB / 0.9187 GB, free: 19.21 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/0.9729, allocations: 17.31 kB / 0.9187 GB, free: 19.21 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/0.9753, allocations: 0.8708 MB / 0.9196 GB, free: 19.19 MB / 0.7169 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.007856/0.9831, allocations: 4.965 MB / 0.9244 GB, free: 16.42 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/0.9866, allocations: 0.8336 MB / 0.9252 GB, free: 16.37 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007842/0.9874, allocations: 311.7 kB / 0.9255 GB, free: 16.36 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005815/0.988, allocations: 0.9058 MB / 0.9264 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.988, allocations: 36.78 kB / 0.9265 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=47): time 3.276e-06/0.9881, allocations: 0 / 0.9265 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of matching and sorting (n=47): time 0.007966/0.996, allocations: 1.761 MB / 0.9282 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.9961, allocations: 57.11 kB / 0.9282 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.9989, allocations: 1.077 MB / 0.9293 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.999, allocations: 37.27 kB / 0.9293 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.9995, allocations: 0.5288 MB / 0.9298 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.9997, allocations: 167.1 kB / 0.93 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003544/1, allocations: 144.8 kB / 0.9301 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.674e-05/1, allocations: 332.6 kB / 0.9305 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009768/1.001, allocations: 324 kB / 0.9308 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/1.002, allocations: 0.5419 MB / 0.9313 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/1.004, allocations: 0.7232 MB / 0.932 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/1.004, allocations: 2.438 kB / 0.932 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.004137/1.008, allocations: 1.19 MB / 0.9332 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/1.008, allocations: 6.531 kB / 0.9332 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/1.008, allocations: 9.312 kB / 0.9332 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/1.01, allocations: 304.4 kB / 0.9335 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/1.01, allocations: 140 kB / 0.9336 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/1.012, allocations: 0.9005 MB / 0.9345 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/1.014, allocations: 152.6 kB / 0.9346 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/1.014, allocations: 32.75 kB / 0.9347 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001581/1.016, allocations: 0.5251 MB / 0.9352 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001114/1.017, allocations: 0.5372 MB / 0.9357 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001859/1.019, allocations: 0.7215 MB / 0.9364 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.918e-06/1.019, allocations: 1.125 kB / 0.9364 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003878/1.023, allocations: 1.167 MB / 0.9375 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.023, allocations: 11.06 kB / 0.9376 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.023, allocations: 4.562 kB / 0.9376 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/1.024, allocations: 303.4 kB / 0.9378 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/1.025, allocations: 130.2 kB / 0.938 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/1.026, allocations: 0.8912 MB / 0.9388 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/1.028, allocations: 140.4 kB / 0.939 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/1.028, allocations: 31.23 kB / 0.939 GB, free: 11.69 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (61): * Single equations (assignments): 60 * 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.0003631/1.028, allocations: 228.8 kB / 0.9392 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004917/1.029, allocations: 113.5 kB / 0.9393 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/1.033, allocations: 1.131 MB / 0.9404 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/1.033, allocations: 10.47 kB / 0.9404 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.033, allocations: 3.938 kB / 0.9404 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/1.033, allocations: 0 / 0.9404 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006551/1.039, allocations: 2.206 MB / 0.9426 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/1.039, allocations: 1.594 kB / 0.9426 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/1.04, allocations: 70.97 kB / 0.9427 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/1.041, allocations: 296.9 kB / 0.943 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-05/1.041, allocations: 20.03 kB / 0.943 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/1.043, allocations: 0.9249 MB / 0.9439 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.043, allocations: 3.062 kB / 0.9439 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004944/1.048, allocations: 1.315 MB / 0.9452 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009361/1.049, allocations: 265.4 kB / 0.9454 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004965/1.049, allocations: 22.02 kB / 0.9454 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/1.05, allocations: 70.02 kB / 0.9455 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/1.05, allocations: 46.16 kB / 0.9455 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.898e-05/1.051, allocations: 23.03 kB / 0.9456 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002009/1.053, allocations: 0.7522 MB / 0.9463 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.81e-07/1.053, allocations: 3.938 kB / 0.9463 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004181/1.057, allocations: 0.5721 MB / 0.9469 GB, free: 9.652 MB / 0.7169 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 (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.001523/1.058, allocations: 366.5 kB / 0.9472 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004262/1.063, allocations: 1.18 MB / 0.9484 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.063, allocations: 2.312 kB / 0.9484 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000995/1.064, allocations: 363.7 kB / 0.9487 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004129/1.068, allocations: 0.54 MB / 0.9492 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005784/1.074, allocations: 2.016 MB / 0.9512 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007158/1.074, allocations: 1.067 MB / 0.9523 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001316/1.076, allocations: 235.2 kB / 0.9525 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/1.076, allocations: 82.23 kB / 0.9526 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of SimCode: time 1.072e-06/1.076, allocations: 0 / 0.9526 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of Templates: time 0.04879/1.125, allocations: 25.71 MB / 0.9777 GB, free: 7.723 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (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)