Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001152/0.001152, allocations: 111.2 kB / 16.42 MB, free: 6.496 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.001144/0.001144, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9609/0.9623, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07505/1.037, allocations: 70.49 MB / 1.157 GB, free: 3 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02685/1.064, allocations: 18.93 MB / 1.176 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004003/1.068, allocations: 71.56 kB / 1.176 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003539/1.072, allocations: 0.834 MB / 1.177 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0131/1.085, allocations: 3.001 MB / 1.18 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005708/1.091, allocations: 1.664 MB / 1.181 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008126/1.099, allocations: 4.053 MB / 1.185 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/1.102, allocations: 1.457 MB / 1.187 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005494/1.107, allocations: 1.808 MB / 1.189 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003082/1.111, allocations: 1.18 MB / 1.19 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006445/1.111, allocations: 179.5 kB / 1.19 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005164/1.116, allocations: 1.423 MB / 1.191 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009037/1.117, allocations: 380.6 kB / 1.192 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003606/1.121, allocations: 0.9242 MB / 1.193 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00779/1.129, allocations: 3.101 MB / 1.196 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.129, allocations: 0 / 1.196 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.244e-06/1.129, allocations: 0 / 1.196 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001076/1.129, allocations: 1.031 kB / 1.196 GB, free: 8.688 MB / 0.9356 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.00609/1.135, allocations: 2.025 MB / 1.198 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.135, allocations: 9.438 kB / 1.198 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/1.138, allocations: 442.9 kB / 1.198 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/1.141, allocations: 1.554 MB / 1.199 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.758e-05/1.141, allocations: 78.38 kB / 1.2 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/1.141, allocations: 106.5 kB / 1.2 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/1.144, allocations: 1.314 MB / 1.201 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/1.144, allocations: 6.344 kB / 1.201 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/1.145, allocations: 42.25 kB / 1.201 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/1.145, allocations: 29.72 kB / 1.201 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002746/1.147, allocations: 1.099 MB / 1.202 GB, free: 4.094 MB / 0.9356 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.01001/1.157, allocations: 7.509 MB / 1.209 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/1.161, allocations: 0.8073 MB / 1.21 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006179/1.161, allocations: 288 kB / 1.21 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/1.163, allocations: 1.726 MB / 1.212 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/1.163, allocations: 41.62 kB / 1.212 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 2.906e-06/1.163, allocations: 4 kB / 1.212 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.005075/1.168, allocations: 1.333 MB / 1.213 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/1.168, allocations: 56.53 kB / 1.214 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/1.171, allocations: 1.545 MB / 1.215 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/1.171, allocations: 33.98 kB / 1.215 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000648/1.171, allocations: 0.6729 MB / 1.216 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/1.172, allocations: 171.2 kB / 1.216 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/1.172, allocations: 173.7 kB / 1.216 GB, free: 8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.172, allocations: 344.1 kB / 1.216 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000969/1.173, allocations: 366.8 kB / 1.217 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/1.174, allocations: 0.6531 MB / 1.217 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/1.176, allocations: 0.8828 MB / 1.218 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/1.176, allocations: 2.75 kB / 1.218 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003155/1.179, allocations: 1.2 MB / 1.219 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/1.179, allocations: 7.562 kB / 1.219 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/1.179, allocations: 8.406 kB / 1.219 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009269/1.18, allocations: 218.5 kB / 1.22 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007922/1.181, allocations: 189.8 kB / 1.22 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000927/1.182, allocations: 0.7268 MB / 1.221 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/1.184, allocations: 211.5 kB / 1.221 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/1.184, allocations: 39.83 kB / 1.221 GB, free: 4.715 MB / 0.9512 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.000689/1.185, allocations: 363.1 kB / 1.221 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/1.185, allocations: 153.4 kB / 1.221 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/1.188, allocations: 1.147 MB / 1.222 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/1.188, allocations: 0 / 1.222 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.188, allocations: 7.984 kB / 1.222 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007975/1.189, allocations: 342.9 kB / 1.223 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004179/1.189, allocations: 12 kB / 1.223 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/1.19, allocations: 67.92 kB / 1.223 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.666e-05/1.19, allocations: 40.48 kB / 1.223 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002662/1.193, allocations: 0.9851 MB / 1.224 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002591/1.196, allocations: 1.427 MB / 1.225 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006784/1.196, allocations: 344.4 kB / 1.226 GB, free: 236 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002027/1.198, allocations: 1.086 MB / 1.227 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of Backend: time 6.82e-07/1.198, allocations: 0 / 1.227 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003817/1.202, allocations: 1.066 MB / 1.228 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of SimCode: time 0.006258/1.208, allocations: 3.169 MB / 1.231 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of Templates: time 0.05676/1.265, allocations: 33.43 MB / 1.263 GB, free: 9.789 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)