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.001162/0.001162, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007789/0.00779, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.469/1.469, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.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.692/1.692, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005185/0.0005187, allocations: 18.16 kB / 0.6743 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2078, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05561/0.2634, allocations: 59.76 MB / 0.8462 GB, free: 15.6 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.279, allocations: 11.83 MB / 0.8578 GB, free: 3.742 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.2811, allocations: 55.62 kB / 0.8578 GB, free: 3.688 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.283, allocations: 0.5516 MB / 0.8584 GB, free: 3.133 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005326/0.2883, allocations: 1.781 MB / 0.8601 GB, free: 1.344 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.2916, allocations: 1.109 MB / 0.8612 GB, free: 252 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005294/0.2969, allocations: 3.89 MB / 0.865 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.2988, allocations: 0.9019 MB / 0.8659 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/0.302, allocations: 1.128 MB / 0.867 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.304, allocations: 0.8553 MB / 0.8678 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.3043, allocations: 44 kB / 0.8679 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003259/0.3075, allocations: 1.325 MB / 0.8691 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.3078, allocations: 222.9 kB / 0.8694 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009689/0.3088, allocations: 0.6311 MB / 0.87 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003854/0.3127, allocations: 2.204 MB / 0.8721 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3127, allocations: 0 / 0.8721 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3127, allocations: 0 / 0.8721 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.3127, allocations: 4 kB / 0.8721 GB, free: 4.973 MB / 0.6856 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.003012/0.3158, allocations: 1.485 MB / 0.8736 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3158, allocations: 8.031 kB / 0.8736 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/0.3181, allocations: 474.8 kB / 0.874 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.3204, allocations: 1.147 MB / 0.8752 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003669/0.3208, allocations: 125.9 kB / 0.8753 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.3209, allocations: 80 kB / 0.8754 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.323, allocations: 1.007 MB / 0.8763 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.3231, allocations: 0 / 0.8763 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.079e-05/0.3232, allocations: 32 kB / 0.8764 GB, free: 484 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.3232, allocations: 20 kB / 0.8764 GB, free: 464 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.3257, allocations: 0.9368 MB / 0.8773 GB, free: 15.52 MB / 0.7012 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.006782/0.3325, allocations: 4.627 MB / 0.8818 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/0.3362, allocations: 0.9343 MB / 0.8827 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008793/0.3371, allocations: 344.7 kB / 0.8831 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008437/0.338, allocations: 0.9067 MB / 0.884 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.338, allocations: 39 kB / 0.884 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.565e-06/0.338, allocations: 0 / 0.884 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.008596/0.3466, allocations: 2.025 MB / 0.886 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3467, allocations: 55.84 kB / 0.886 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.3484, allocations: 1.063 MB / 0.8871 GB, free: 4.941 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.831e-05/0.3485, allocations: 37.7 kB / 0.8871 GB, free: 4.898 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/0.3489, allocations: 0.5157 MB / 0.8876 GB, free: 4.379 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.3491, allocations: 165.6 kB / 0.8878 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.3492, allocations: 49.69 kB / 0.8878 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3493, allocations: 330 kB / 0.8881 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009948/0.3503, allocations: 340.8 kB / 0.8884 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.3514, allocations: 0.5329 MB / 0.889 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.3533, allocations: 0.7488 MB / 0.8897 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.3533, allocations: 4 kB / 0.8897 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004016/0.3573, allocations: 1.252 MB / 0.8909 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.3575, allocations: 201.3 kB / 0.8911 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3575, allocations: 4 kB / 0.8911 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.3588, allocations: 340.4 kB / 0.8914 GB, free: 232 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.3594, allocations: 127.8 kB / 0.8916 GB, free: 104 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.361, allocations: 0.9464 MB / 0.8925 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.3625, allocations: 191.2 kB / 0.8927 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.267e-05/0.3626, allocations: 35.98 kB / 0.8927 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.3626, allocations: 0 / 0.8927 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003577/0.3662, allocations: 1.115 MB / 0.8938 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.3662, allocations: 4 kB / 0.8938 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.3674, allocations: 324.9 kB / 0.8941 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/0.368, allocations: 131.8 kB / 0.8942 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.3696, allocations: 0.9413 MB / 0.8952 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.371, allocations: 167.4 kB / 0.8953 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-05/0.3711, allocations: 35.98 kB / 0.8953 GB, free: 12.17 MB / 0.7169 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 (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.0006692/0.3718, allocations: 356.9 kB / 0.8957 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.372, allocations: 106.7 kB / 0.8958 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/0.3762, allocations: 1.245 MB / 0.897 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.3762, allocations: 11.98 kB / 0.897 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.3762, allocations: 0 / 0.897 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3762, allocations: 3.938 kB / 0.897 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005531/0.3818, allocations: 2.317 MB / 0.8993 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.3818, allocations: 0 / 0.8993 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.3821, allocations: 79.88 kB / 0.8994 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.3832, allocations: 320.7 kB / 0.8997 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.3833, allocations: 19.92 kB / 0.8997 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.3849, allocations: 0.965 MB / 0.9006 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.3849, allocations: 11.92 kB / 0.9006 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004855/0.3897, allocations: 1.457 MB / 0.9021 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006182/0.3904, allocations: 287.4 kB / 0.9023 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.3905, allocations: 12 kB / 0.9023 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009219/0.3915, allocations: 115.8 kB / 0.9025 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.901e-05/0.3916, allocations: 39.88 kB / 0.9025 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/0.3916, allocations: 23.98 kB / 0.9025 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001238/0.3929, allocations: 0.7469 MB / 0.9032 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.91e-07/0.3929, allocations: 0 / 0.9032 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001789/0.3947, allocations: 0.5614 MB / 0.9038 GB, free: 3.297 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.0008894/0.3956, allocations: 390.2 kB / 0.9042 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003397/0.399, allocations: 1.218 MB / 0.9054 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.399, allocations: 0 / 0.9054 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009815/0.4, allocations: 391.3 kB / 0.9057 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/0.4029, allocations: 0.525 MB / 0.9062 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0056/0.4086, allocations: 2.554 MB / 0.9087 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.4092, allocations: 1.062 MB / 0.9098 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001041/0.4102, allocations: 232.8 kB / 0.91 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.4104, allocations: 75.42 kB / 0.9101 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of SimCode: time 8.81e-07/0.4104, allocations: 0 / 0.9101 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.4467/0.8571, allocations: 24.53 MB / 0.934 GB, free: 129.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) Environment - environmentSimulation: