Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.701/2.701, allocations: 287.3 MB / 302.3 MB, free: 8.418 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.002295/0.002295, allocations: 193.5 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.353/2.353, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001136/0.001136, allocations: 104.1 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008586/0.0008593, allocations: 11.25 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2222, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0917/0.3139, allocations: 59.18 MB / 1.036 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03204/0.346, allocations: 14.97 MB / 1.051 GB, free: 2.078 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.3486, allocations: 59.56 kB / 1.051 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00367/0.3523, allocations: 0.6996 MB / 1.051 GB, free: 1.316 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.3626, allocations: 2.26 MB / 1.054 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007281/0.37, allocations: 1.556 MB / 1.055 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006263/0.3762, allocations: 2.286 MB / 1.057 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.3789, allocations: 1.026 MB / 1.058 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004483/0.3834, allocations: 1.277 MB / 1.06 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.3859, allocations: 0.7934 MB / 1.06 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004103/0.3864, allocations: 60 kB / 1.06 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004222/0.3906, allocations: 0.9713 MB / 1.061 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005886/0.3912, allocations: 246.9 kB / 1.062 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007852/0.392, allocations: 372.9 kB / 1.062 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004928/0.397, allocations: 2.291 MB / 1.064 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.397, allocations: 0 / 1.064 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.846e-06/0.397, allocations: 0 / 1.064 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.492e-05/0.3971, allocations: 0 / 1.064 GB, free: 4.164 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.005335/0.4025, allocations: 1.731 MB / 1.066 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4025, allocations: 8.031 kB / 1.066 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004266/0.4068, allocations: 0.5014 MB / 1.066 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004183/0.411, allocations: 1.427 MB / 1.068 GB, free: 384 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007146/0.4118, allocations: 157.9 kB / 1.068 GB, free: 224 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/0.4122, allocations: 104 kB / 1.068 GB, free: 120 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7138/1.126, allocations: 1.303 MB / 1.069 GB, free: 90.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.842e-05/1.126, allocations: 0.9688 kB / 1.069 GB, free: 90.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002625/1.126, allocations: 42.97 kB / 1.069 GB, free: 90.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/1.126, allocations: 24.75 kB / 1.069 GB, free: 90.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008747/1.135, allocations: 1.166 MB / 1.07 GB, free: 90.32 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.02307/1.158, allocations: 6.935 MB / 1.077 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009759/1.168, allocations: 0.9413 MB / 1.078 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002209/1.17, allocations: 1.721 MB / 1.08 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/1.171, allocations: 46 kB / 1.08 GB, free: 83.03 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 5.991e-06/1.171, allocations: 0 / 1.08 GB, free: 83.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.01439/1.185, allocations: 1.485 MB / 1.081 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/1.185, allocations: 56.88 kB / 1.081 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007468/1.193, allocations: 1.548 MB / 1.083 GB, free: 81.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000421/1.193, allocations: 38.08 kB / 1.083 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001421/1.195, allocations: 0.6635 MB / 1.084 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003301/1.195, allocations: 180.8 kB / 1.084 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/1.195, allocations: 15 kB / 1.084 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000108/1.195, allocations: 338 kB / 1.084 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/1.197, allocations: 406.4 kB / 1.084 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/1.2, allocations: 0.6706 MB / 1.085 GB, free: 80.26 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/1.202, allocations: 454.5 kB / 1.086 GB, free: 80.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/1.202, allocations: 1.188 kB / 1.086 GB, free: 80.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.006095/1.208, allocations: 1.243 MB / 1.087 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/1.208, allocations: 8.906 kB / 1.087 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/1.208, allocations: 8.188 kB / 1.087 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/1.21, allocations: 229.7 kB / 1.087 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/1.212, allocations: 202.8 kB / 1.087 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/1.213, allocations: 0.7288 MB / 1.088 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005183/1.219, allocations: 266.9 kB / 1.088 GB, free: 78.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004495/1.219, allocations: 43.11 kB / 1.088 GB, free: 78.86 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 81 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.001948/1.221, allocations: 359.6 kB / 1.089 GB, free: 78.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000842/1.222, allocations: 154.2 kB / 1.089 GB, free: 78.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007162/1.229, allocations: 1.212 MB / 1.09 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-05/1.229, allocations: 9.031 kB / 1.09 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/1.229, allocations: 0 / 1.09 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/1.229, allocations: 4.703 kB / 1.09 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/1.245, allocations: 2.669 MB / 1.093 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.741e-05/1.245, allocations: 9.312 kB / 1.093 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/1.247, allocations: 98.2 kB / 1.093 GB, free: 76.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/1.249, allocations: 226.6 kB / 1.093 GB, free: 76.74 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/1.249, allocations: 17.84 kB / 1.093 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003392/1.253, allocations: 0.8018 MB / 1.094 GB, free: 76.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/1.253, allocations: 2.469 kB / 1.094 GB, free: 76.12 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/1.264, allocations: 1.414 MB / 1.095 GB, free: 75.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/1.266, allocations: 385.3 kB / 1.095 GB, free: 75.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006933/1.266, allocations: 20.88 kB / 1.095 GB, free: 75.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/1.269, allocations: 102.4 kB / 1.095 GB, free: 75.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/1.27, allocations: 51.98 kB / 1.096 GB, free: 75.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/1.27, allocations: 26.42 kB / 1.096 GB, free: 75.08 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004571/1.274, allocations: 1.088 MB / 1.097 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.122e-06/1.274, allocations: 0 / 1.097 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002376/1.277, allocations: 448.3 kB / 1.097 GB, free: 74.57 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 (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/1.278, allocations: 469.5 kB / 1.098 GB, free: 74.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004223/1.282, allocations: 0.894 MB / 1.098 GB, free: 74.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/1.283, allocations: 4.062 kB / 1.098 GB, free: 74.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002655/1.285, allocations: 496.7 kB / 1.099 GB, free: 73.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006144/1.291, allocations: 0.7217 MB / 1.1 GB, free: 73.78 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007129/1.299, allocations: 2.723 MB / 1.102 GB, free: 72.21 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/1.3, allocations: 1.203 MB / 1.103 GB, free: 71.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002257/1.302, allocations: 274 kB / 1.104 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006853/1.303, allocations: 122.9 kB / 1.104 GB, free: 71.37 MB / 0.6823 GB Notification: Performance of SimCode: time 1.253e-06/1.303, allocations: 0 / 1.104 GB, free: 71.37 MB / 0.6823 GB Notification: Performance of Templates: time 0.1026/1.405, allocations: 29.93 MB / 1.133 GB, free: 52.09 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)