Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.635/1.635, allocations: 288.3 MB / 303.2 MB, free: 8.137 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.001059/0.001058, allocations: 177.1 kB / 371.8 MB, free: 10.28 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.325/1.325, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007904/0.0007905, allocations: 78.98 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003611, allocations: 11.66 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1953, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04047/0.2359, allocations: 51.32 MB / 1.03 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.2504, allocations: 10.22 MB / 1.04 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002376/0.2528, allocations: 47.62 kB / 1.04 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.2551, allocations: 0.6257 MB / 1.04 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006294/0.2615, allocations: 1.904 MB / 1.042 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003809/0.2653, allocations: 1.322 MB / 1.043 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003533/0.2688, allocations: 1.851 MB / 1.045 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.2702, allocations: 0.8135 MB / 1.046 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.2725, allocations: 0.9886 MB / 1.047 GB, free: 6.473 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.2735, allocations: 0.6027 MB / 1.047 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.2736, allocations: 44 kB / 1.048 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.2756, allocations: 0.9907 MB / 1.048 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.2758, allocations: 199.1 kB / 1.049 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.2762, allocations: 281.1 kB / 1.049 GB, free: 4.355 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.2781, allocations: 1.594 MB / 1.05 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2781, allocations: 0 / 1.05 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2781, allocations: 0 / 1.05 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.2782, allocations: 0 / 1.05 GB, free: 2.758 MB / 0.6667 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.002594/0.2808, allocations: 1.49 MB / 1.052 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2808, allocations: 12.03 kB / 1.052 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.2829, allocations: 469.9 kB / 1.052 GB, free: 0.7383 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.2847, allocations: 1.055 MB / 1.053 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/0.2851, allocations: 125.9 kB / 1.054 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.2853, allocations: 80 kB / 1.054 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.2872, allocations: 0.9995 MB / 1.055 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.2872, allocations: 7.938 kB / 1.055 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.689e-05/0.2873, allocations: 32 kB / 1.055 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.2873, allocations: 20 kB / 1.055 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.2896, allocations: 0.9251 MB / 1.056 GB, free: 13.4 MB / 0.6823 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.00616/0.2958, allocations: 4.657 MB / 1.06 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0036/0.2994, allocations: 0.9528 MB / 1.061 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005972/0.3, allocations: 0.9029 MB / 1.062 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3001, allocations: 43 kB / 1.062 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.005e-06/0.3001, allocations: 0 / 1.062 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008013/0.3081, allocations: 2.003 MB / 1.064 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.3081, allocations: 55.84 kB / 1.064 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.3096, allocations: 1.059 MB / 1.065 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.659e-05/0.3097, allocations: 41.7 kB / 1.065 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.3101, allocations: 0.5235 MB / 1.066 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.3102, allocations: 153.7 kB / 1.066 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.3103, allocations: 16 kB / 1.066 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3104, allocations: 329.9 kB / 1.066 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009037/0.3113, allocations: 328.9 kB / 1.066 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.3124, allocations: 0.5328 MB / 1.067 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000936/0.3133, allocations: 372.5 kB / 1.067 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3133, allocations: 0 / 1.067 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.3783/0.6916, allocations: 1.224 MB / 1.068 GB, free: 90.31 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002707/0.6919, allocations: 1.493 MB / 1.07 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.6919, allocations: 5.203 kB / 1.07 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.6933, allocations: 326.2 kB / 1.07 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/0.6939, allocations: 134.6 kB / 1.07 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.6954, allocations: 0.9419 MB / 1.071 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.6967, allocations: 200.1 kB / 1.071 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.201e-05/0.6968, allocations: 29.62 kB / 1.071 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.6968, allocations: 4.75 kB / 1.071 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00327/0.7001, allocations: 1.097 MB / 1.073 GB, free: 88.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7001, allocations: 4.969 kB / 1.073 GB, free: 88.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.7012, allocations: 320.9 kB / 1.073 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/0.7018, allocations: 140 kB / 1.073 GB, free: 88.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.7031, allocations: 0.9341 MB / 1.074 GB, free: 87.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.7043, allocations: 174.1 kB / 1.074 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.7044, allocations: 29.52 kB / 1.074 GB, free: 87.46 MB / 0.6823 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.0005057/0.7049, allocations: 352.2 kB / 1.074 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.705, allocations: 113.9 kB / 1.075 GB, free: 87.17 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/0.7092, allocations: 1.24 MB / 1.076 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.7092, allocations: 6.094 kB / 1.076 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.7092, allocations: 1.359 kB / 1.076 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.7092, allocations: 2.531 kB / 1.076 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005377/0.7146, allocations: 2.327 MB / 1.078 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.7146, allocations: 3.547 kB / 1.078 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.7149, allocations: 73.95 kB / 1.078 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.716, allocations: 331.7 kB / 1.078 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/0.7161, allocations: 21.89 kB / 1.078 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.7175, allocations: 0.9635 MB / 1.079 GB, free: 85.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.7175, allocations: 2.781 kB / 1.079 GB, free: 85.03 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00469/0.7222, allocations: 1.565 MB / 1.081 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004954/0.7227, allocations: 294.5 kB / 1.081 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.7229, allocations: 20.31 kB / 1.081 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009248/0.7238, allocations: 114.1 kB / 1.081 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.646e-05/0.7239, allocations: 41.56 kB / 1.081 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-05/0.724, allocations: 24.7 kB / 1.081 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001384/0.7254, allocations: 0.7503 MB / 1.082 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7254, allocations: 0 / 1.082 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001729/0.7271, allocations: 0.571 MB / 1.083 GB, free: 83.65 MB / 0.6823 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.0006909/0.7278, allocations: 376 kB / 1.083 GB, free: 83.51 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003321/0.7311, allocations: 1.204 MB / 1.084 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7312, allocations: 5.375 kB / 1.084 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009268/0.7321, allocations: 388.1 kB / 1.085 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.7344, allocations: 0.5079 MB / 1.085 GB, free: 82.95 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/0.7402, allocations: 2.507 MB / 1.088 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007354/0.741, allocations: 1.084 MB / 1.089 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00112/0.7421, allocations: 233.5 kB / 1.089 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.7423, allocations: 81.05 kB / 1.089 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of SimCode: time 7.62e-07/0.7423, allocations: 0 / 1.089 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of Templates: time 0.03968/0.782, allocations: 23.92 MB / 1.112 GB, free: 70.85 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)