Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001081/0.001081, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001229/0.001229, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.41/1.41, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.3 MB / 0.5495 GB, free: 17.66 MB / 462.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.001462/0.001462, allocations: 71.91 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2344, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.455/0.6894, allocations: 61.21 MB / 0.8438 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.7056, allocations: 11.9 MB / 0.8555 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002523/0.7081, allocations: 58.75 kB / 0.8555 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.7108, allocations: 0.6853 MB / 0.8562 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006835/0.7176, allocations: 1.949 MB / 0.8581 GB, free: 14.89 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004302/0.722, allocations: 1.218 MB / 0.8593 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005805/0.7278, allocations: 3.075 MB / 0.8623 GB, free: 12.71 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002413/0.7302, allocations: 1.105 MB / 0.8634 GB, free: 12.23 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005621/0.7359, allocations: 1.338 MB / 0.8647 GB, free: 11.57 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003503/0.7394, allocations: 0.9085 MB / 0.8656 GB, free: 11.14 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006946/0.7402, allocations: 116.6 kB / 0.8657 GB, free: 11.14 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004991/0.7452, allocations: 1.446 MB / 0.8671 GB, free: 10.65 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008035/0.746, allocations: 290.3 kB / 0.8674 GB, free: 10.46 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002258/0.7483, allocations: 0.6984 MB / 0.868 GB, free: 10.02 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007077/0.7554, allocations: 2.315 MB / 0.8703 GB, free: 8.855 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.7554, allocations: 1.125 kB / 0.8703 GB, free: 8.855 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7554, allocations: 0 / 0.8703 GB, free: 8.855 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.561e-05/0.7555, allocations: 0 / 0.8703 GB, free: 8.855 MB / 0.67 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.005361/0.7609, allocations: 1.726 MB / 0.872 GB, free: 7.523 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.7609, allocations: 12.34 kB / 0.872 GB, free: 7.523 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/0.7635, allocations: 409.4 kB / 0.8724 GB, free: 7.336 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/0.7667, allocations: 1.113 MB / 0.8735 GB, free: 6.434 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004049/0.7672, allocations: 122.9 kB / 0.8736 GB, free: 6.379 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/0.7674, allocations: 83.8 kB / 0.8737 GB, free: 6.352 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/0.77, allocations: 1.003 MB / 0.8747 GB, free: 5.695 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.7701, allocations: 0.8125 kB / 0.8747 GB, free: 5.695 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.7702, allocations: 32.59 kB / 0.8747 GB, free: 5.672 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.7702, allocations: 19.38 kB / 0.8747 GB, free: 5.672 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.7728, allocations: 0.8855 MB / 0.8756 GB, free: 5.227 MB / 0.67 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.008573/0.7813, allocations: 4.96 MB / 0.8804 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003469/0.7848, allocations: 0.842 MB / 0.8812 GB, free: 400 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008509/0.7857, allocations: 317.2 kB / 0.8815 GB, free: 244 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008195/0.7866, allocations: 0.9043 MB / 0.8824 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.7867, allocations: 37.98 kB / 0.8825 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 3.146e-06/0.7867, allocations: 4 kB / 0.8825 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.007897/0.7946, allocations: 1.804 MB / 0.8842 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.7947, allocations: 56.44 kB / 0.8843 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/0.7969, allocations: 1.078 MB / 0.8853 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.7971, allocations: 38.61 kB / 0.8854 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/0.7976, allocations: 0.5256 MB / 0.8859 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.7978, allocations: 166.2 kB / 0.886 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003419/0.7981, allocations: 146.1 kB / 0.8862 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.7983, allocations: 327.3 kB / 0.8865 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009894/0.7993, allocations: 327.5 kB / 0.8868 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.8005, allocations: 0.551 MB / 0.8873 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.8025, allocations: 0.7313 MB / 0.8881 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/0.8025, allocations: 1.031 kB / 0.8881 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.004184/0.8067, allocations: 1.221 MB / 0.8892 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.8068, allocations: 7.406 kB / 0.8893 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.8068, allocations: 8.578 kB / 0.8893 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.8082, allocations: 312.9 kB / 0.8896 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006492/0.8088, allocations: 133.6 kB / 0.8897 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.8105, allocations: 0.9152 MB / 0.8906 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.8121, allocations: 150.4 kB / 0.8907 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.8122, allocations: 39.11 kB / 0.8908 GB, free: 9.77 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001424/0.8137, allocations: 0.5259 MB / 0.8913 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001223/0.8149, allocations: 0.543 MB / 0.8918 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001804/0.8167, allocations: 0.7316 MB / 0.8925 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.676e-06/0.8167, allocations: 2.156 kB / 0.8925 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.004107/0.8208, allocations: 1.198 MB / 0.8937 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.8209, allocations: 7.156 kB / 0.8937 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.8209, allocations: 4.812 kB / 0.8937 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.8222, allocations: 306.4 kB / 0.894 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/0.8228, allocations: 137.5 kB / 0.8941 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.8244, allocations: 0.9154 MB / 0.895 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.8258, allocations: 140.4 kB / 0.8952 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.404e-05/0.8259, allocations: 31.36 kB / 0.8952 GB, free: 6.949 MB / 0.6856 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.0002807/0.8262, allocations: 216.3 kB / 0.8954 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/0.8266, allocations: 121.7 kB / 0.8955 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/0.8305, allocations: 1.142 MB / 0.8966 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.8306, allocations: 9.828 kB / 0.8966 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.8306, allocations: 4.469 kB / 0.8966 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.8306, allocations: 0 / 0.8966 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005805/0.8364, allocations: 2.221 MB / 0.8988 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.8365, allocations: 0 / 0.8988 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.8368, allocations: 75.81 kB / 0.8989 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.8378, allocations: 309 kB / 0.8992 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.8379, allocations: 15.98 kB / 0.8992 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.8393, allocations: 0.9347 MB / 0.9001 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.8393, allocations: 4.031 kB / 0.9001 GB, free: 2.785 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/0.8437, allocations: 1.353 MB / 0.9014 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006813/0.8444, allocations: 271.5 kB / 0.9017 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/0.8448, allocations: 12 kB / 0.9017 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.8458, allocations: 71.91 kB / 0.9018 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.292e-05/0.8459, allocations: 43.83 kB / 0.9018 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.068e-05/0.846, allocations: 23.98 kB / 0.9018 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001442/0.8474, allocations: 0.7551 MB / 0.9026 GB, free: 200 kB / 0.6856 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8474, allocations: 0 / 0.9026 GB, free: 200 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002282/0.8497, allocations: 0.5731 MB / 0.9031 GB, free: 15.62 MB / 0.7012 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.001058/0.8508, allocations: 383 kB / 0.9035 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003506/0.8543, allocations: 1.19 MB / 0.9047 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.8543, allocations: 0 / 0.9047 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009555/0.8553, allocations: 379.3 kB / 0.905 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.858, allocations: 0.5331 MB / 0.9055 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.8635, allocations: 2.029 MB / 0.9075 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007898/0.8643, allocations: 1.062 MB / 0.9086 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001008/0.8654, allocations: 233.8 kB / 0.9088 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.8656, allocations: 79.42 kB / 0.9089 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of SimCode: time 6.32e-07/0.8656, allocations: 7.938 kB / 0.9089 GB, free: 9.719 MB / 0.7012 GB Notification: Performance of Templates: time 0.04703/0.9127, allocations: 25.62 MB / 0.9339 GB, free: 0.5117 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)