Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.795/1.795, allocations: 288.3 MB / 303.2 MB, free: 8.25 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.001453/0.001453, allocations: 185 kB / 371.9 MB, free: 10.26 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.549/1.549, allocations: 205.4 MB / 0.6306 GB, free: 9.961 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.001008/0.001009, allocations: 95.64 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003842, allocations: 11.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1948, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04119/0.236, allocations: 51.35 MB / 1.03 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01392/0.25, allocations: 10.23 MB / 1.04 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.2519, allocations: 43.69 kB / 1.04 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.254, allocations: 0.6219 MB / 1.04 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005661/0.2596, allocations: 1.915 MB / 1.042 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.2635, allocations: 1.319 MB / 1.043 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003514/0.267, allocations: 1.858 MB / 1.045 GB, free: 8.219 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/0.2686, allocations: 0.8303 MB / 1.046 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.2713, allocations: 0.9847 MB / 1.047 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.2727, allocations: 0.6027 MB / 1.048 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002699/0.273, allocations: 48 kB / 1.048 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.2758, allocations: 0.9907 MB / 1.049 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.2762, allocations: 203 kB / 1.049 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005487/0.2767, allocations: 285 kB / 1.049 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002574/0.2793, allocations: 1.594 MB / 1.051 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2793, allocations: 0 / 1.051 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2793, allocations: 0 / 1.051 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.907e-05/0.2794, allocations: 0 / 1.051 GB, free: 2.648 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00365/0.283, allocations: 1.493 MB / 1.052 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.2831, allocations: 8.031 kB / 1.052 GB, free: 1.09 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002644/0.2858, allocations: 0.5173 MB / 1.053 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.288, allocations: 1.07 MB / 1.054 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003663/0.2884, allocations: 141.9 kB / 1.054 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.2886, allocations: 80 kB / 1.054 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.291, allocations: 1.025 MB / 1.055 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.291, allocations: 0 / 1.055 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.792e-05/0.2911, allocations: 32 kB / 1.055 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.2911, allocations: 20 kB / 1.055 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002849/0.294, allocations: 1.007 MB / 1.056 GB, free: 13.11 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.00655/0.3006, allocations: 4.732 MB / 1.06 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/0.3047, allocations: 1.131 MB / 1.062 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009596/0.3057, allocations: 1.033 MB / 1.063 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.3057, allocations: 35 kB / 1.063 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 2.294e-06/0.3057, allocations: 0 / 1.063 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.009623/0.3154, allocations: 2.486 MB / 1.065 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.3154, allocations: 63.84 kB / 1.065 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.3167, allocations: 0.9471 MB / 1.066 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.02e-05/0.3168, allocations: 41.64 kB / 1.066 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.3172, allocations: 0.504 MB / 1.067 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.3174, allocations: 185.3 kB / 1.067 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.3174, allocations: 8 kB / 1.067 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3175, allocations: 330 kB / 1.067 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.3186, allocations: 376.9 kB / 1.067 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3629/0.6815, allocations: 0.5425 MB / 1.068 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.683, allocations: 395 kB / 1.068 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.683, allocations: 1.219 kB / 1.068 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003318/0.6863, allocations: 1.121 MB / 1.069 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.6866, allocations: 0.9715 MB / 1.07 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.6866, allocations: 1.375 kB / 1.07 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.6879, allocations: 333.4 kB / 1.071 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/0.6887, allocations: 144.6 kB / 1.071 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.6902, allocations: 0.9308 MB / 1.072 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.6915, allocations: 176.3 kB / 1.072 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/0.6916, allocations: 37.06 kB / 1.072 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.6916, allocations: 4.938 kB / 1.072 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002723/0.6943, allocations: 0.9995 MB / 1.073 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6943, allocations: 2.5 kB / 1.073 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.6955, allocations: 328.3 kB / 1.073 GB, free: 88.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006516/0.6961, allocations: 145.2 kB / 1.073 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.6975, allocations: 0.929 MB / 1.074 GB, free: 87.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.6988, allocations: 174.3 kB / 1.074 GB, free: 87.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.6989, allocations: 31.45 kB / 1.074 GB, free: 87.67 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.000491/0.6994, allocations: 352.2 kB / 1.075 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.6995, allocations: 104.1 kB / 1.075 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004805/0.7044, allocations: 1.441 MB / 1.076 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.7044, allocations: 8.078 kB / 1.076 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7044, allocations: 0 / 1.076 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.7044, allocations: 3.422 kB / 1.076 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006373/0.7108, allocations: 2.538 MB / 1.079 GB, free: 85.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.7108, allocations: 1.406 kB / 1.079 GB, free: 85.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.7114, allocations: 117.8 kB / 1.079 GB, free: 85.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.7125, allocations: 324.2 kB / 1.079 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.7126, allocations: 22.06 kB / 1.079 GB, free: 85.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.7141, allocations: 0.9636 MB / 1.08 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7141, allocations: 2.266 kB / 1.08 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00453/0.7186, allocations: 1.539 MB / 1.082 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/0.7191, allocations: 298.4 kB / 1.082 GB, free: 84.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.7193, allocations: 17.8 kB / 1.082 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009748/0.7203, allocations: 129 kB / 1.082 GB, free: 84.19 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/0.7203, allocations: 36.06 kB / 1.082 GB, free: 84.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.039e-05/0.7204, allocations: 32.59 kB / 1.082 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009575/0.7214, allocations: 0.666 MB / 1.083 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7214, allocations: 3.391 kB / 1.083 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001588/0.723, allocations: 0.5694 MB / 1.083 GB, free: 83.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007237/0.7237, allocations: 373.7 kB / 1.084 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004037/0.7278, allocations: 1.393 MB / 1.085 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.7278, allocations: 1.188 kB / 1.085 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.7291, allocations: 492.1 kB / 1.086 GB, free: 83.13 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/0.7323, allocations: 0.4926 MB / 1.086 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.7366, allocations: 2.327 MB / 1.088 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006329/0.7372, allocations: 1.091 MB / 1.089 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001199/0.7384, allocations: 239.1 kB / 1.09 GB, free: 80.92 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.7387, allocations: 85.8 kB / 1.09 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/0.7387, allocations: 1.125 kB / 1.09 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.0382/0.7769, allocations: 23.52 MB / 1.113 GB, free: 70.99 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)