Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_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.001817/0.001817, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 199.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.605/1.605, allocations: 251.7 MB / 0.5092 GB, free: 3.074 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 71.89 kB / 0.6223 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.5089, allocations: 104.7 MB / 0.7245 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06709/0.576, allocations: 70.5 MB / 0.7934 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02586/0.6019, allocations: 18.78 MB / 0.8117 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003076/0.6051, allocations: 71.56 kB / 0.8118 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002606/0.6077, allocations: 0.8229 MB / 0.8126 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009663/0.6174, allocations: 2.833 MB / 0.8153 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004594/0.622, allocations: 1.663 MB / 0.817 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005898/0.6279, allocations: 4.028 MB / 0.8209 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002504/0.6305, allocations: 1.469 MB / 0.8223 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005591/0.6361, allocations: 1.743 MB / 0.824 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.6391, allocations: 1.198 MB / 0.8252 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004528/0.6396, allocations: 180 kB / 0.8254 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004287/0.6439, allocations: 1.384 MB / 0.8267 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005558/0.6444, allocations: 406.5 kB / 0.8271 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.6462, allocations: 0.9177 MB / 0.828 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005669/0.6519, allocations: 3.081 MB / 0.831 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6519, allocations: 0 / 0.831 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6519, allocations: 0 / 0.831 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.704e-05/0.652, allocations: 0 / 0.831 GB, free: 15.45 MB / 0.6544 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.004416/0.6564, allocations: 2.045 MB / 0.833 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.6564, allocations: 8.031 kB / 0.833 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003192/0.6597, allocations: 438.5 kB / 0.8334 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/0.6632, allocations: 1.493 MB / 0.8349 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004972/0.6637, allocations: 138 kB / 0.835 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.6639, allocations: 100 kB / 0.8351 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003565/0.6675, allocations: 1.327 MB / 0.8364 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.6676, allocations: 4 kB / 0.8364 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.6677, allocations: 40 kB / 0.8365 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.6678, allocations: 31.94 kB / 0.8365 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/0.6717, allocations: 1.124 MB / 0.8376 GB, free: 8.496 MB / 0.6544 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.01175/0.6835, allocations: 7.297 MB / 0.8447 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.6867, allocations: 0.8509 MB / 0.8455 GB, free: 15.87 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/0.6874, allocations: 306 kB / 0.8458 GB, free: 15.57 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/0.6888, allocations: 1.718 MB / 0.8475 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.6888, allocations: 43 kB / 0.8476 GB, free: 13.41 MB / 0.67 GB Notification: Performance of pre-optimization done (n=52): time 2.264e-06/0.6888, allocations: 0 / 0.8476 GB, free: 13.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=52): time 0.005186/0.694, allocations: 1.389 MB / 0.8489 GB, free: 11.99 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.6941, allocations: 55.84 kB / 0.849 GB, free: 11.92 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/0.6966, allocations: 1.546 MB / 0.8505 GB, free: 10.37 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-05/0.6967, allocations: 45.64 kB / 0.8505 GB, free: 10.32 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005696/0.6972, allocations: 0.6574 MB / 0.8512 GB, free: 9.652 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.6974, allocations: 193.3 kB / 0.8513 GB, free: 9.461 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/0.6978, allocations: 182.4 kB / 0.8515 GB, free: 9.277 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6979, allocations: 333.9 kB / 0.8518 GB, free: 8.945 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.6989, allocations: 381.8 kB / 0.8522 GB, free: 8.574 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.7002, allocations: 0.6817 MB / 0.8529 GB, free: 7.766 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.7022, allocations: 0.9258 MB / 0.8538 GB, free: 6.738 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.7022, allocations: 0 / 0.8538 GB, free: 6.738 MB / 0.67 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00322/0.7054, allocations: 1.24 MB / 0.855 GB, free: 5.488 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.7054, allocations: 10.34 kB / 0.855 GB, free: 5.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.7055, allocations: 8 kB / 0.855 GB, free: 5.473 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009332/0.7064, allocations: 220.6 kB / 0.8552 GB, free: 5.254 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007909/0.7072, allocations: 203.7 kB / 0.8554 GB, free: 5.055 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008881/0.7081, allocations: 0.7124 MB / 0.8561 GB, free: 4.316 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.7098, allocations: 234.6 kB / 0.8563 GB, free: 4.086 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.362e-05/0.7099, allocations: 43.98 kB / 0.8564 GB, free: 4.043 MB / 0.67 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 (88): * Single equations (assignments): 87 * 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.0006292/0.7106, allocations: 361.5 kB / 0.8567 GB, free: 3.68 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.7109, allocations: 150.2 kB / 0.8569 GB, free: 3.531 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.7133, allocations: 1.184 MB / 0.858 GB, free: 2.32 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.7134, allocations: 11.94 kB / 0.858 GB, free: 2.309 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7134, allocations: 0 / 0.858 GB, free: 2.309 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.7134, allocations: 3.984 kB / 0.858 GB, free: 2.305 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005211/0.7186, allocations: 2.577 MB / 0.8605 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.7187, allocations: 0 / 0.8605 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.7191, allocations: 87.88 kB / 0.8606 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007694/0.7198, allocations: 220.8 kB / 0.8608 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/0.7199, allocations: 19.92 kB / 0.8609 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.7212, allocations: 0.767 MB / 0.8616 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.7212, allocations: 4.062 kB / 0.8616 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003534/0.7248, allocations: 1.238 MB / 0.8628 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007943/0.7256, allocations: 358.9 kB / 0.8632 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003224/0.7259, allocations: 12 kB / 0.8632 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.7269, allocations: 83.84 kB / 0.8633 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.7271, allocations: 40.5 kB / 0.8633 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/0.7271, allocations: 23.98 kB / 0.8633 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002225/0.7294, allocations: 1.094 MB / 0.8644 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7294, allocations: 0 / 0.8644 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001684/0.7311, allocations: 447.4 kB / 0.8648 GB, free: 11.19 MB / 0.6856 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 (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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001097/0.7322, allocations: 481.4 kB / 0.8653 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002784/0.735, allocations: 0.9104 MB / 0.8662 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.735, allocations: 0 / 0.8662 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.7364, allocations: 468.2 kB / 0.8666 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003642/0.74, allocations: 0.7663 MB / 0.8674 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004436/0.7445, allocations: 2.3 MB / 0.8696 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008945/0.7454, allocations: 1.172 MB / 0.8707 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001304/0.7467, allocations: 272.3 kB / 0.871 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.747, allocations: 131.3 kB / 0.8711 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of SimCode: time 9.12e-07/0.7471, allocations: 0 / 0.8711 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of Templates: time 0.05467/0.8017, allocations: 32.08 MB / 0.9024 GB, free: 4.98 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)