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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.3 MB / 308.1 MB, free: 4.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 176.5 kB / 376.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205 MB / 0.6354 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009639/0.0009642, allocations: 100 kB / 0.748 GB, free: 61.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 51.91 kB / 0.8703 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2516, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.5533/0.8049, allocations: 60.86 MB / 1.042 GB, free: 66.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.8221, allocations: 11.98 MB / 1.053 GB, free: 64.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/0.8248, allocations: 52.38 kB / 1.053 GB, free: 64.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002073/0.8269, allocations: 0.5527 MB / 1.054 GB, free: 64.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006345/0.8333, allocations: 1.792 MB / 1.056 GB, free: 63.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004026/0.8374, allocations: 1.082 MB / 1.057 GB, free: 63.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006969/0.8443, allocations: 3.912 MB / 1.061 GB, free: 62.78 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.8461, allocations: 0.9248 MB / 1.061 GB, free: 62.62 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002626/0.8487, allocations: 1.179 MB / 1.063 GB, free: 62.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.8501, allocations: 0.9009 MB / 1.063 GB, free: 61.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.8502, allocations: 62 kB / 1.064 GB, free: 61.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/0.8533, allocations: 1.331 MB / 1.065 GB, free: 61.36 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.8535, allocations: 246.5 kB / 1.065 GB, free: 61.21 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0006579/0.8542, allocations: 0.6368 MB / 1.066 GB, free: 60.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.8573, allocations: 2.246 MB / 1.068 GB, free: 60 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.8573, allocations: 0 / 1.068 GB, free: 60 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.113e-06/0.8573, allocations: 0 / 1.068 GB, free: 60 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.8573, allocations: 0 / 1.068 GB, free: 60 MB / 0.7448 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.002881/0.8602, allocations: 1.735 MB / 1.07 GB, free: 58.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.8602, allocations: 13.62 kB / 1.07 GB, free: 58.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.8623, allocations: 407.5 kB / 1.07 GB, free: 58.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.8641, allocations: 1.132 MB / 1.071 GB, free: 58.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003357/0.8645, allocations: 120.9 kB / 1.071 GB, free: 57.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.8646, allocations: 85.81 kB / 1.071 GB, free: 57.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.8663, allocations: 0.9748 MB / 1.072 GB, free: 57.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.8664, allocations: 4.359 kB / 1.072 GB, free: 57.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/0.8664, allocations: 33.78 kB / 1.072 GB, free: 57.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.8665, allocations: 23.16 kB / 1.072 GB, free: 57.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.8686, allocations: 0.8689 MB / 1.073 GB, free: 57.21 MB / 0.7448 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.005541/0.8742, allocations: 4.58 MB / 1.078 GB, free: 53.9 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/0.8775, allocations: 0.839 MB / 1.078 GB, free: 53.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006797/0.8782, allocations: 316.2 kB / 1.079 GB, free: 53.56 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004616/0.8786, allocations: 0.9064 MB / 1.08 GB, free: 52.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.8787, allocations: 38.22 kB / 1.08 GB, free: 52.47 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 3.156e-06/0.8787, allocations: 0.6094 kB / 1.08 GB, free: 52.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47): time 0.007512/0.8862, allocations: 1.804 MB / 1.081 GB, free: 51.97 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.8862, allocations: 59.19 kB / 1.081 GB, free: 51.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.8878, allocations: 1.048 MB / 1.083 GB, free: 51.47 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.098e-05/0.8879, allocations: 39.67 kB / 1.083 GB, free: 51.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.8882, allocations: 0.5159 MB / 1.083 GB, free: 51.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.8883, allocations: 173.2 kB / 1.083 GB, free: 50.89 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.8885, allocations: 129.1 kB / 1.083 GB, free: 50.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.8886, allocations: 331.4 kB / 1.084 GB, free: 50.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008409/0.8895, allocations: 316.6 kB / 1.084 GB, free: 50.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009586/0.8904, allocations: 0.5102 MB / 1.084 GB, free: 50.08 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.892, allocations: 0.6961 MB / 1.085 GB, free: 49.72 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.892, allocations: 3.125 kB / 1.085 GB, free: 49.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003585/0.8956, allocations: 1.166 MB / 1.086 GB, free: 49.33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.8956, allocations: 12.94 kB / 1.086 GB, free: 49.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.8956, allocations: 3.469 kB / 1.086 GB, free: 49.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.8968, allocations: 324.8 kB / 1.087 GB, free: 49.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005212/0.8974, allocations: 126.1 kB / 1.087 GB, free: 49.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.8988, allocations: 0.9118 MB / 1.088 GB, free: 48.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.9002, allocations: 173.8 kB / 1.088 GB, free: 48.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.9002, allocations: 33.09 kB / 1.088 GB, free: 48.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001133/0.9014, allocations: 0.5158 MB / 1.088 GB, free: 48.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001016/0.9024, allocations: 0.5086 MB / 1.089 GB, free: 47.94 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001502/0.9039, allocations: 0.6874 MB / 1.089 GB, free: 47.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.671e-06/0.9039, allocations: 11.58 kB / 1.089 GB, free: 47.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003257/0.9072, allocations: 1.152 MB / 1.091 GB, free: 47.19 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.9072, allocations: 6.156 kB / 1.091 GB, free: 47.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.9072, allocations: 3.062 kB / 1.091 GB, free: 47.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009765/0.9082, allocations: 316.5 kB / 1.091 GB, free: 47.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.9087, allocations: 123.7 kB / 1.091 GB, free: 47.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.9099, allocations: 0.9129 MB / 1.092 GB, free: 46.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.9111, allocations: 161.6 kB / 1.092 GB, free: 46.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/0.9112, allocations: 28.8 kB / 1.092 GB, free: 46.39 MB / 0.7448 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.0001887/0.9114, allocations: 205.7 kB / 1.092 GB, free: 46.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.9116, allocations: 114.6 kB / 1.092 GB, free: 46.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003593/0.9152, allocations: 1.147 MB / 1.094 GB, free: 45.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.9152, allocations: 6.656 kB / 1.094 GB, free: 45.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9152, allocations: 0 / 1.094 GB, free: 45.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.9152, allocations: 3.188 kB / 1.094 GB, free: 45.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004832/0.92, allocations: 2.221 MB / 1.096 GB, free: 44.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.9201, allocations: 3.188 kB / 1.096 GB, free: 44.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.9204, allocations: 72.19 kB / 1.096 GB, free: 44.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009937/0.9214, allocations: 307.8 kB / 1.096 GB, free: 44.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.9214, allocations: 17.42 kB / 1.096 GB, free: 44.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.9228, allocations: 0.9373 MB / 1.097 GB, free: 43.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.9228, allocations: 10.7 kB / 1.097 GB, free: 43.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005242/0.928, allocations: 2.45 MB / 1.099 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.9284, allocations: 269 kB / 1.1 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.9286, allocations: 18.06 kB / 1.1 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000846/0.9294, allocations: 97.5 kB / 1.1 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.9295, allocations: 38.61 kB / 1.1 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.9296, allocations: 27.05 kB / 1.1 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009103/0.9305, allocations: 0.7363 MB / 1.101 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9305, allocations: 0 / 1.101 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001594/0.9321, allocations: 0.5773 MB / 1.101 GB, free: 41.91 MB / 0.7448 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.0006775/0.9328, allocations: 387.4 kB / 1.102 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002943/0.9357, allocations: 1.138 MB / 1.103 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.9358, allocations: 7 kB / 1.103 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008358/0.9366, allocations: 373.1 kB / 1.103 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.9389, allocations: 0.517 MB / 1.103 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005101/0.944, allocations: 2.772 MB / 1.106 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.9445, allocations: 1.079 MB / 1.107 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009725/0.9455, allocations: 232.1 kB / 1.107 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.9457, allocations: 79.91 kB / 1.108 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.9458, allocations: 0 / 1.108 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of Templates: time 0.04273/0.9885, allocations: 25.08 MB / 1.132 GB, free: 36.59 MB / 0.7448 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)