Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 107.1 kB / 16.41 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001696, allocations: 185.5 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.116, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.1385/1.255, allocations: 70.5 MB / 1.236 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03998/1.295, allocations: 18.92 MB / 1.255 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003645/1.298, allocations: 71.56 kB / 1.255 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003384/1.302, allocations: 0.8385 MB / 1.256 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009303/1.311, allocations: 3.007 MB / 1.258 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00468/1.316, allocations: 1.657 MB / 1.26 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006537/1.322, allocations: 4.058 MB / 1.264 GB, free: 468 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002787/1.325, allocations: 1.461 MB / 1.265 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004968/1.33, allocations: 1.816 MB / 1.267 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0024/1.333, allocations: 1.172 MB / 1.268 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005145/1.333, allocations: 176 kB / 1.269 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/1.337, allocations: 1.416 MB / 1.27 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005984/1.337, allocations: 394.6 kB / 1.27 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001349/1.339, allocations: 0.9177 MB / 1.271 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004994/1.344, allocations: 3.112 MB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/1.344, allocations: 0 / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/1.344, allocations: 0 / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.782e-05/1.344, allocations: 0 / 1.274 GB, free: 5.953 MB / 0.9981 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.003933/1.348, allocations: 2.087 MB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/1.348, allocations: 8.922 kB / 1.276 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/1.35, allocations: 455.4 kB / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/1.353, allocations: 1.572 MB / 1.278 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.35e-05/1.353, allocations: 82.03 kB / 1.278 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.353, allocations: 104 kB / 1.278 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/1.356, allocations: 1.313 MB / 1.28 GB, free: 116 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/1.356, allocations: 7.938 kB / 1.28 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/1.356, allocations: 40 kB / 1.28 GB, free: 68 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/1.356, allocations: 28 kB / 1.28 GB, free: 40 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/1.359, allocations: 1.097 MB / 1.281 GB, free: 14.94 MB / 1.014 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.009566/1.369, allocations: 7.503 MB / 1.288 GB, free: 6.926 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/1.372, allocations: 0.8024 MB / 1.289 GB, free: 6.117 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006322/1.373, allocations: 286 kB / 1.289 GB, free: 5.836 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/1.374, allocations: 1.718 MB / 1.291 GB, free: 3.727 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/1.374, allocations: 39 kB / 1.291 GB, free: 3.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=48): time 3.006e-06/1.374, allocations: 0 / 1.291 GB, free: 3.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.005284/1.379, allocations: 1.347 MB / 1.292 GB, free: 2.309 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/1.379, allocations: 59.84 kB / 1.292 GB, free: 2.238 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/1.382, allocations: 1.549 MB / 1.294 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.161e-05/1.382, allocations: 37.7 kB / 1.294 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006683/1.383, allocations: 0.682 MB / 1.295 GB, free: 15.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/1.383, allocations: 182.4 kB / 1.295 GB, free: 15.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/1.383, allocations: 170.5 kB / 1.295 GB, free: 15.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.384, allocations: 334 kB / 1.295 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/1.385, allocations: 373.7 kB / 1.296 GB, free: 14.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/1.386, allocations: 0.6544 MB / 1.296 GB, free: 14.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/1.388, allocations: 0.8906 MB / 1.297 GB, free: 13.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/1.388, allocations: 4 kB / 1.297 GB, free: 13.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003233/1.391, allocations: 1.206 MB / 1.298 GB, free: 11.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.391, allocations: 8 kB / 1.298 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/1.391, allocations: 8 kB / 1.298 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/1.392, allocations: 220.6 kB / 1.298 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/1.393, allocations: 195.7 kB / 1.299 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009302/1.394, allocations: 0.7162 MB / 1.299 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.396, allocations: 223 kB / 1.3 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/1.396, allocations: 43.98 kB / 1.3 GB, free: 10.47 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006809/1.396, allocations: 361.6 kB / 1.3 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/1.397, allocations: 155 kB / 1.3 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/1.399, allocations: 1.139 MB / 1.301 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/1.399, allocations: 0 / 1.301 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.399, allocations: 4 kB / 1.301 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000598/1.4, allocations: 351.8 kB / 1.302 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/1.4, allocations: 19.94 kB / 1.302 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00088/1.401, allocations: 67.92 kB / 1.302 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.289e-05/1.401, allocations: 36.5 kB / 1.302 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002735/1.404, allocations: 0.9969 MB / 1.303 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002653/1.407, allocations: 1.42 MB / 1.304 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000724/1.407, allocations: 344.4 kB / 1.304 GB, free: 5.527 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001919/1.409, allocations: 1.086 MB / 1.305 GB, free: 4.445 MB / 1.029 GB Notification: Performance of Backend: time 3.306e-06/1.409, allocations: 96 / 1.305 GB, free: 4.445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003572/1.413, allocations: 1.101 MB / 1.306 GB, free: 3.359 MB / 1.029 GB Notification: Performance of SimCode: time 0.006055/1.419, allocations: 3.215 MB / 1.31 GB, free: 88 kB / 1.029 GB Notification: Performance of Templates: time 0.06252/1.481, allocations: 33.44 MB / 1.342 GB, free: 14.96 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)