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 1.85/1.85, allocations: 287.5 MB / 302.6 MB, free: 8.207 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.0009979/0.000998, allocations: 180.4 kB / 371.2 MB, free: 10.83 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.789/1.789, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.000974/0.0009734, allocations: 99.22 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004043, allocations: 13.03 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2179, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05972/0.2777, allocations: 65.13 MB / 1.042 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02188/0.2996, allocations: 17.6 MB / 1.059 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.3021, allocations: 59.62 kB / 1.06 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.3041, allocations: 0.5276 MB / 1.06 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006958/0.3111, allocations: 2.083 MB / 1.062 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003926/0.315, allocations: 1.096 MB / 1.063 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006214/0.3212, allocations: 4.412 MB / 1.067 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.477/0.7983, allocations: 1.127 MB / 1.069 GB, free: 26.33 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003822/0.8022, allocations: 1.34 MB / 1.07 GB, free: 26.33 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/0.8045, allocations: 1.043 MB / 1.071 GB, free: 26.33 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002572/0.8048, allocations: 58.69 kB / 1.071 GB, free: 26.33 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/0.8077, allocations: 0.9132 MB / 1.072 GB, free: 26.33 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003774/0.8081, allocations: 246.6 kB / 1.072 GB, free: 26.33 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006732/0.8088, allocations: 372.7 kB / 1.072 GB, free: 26.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003735/0.8125, allocations: 2.304 MB / 1.075 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.8126, allocations: 0.8438 kB / 1.075 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.166e-06/0.8126, allocations: 2.125 kB / 1.075 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.647e-05/0.8126, allocations: 3.766 kB / 1.075 GB, free: 26.23 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.003835/0.8165, allocations: 1.714 MB / 1.076 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.8165, allocations: 9.594 kB / 1.076 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.819, allocations: 0.4967 MB / 1.077 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/0.8221, allocations: 1.527 MB / 1.078 GB, free: 24.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004296/0.8226, allocations: 145.2 kB / 1.078 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.8228, allocations: 101.7 kB / 1.079 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003151/0.826, allocations: 1.315 MB / 1.08 GB, free: 24.51 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.826, allocations: 4.594 kB / 1.08 GB, free: 24.51 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.8261, allocations: 43.47 kB / 1.08 GB, free: 24.51 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/0.8262, allocations: 27.36 kB / 1.08 GB, free: 24.51 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003041/0.8292, allocations: 1.168 MB / 1.081 GB, free: 24.48 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.008503/0.8377, allocations: 6.913 MB / 1.088 GB, free: 20.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.841, allocations: 0.931 MB / 1.089 GB, free: 20.79 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006563/0.8417, allocations: 311.4 kB / 1.089 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009999/0.8427, allocations: 1.724 MB / 1.091 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.8428, allocations: 42.94 kB / 1.091 GB, free: 18.76 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.035e-06/0.8428, allocations: 1.188 kB / 1.091 GB, free: 18.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.00477/0.8475, allocations: 1.489 MB / 1.092 GB, free: 18.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.8476, allocations: 57.47 kB / 1.092 GB, free: 18.44 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002367/0.85, allocations: 1.527 MB / 1.094 GB, free: 18.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-05/0.85, allocations: 41.31 kB / 1.094 GB, free: 18.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000481/0.8505, allocations: 0.6591 MB / 1.094 GB, free: 18.01 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.8507, allocations: 182.8 kB / 1.095 GB, free: 17.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.8507, allocations: 14.59 kB / 1.095 GB, free: 17.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/0.8508, allocations: 335.4 kB / 1.095 GB, free: 17.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.8519, allocations: 404.6 kB / 1.095 GB, free: 17.58 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.853, allocations: 0.6797 MB / 1.096 GB, free: 17.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.8549, allocations: 0.912 MB / 1.097 GB, free: 16.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.8549, allocations: 2.156 kB / 1.097 GB, free: 16.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003174/0.8581, allocations: 1.251 MB / 1.098 GB, free: 16.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.8581, allocations: 12.58 kB / 1.098 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.8581, allocations: 7.281 kB / 1.098 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008959/0.859, allocations: 226.7 kB / 1.098 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/0.8598, allocations: 205.2 kB / 1.099 GB, free: 16.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007358/0.8606, allocations: 0.726 MB / 1.099 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.8624, allocations: 265.8 kB / 1.099 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.8625, allocations: 42.81 kB / 1.1 GB, free: 16.2 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.0007592/0.8633, allocations: 357.8 kB / 1.1 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.8635, allocations: 149 kB / 1.1 GB, free: 16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/0.8661, allocations: 1.218 MB / 1.101 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.8662, allocations: 8.328 kB / 1.101 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8662, allocations: 3.359 kB / 1.101 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.8662, allocations: 7.219 kB / 1.101 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005488/0.8717, allocations: 2.659 MB / 1.104 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.8717, allocations: 0 / 1.104 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.8721, allocations: 100.3 kB / 1.104 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007899/0.8729, allocations: 222.4 kB / 1.104 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.873, allocations: 19.31 kB / 1.104 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.8742, allocations: 0.8004 MB / 1.105 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.8742, allocations: 0 / 1.105 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003488/0.8777, allocations: 1.321 MB / 1.106 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008019/0.8785, allocations: 374.5 kB / 1.107 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.8787, allocations: 12.77 kB / 1.107 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009714/0.8797, allocations: 116.2 kB / 1.107 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.8798, allocations: 48.55 kB / 1.107 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.8799, allocations: 27.73 kB / 1.107 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002029/0.8819, allocations: 1.078 MB / 1.108 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8819, allocations: 0 / 1.108 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001569/0.8835, allocations: 436.3 kB / 1.108 GB, free: 14.2 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.0008768/0.8844, allocations: 449.1 kB / 1.109 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002272/0.8866, allocations: 0.8931 MB / 1.11 GB, free: 14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8867, allocations: 2.906 kB / 1.11 GB, free: 14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.888, allocations: 495.6 kB / 1.11 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/0.8916, allocations: 0.7327 MB / 1.111 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.896, allocations: 2.729 MB / 1.113 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.8967, allocations: 1.174 MB / 1.115 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001232/0.8979, allocations: 277.4 kB / 1.115 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.8982, allocations: 119.2 kB / 1.115 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/0.8982, allocations: 0 / 1.115 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of Templates: time 0.05286/0.9511, allocations: 30.32 MB / 1.145 GB, free: 15.17 MB / 0.698 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)