Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.838/1.838, allocations: 288.4 MB / 303.6 MB, free: 8.164 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.001511/0.001511, allocations: 183 kB / 372.3 MB, free: 10.12 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.563/1.563, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0007757/0.0007756, allocations: 97.77 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004223, allocations: 16.55 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2251, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05314/0.2783, allocations: 65.13 MB / 1.044 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0223/0.3006, allocations: 17.6 MB / 1.061 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.3032, allocations: 63.56 kB / 1.061 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.3054, allocations: 0.5199 MB / 1.061 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008713/0.3141, allocations: 2.29 MB / 1.064 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004377/0.3185, allocations: 1.129 MB / 1.065 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.5821/0.9007, allocations: 4.41 MB / 1.069 GB, free: 27.04 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005101/0.9058, allocations: 1.132 MB / 1.07 GB, free: 26.91 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006308/0.9122, allocations: 1.413 MB / 1.072 GB, free: 26.91 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003297/0.9155, allocations: 1.045 MB / 1.073 GB, free: 26.91 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007414/0.9163, allocations: 58.5 kB / 1.073 GB, free: 26.91 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004488/0.9208, allocations: 1.167 MB / 1.074 GB, free: 26.9 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008794/0.9217, allocations: 250.4 kB / 1.074 GB, free: 26.9 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002864/0.9246, allocations: 0.7704 MB / 1.075 GB, free: 26.87 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005497/0.9301, allocations: 2.392 MB / 1.077 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.9302, allocations: 0.9688 kB / 1.077 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9302, allocations: 0 / 1.077 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001056/0.9303, allocations: 2.734 kB / 1.077 GB, free: 26.81 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.005577/0.9359, allocations: 1.713 MB / 1.079 GB, free: 25.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.9359, allocations: 9.125 kB / 1.079 GB, free: 25.83 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/0.9387, allocations: 0.4937 MB / 1.079 GB, free: 25.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003529/0.9423, allocations: 1.523 MB / 1.081 GB, free: 25.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004304/0.9427, allocations: 150 kB / 1.081 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.943, allocations: 104.4 kB / 1.081 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003289/0.9462, allocations: 1.308 MB / 1.082 GB, free: 25.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.9463, allocations: 5.594 kB / 1.082 GB, free: 25.06 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.9464, allocations: 45.06 kB / 1.082 GB, free: 25.06 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.816e-05/0.9465, allocations: 29 kB / 1.082 GB, free: 25.06 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003264/0.9497, allocations: 1.16 MB / 1.084 GB, free: 25.04 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.009491/0.9592, allocations: 6.92 MB / 1.09 GB, free: 21.36 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003285/0.9625, allocations: 0.9343 MB / 1.091 GB, free: 21.31 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006993/0.9633, allocations: 314.5 kB / 1.092 GB, free: 21.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009337/0.9642, allocations: 1.726 MB / 1.093 GB, free: 19.33 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.9643, allocations: 37.84 kB / 1.093 GB, free: 19.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 2.545e-06/0.9643, allocations: 0 / 1.093 GB, free: 19.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.005009/0.9693, allocations: 1.491 MB / 1.095 GB, free: 19.03 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.9693, allocations: 57.33 kB / 1.095 GB, free: 18.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002674/0.972, allocations: 1.525 MB / 1.096 GB, free: 18.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-05/0.9721, allocations: 37.27 kB / 1.096 GB, free: 18.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005209/0.9727, allocations: 0.6678 MB / 1.097 GB, free: 18.53 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.9728, allocations: 177.9 kB / 1.097 GB, free: 18.42 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.9729, allocations: 15.28 kB / 1.097 GB, free: 18.42 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.973, allocations: 332.1 kB / 1.097 GB, free: 18.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.9741, allocations: 399.8 kB / 1.098 GB, free: 18.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.9753, allocations: 0.6792 MB / 1.098 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/0.9777, allocations: 0.9075 MB / 1.099 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.9777, allocations: 5.469 kB / 1.099 GB, free: 17.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004118/0.9818, allocations: 1.25 MB / 1.101 GB, free: 17.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.155e-05/0.9819, allocations: 14.75 kB / 1.101 GB, free: 17.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.982, allocations: 7.594 kB / 1.101 GB, free: 17.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.9831, allocations: 229.2 kB / 1.101 GB, free: 17.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/0.984, allocations: 199.9 kB / 1.101 GB, free: 17.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008922/0.9849, allocations: 0.723 MB / 1.102 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/0.9876, allocations: 261.6 kB / 1.102 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.9878, allocations: 48.05 kB / 1.102 GB, free: 16.73 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.001087/0.9889, allocations: 361.3 kB / 1.102 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000394/0.9893, allocations: 149.6 kB / 1.103 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002876/0.9922, allocations: 1.21 MB / 1.104 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.9922, allocations: 9.516 kB / 1.104 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9922, allocations: 0 / 1.104 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.9923, allocations: 11.53 kB / 1.104 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005689/0.998, allocations: 2.66 MB / 1.106 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/0.998, allocations: 1.469 kB / 1.106 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.9984, allocations: 107.3 kB / 1.106 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007022/0.9991, allocations: 224.2 kB / 1.107 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.9991, allocations: 19.62 kB / 1.107 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/1, allocations: 0.796 MB / 1.107 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/1, allocations: 3.094 kB / 1.107 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003296/1.004, allocations: 1.332 MB / 1.109 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008516/1.004, allocations: 376.8 kB / 1.109 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/1.005, allocations: 9.688 kB / 1.109 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009235/1.006, allocations: 112.5 kB / 1.109 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/1.006, allocations: 42.19 kB / 1.109 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/1.006, allocations: 35.59 kB / 1.109 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001793/1.008, allocations: 1.072 MB / 1.11 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.11e-07/1.008, allocations: 0 / 1.11 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001534/1.009, allocations: 442.2 kB / 1.111 GB, free: 14.72 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.001029/1.01, allocations: 476.9 kB / 1.111 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002196/1.012, allocations: 0.891 MB / 1.112 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.012, allocations: 4.062 kB / 1.112 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/1.014, allocations: 494.1 kB / 1.113 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/1.017, allocations: 0.7284 MB / 1.113 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/1.022, allocations: 2.734 MB / 1.116 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007301/1.023, allocations: 1.172 MB / 1.117 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001467/1.024, allocations: 276.1 kB / 1.117 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/1.024, allocations: 119.7 kB / 1.117 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of SimCode: time 5.11e-07/1.024, allocations: 0 / 1.117 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of Templates: time 0.05323/1.078, allocations: 30.72 MB / 1.147 GB, free: 13.77 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)