Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.21/2.21, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.001358, allocations: 178.6 kB / 326.3 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.397/2.397, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009565/0.0009565, allocations: 87.98 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007306/0.0007308, allocations: 11.34 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2371, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08445/0.3216, allocations: 65.12 MB / 0.9631 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03546/0.3572, allocations: 17.56 MB / 0.9802 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.3599, allocations: 67.56 kB / 0.9803 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.3627, allocations: 0.5121 MB / 0.9808 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009381/0.3721, allocations: 2.093 MB / 0.9828 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005559/0.3777, allocations: 1.102 MB / 0.9839 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008698/0.3864, allocations: 4.412 MB / 0.9882 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002942/0.3894, allocations: 1.096 MB / 0.9893 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004494/0.394, allocations: 1.33 MB / 0.9906 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003003/0.397, allocations: 1.046 MB / 0.9916 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004441/0.3975, allocations: 56 kB / 0.9917 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00408/0.4016, allocations: 0.9082 MB / 0.9926 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006001/0.4022, allocations: 246.8 kB / 0.9928 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008797/0.4031, allocations: 372.9 kB / 0.9931 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004732/0.4079, allocations: 2.291 MB / 0.9954 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4079, allocations: 4 kB / 0.9954 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.764e-06/0.408, allocations: 0 / 0.9954 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.796e-05/0.408, allocations: 0 / 0.9954 GB, free: 15.09 MB / 0.6511 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.005113/0.4131, allocations: 1.727 MB / 0.9971 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4132, allocations: 8.031 kB / 0.9971 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00416/0.4174, allocations: 0.4946 MB / 0.9976 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004727/0.4221, allocations: 1.474 MB / 0.999 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007566/0.423, allocations: 149.9 kB / 0.9991 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003709/0.4234, allocations: 108 kB / 0.9992 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004828/0.4282, allocations: 1.307 MB / 1.001 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.974e-05/0.4283, allocations: 7.922 kB / 1.001 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.4285, allocations: 44 kB / 1.001 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.4285, allocations: 24 kB / 1.001 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005522/0.4341, allocations: 1.171 MB / 1.002 GB, free: 8.371 MB / 0.6511 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.01478/0.4489, allocations: 6.94 MB / 1.009 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006072/0.455, allocations: 0.9278 MB / 1.009 GB, free: 40 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.4563, allocations: 318 kB / 1.01 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001903/0.4582, allocations: 1.722 MB / 1.011 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.4583, allocations: 43 kB / 1.011 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 3.166e-06/0.4583, allocations: 0 / 1.011 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.00948/0.4678, allocations: 1.487 MB / 1.013 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.4679, allocations: 55.84 kB / 1.013 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00428/0.4722, allocations: 1.537 MB / 1.014 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.4724, allocations: 37.7 kB / 1.014 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009269/0.4734, allocations: 0.6537 MB / 1.015 GB, free: 9.73 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000316/0.4737, allocations: 185.3 kB / 1.015 GB, free: 9.547 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.4738, allocations: 16 kB / 1.015 GB, free: 9.531 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.474, allocations: 337.9 kB / 1.016 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.4761, allocations: 401.8 kB / 1.016 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.4786, allocations: 0.6744 MB / 1.017 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.4808, allocations: 453.9 kB / 1.017 GB, free: 7.566 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.4808, allocations: 4 kB / 1.017 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005834/0.4866, allocations: 1.252 MB / 1.018 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.4867, allocations: 12 kB / 1.018 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.4868, allocations: 8 kB / 1.018 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/0.4883, allocations: 228.6 kB / 1.019 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.49, allocations: 207.7 kB / 1.019 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.4915, allocations: 0.7162 MB / 1.019 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/0.4948, allocations: 262.7 kB / 1.02 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/0.4951, allocations: 51.86 kB / 1.02 GB, free: 4.797 MB / 0.6667 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.00113/0.4962, allocations: 358.7 kB / 1.02 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005205/0.4968, allocations: 146.2 kB / 1.02 GB, free: 4.293 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/0.5014, allocations: 1.218 MB / 1.021 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.5015, allocations: 7.922 kB / 1.021 GB, free: 3.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.5015, allocations: 3.938 kB / 1.021 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.5027, allocations: 374.9 kB / 1.022 GB, free: 2.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/0.503, allocations: 15.94 kB / 1.022 GB, free: 2.645 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/0.5048, allocations: 107.8 kB / 1.022 GB, free: 2.539 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.5049, allocations: 40.5 kB / 1.022 GB, free: 2.5 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00503/0.51, allocations: 1.083 MB / 1.023 GB, free: 1.414 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005126/0.5152, allocations: 1.529 MB / 1.025 GB, free: 15.86 MB / 0.6824 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001382/0.5166, allocations: 376.4 kB / 1.025 GB, free: 15.5 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.003219/0.5198, allocations: 1.07 MB / 1.026 GB, free: 14.43 MB / 0.6824 GB Notification: Performance of Backend: time 1.383e-06/0.5199, allocations: 0 / 1.026 GB, free: 14.43 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.005381/0.5253, allocations: 1.073 MB / 1.027 GB, free: 13.36 MB / 0.6824 GB Notification: Performance of SimCode: time 0.01102/0.5364, allocations: 3.554 MB / 1.03 GB, free: 9.754 MB / 0.6824 GB Notification: Performance of Templates: time 0.7594/1.296, allocations: 31.18 MB / 1.061 GB, free: 148.9 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)