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/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009494/0.0009494, allocations: 169.7 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205 MB / 0.5766 GB, free: 20.98 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.000765/0.000765, allocations: 91.92 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003604, allocations: 10.16 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1864, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04751/0.2339, allocations: 69.78 MB / 0.9649 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02272/0.2567, allocations: 18.86 MB / 0.9833 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.2588, allocations: 67.56 kB / 0.9834 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.2606, allocations: 0.6488 MB / 0.984 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006555/0.2672, allocations: 2.589 MB / 0.9865 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.2709, allocations: 1.506 MB / 0.988 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005541/0.2764, allocations: 5.007 MB / 0.9929 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.2781, allocations: 1.136 MB / 0.994 GB, free: 308 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.2812, allocations: 1.462 MB / 0.9954 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/0.2832, allocations: 1.116 MB / 0.9965 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.2834, allocations: 60 kB / 0.9966 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.2859, allocations: 1.189 MB / 0.9977 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.2863, allocations: 262.6 kB / 0.998 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008811/0.2871, allocations: 0.7809 MB / 0.9987 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003441/0.2906, allocations: 2.956 MB / 1.002 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2906, allocations: 4 kB / 1.002 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2906, allocations: 0 / 1.002 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.155e-05/0.2907, allocations: 4 kB / 1.002 GB, free: 8.445 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.003052/0.2937, allocations: 1.707 MB / 1.003 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2938, allocations: 8.031 kB / 1.003 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/0.296, allocations: 0.4985 MB / 1.004 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.2985, allocations: 1.524 MB / 1.005 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/0.2989, allocations: 142 kB / 1.005 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.2991, allocations: 107.9 kB / 1.006 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.3016, allocations: 1.321 MB / 1.007 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.3016, allocations: 7.984 kB / 1.007 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-05/0.3017, allocations: 40 kB / 1.007 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.3017, allocations: 28 kB / 1.007 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002696/0.3044, allocations: 1.175 MB / 1.008 GB, free: 1.68 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.008509/0.313, allocations: 6.93 MB / 1.015 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/0.3162, allocations: 0.9379 MB / 1.016 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006419/0.3168, allocations: 318 kB / 1.016 GB, free: 9.035 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/0.3182, allocations: 1.726 MB / 1.018 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.3182, allocations: 39 kB / 1.018 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 3.637e-06/0.3182, allocations: 0 / 1.018 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.004901/0.3232, allocations: 1.498 MB / 1.019 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.3232, allocations: 59.84 kB / 1.019 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.3255, allocations: 1.537 MB / 1.021 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-05/0.3256, allocations: 37.7 kB / 1.021 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005541/0.3261, allocations: 0.6537 MB / 1.021 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.3263, allocations: 185.3 kB / 1.022 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-05/0.3264, allocations: 61.69 kB / 1.022 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3265, allocations: 338 kB / 1.022 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009913/0.3275, allocations: 409.7 kB / 1.022 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.3288, allocations: 0.6783 MB / 1.023 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.3306, allocations: 0.9147 MB / 1.024 GB, free: 240 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.3306, allocations: 4 kB / 1.024 GB, free: 236 kB / 0.6667 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004322/0.3349, allocations: 1.478 MB / 1.025 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.335, allocations: 8 kB / 1.025 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.335, allocations: 11.94 kB / 1.025 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008413/0.3358, allocations: 224.8 kB / 1.026 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.3366, allocations: 207.7 kB / 1.026 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008016/0.3374, allocations: 0.7356 MB / 1.027 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.339, allocations: 262.7 kB / 1.027 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.464e-05/0.3391, allocations: 43.97 kB / 1.027 GB, free: 13.23 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 (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.0005813/0.3397, allocations: 353.6 kB / 1.027 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.34, allocations: 154.1 kB / 1.027 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.3423, allocations: 1.221 MB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.3424, allocations: 3.984 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3424, allocations: 0 / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004867/0.3429, allocations: 354.9 kB / 1.029 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.343, allocations: 8 kB / 1.029 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008632/0.3439, allocations: 111.7 kB / 1.029 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.344, allocations: 44.44 kB / 1.029 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002554/0.3466, allocations: 1.098 MB / 1.03 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002468/0.349, allocations: 1.529 MB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006915/0.3497, allocations: 376.4 kB / 1.032 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001672/0.3514, allocations: 1.09 MB / 1.033 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of Backend: time 7.31e-07/0.3514, allocations: 0 / 1.033 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003097/0.3545, allocations: 1.095 MB / 1.034 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of SimCode: time 0.005522/0.3601, allocations: 3.604 MB / 1.038 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of Templates: time 0.375/0.7351, allocations: 32.08 MB / 1.069 GB, free: 146.5 MB / 0.698 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)