Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0015/0.0015, allocations: 195 kB / 16.14 MB, free: 6.711 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.575/1.575, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.88/1.88, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.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.001985/0.001985, allocations: 61.53 kB / 0.6708 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.311, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1239/0.4349, allocations: 131.4 MB / 0.911 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.4725/0.9075, allocations: 23.11 MB / 0.9335 GB, free: 44.22 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004933/0.9124, allocations: 111.3 kB / 0.9336 GB, free: 44.22 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005834/0.9184, allocations: 1.21 MB / 0.9348 GB, free: 44.2 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0182/0.9366, allocations: 3.748 MB / 0.9385 GB, free: 44.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009537/0.9462, allocations: 1.976 MB / 0.9404 GB, free: 44.01 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01581/0.962, allocations: 8.244 MB / 0.9485 GB, free: 44 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006944/0.969, allocations: 1.966 MB / 0.9504 GB, free: 43.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009936/0.9789, allocations: 2.368 MB / 0.9527 GB, free: 43.55 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006429/0.9854, allocations: 1.868 MB / 0.9545 GB, free: 43.2 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000999/0.9864, allocations: 121.2 kB / 0.9546 GB, free: 43.2 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008414/0.9949, allocations: 1.746 MB / 0.9563 GB, free: 43.03 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.9961, allocations: 490.9 kB / 0.9568 GB, free: 42.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003736/0.9998, allocations: 1.325 MB / 0.9581 GB, free: 42.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00904/1.009, allocations: 4.248 MB / 0.9622 GB, free: 41.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.009, allocations: 3.938 kB / 0.9623 GB, free: 41.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.362e-06/1.009, allocations: 0 / 0.9623 GB, free: 41.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.516e-05/1.009, allocations: 1.156 kB / 0.9623 GB, free: 41.89 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.009492/1.019, allocations: 3.188 MB / 0.9654 GB, free: 40.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.019, allocations: 12.25 kB / 0.9654 GB, free: 40.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007167/1.026, allocations: 0.8406 MB / 0.9662 GB, free: 40.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006337/1.032, allocations: 2.291 MB / 0.9684 GB, free: 39.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009946/1.033, allocations: 290.2 kB / 0.9687 GB, free: 39.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004587/1.034, allocations: 165.2 kB / 0.9689 GB, free: 39.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004311/1.038, allocations: 1.937 MB / 0.9708 GB, free: 39.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/1.038, allocations: 3.984 kB / 0.9708 GB, free: 39.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/1.038, allocations: 63.52 kB / 0.9708 GB, free: 39.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-05/1.038, allocations: 38.69 kB / 0.9709 GB, free: 39.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004635/1.043, allocations: 1.822 MB / 0.9726 GB, free: 39.2 MB / 0.7325 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.01277/1.056, allocations: 9.021 MB / 0.9815 GB, free: 31.87 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004031/1.06, allocations: 1.183 MB / 0.9826 GB, free: 31.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/1.061, allocations: 468.1 kB / 0.9831 GB, free: 31.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008002/1.062, allocations: 1.73 MB / 0.9847 GB, free: 29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/1.062, allocations: 37.34 kB / 0.9848 GB, free: 28.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.878e-06/1.062, allocations: 0 / 0.9848 GB, free: 28.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.008462/1.07, allocations: 2.331 MB / 0.9871 GB, free: 27.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/1.07, allocations: 93.3 kB / 0.9871 GB, free: 27.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004074/1.074, allocations: 2.492 MB / 0.9896 GB, free: 26.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002261/1.074, allocations: 47.3 kB / 0.9896 GB, free: 26.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007108/1.075, allocations: 1.045 MB / 0.9906 GB, free: 25.31 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/1.075, allocations: 266.1 kB / 0.9909 GB, free: 25.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004074/1.076, allocations: 260.4 kB / 0.9911 GB, free: 24.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.847e-05/1.076, allocations: 348.6 kB / 0.9915 GB, free: 24.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/1.078, allocations: 0.5856 MB / 0.9921 GB, free: 24.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/1.079, allocations: 0.9709 MB / 0.993 GB, free: 23.58 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/1.082, allocations: 1.261 MB / 0.9942 GB, free: 22.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/1.082, allocations: 6.781 kB / 0.9942 GB, free: 22.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006281/1.088, allocations: 2.048 MB / 0.9962 GB, free: 21.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/1.088, allocations: 8.438 kB / 0.9962 GB, free: 21.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/1.088, allocations: 11.84 kB / 0.9963 GB, free: 21.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/1.09, allocations: 416.3 kB / 0.9967 GB, free: 21.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.091, allocations: 293.4 kB / 0.9969 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/1.093, allocations: 1.503 MB / 0.9984 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003971/1.097, allocations: 437.3 kB / 0.9988 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/1.097, allocations: 58.06 kB / 0.9989 GB, free: 19.92 MB / 0.7325 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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001142/1.099, allocations: 459.5 kB / 0.9993 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007364/1.099, allocations: 252.5 kB / 0.9996 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003423/1.103, allocations: 1.5 MB / 1.001 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/1.103, allocations: 12.5 kB / 1.001 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.103, allocations: 0 / 1.001 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/1.103, allocations: 6.891 kB / 1.001 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007407/1.11, allocations: 3.585 MB / 1.005 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/1.11, allocations: 7.094 kB / 1.005 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/1.111, allocations: 133.5 kB / 1.005 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/1.112, allocations: 426.9 kB / 1.005 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/1.113, allocations: 27.02 kB / 1.005 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/1.115, allocations: 1.571 MB / 1.007 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.115, allocations: 8.688 kB / 1.007 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005693/1.12, allocations: 1.925 MB / 1.009 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.122, allocations: 485.6 kB / 1.009 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000517/1.122, allocations: 23.84 kB / 1.009 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/1.124, allocations: 175.8 kB / 1.009 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/1.124, allocations: 59.86 kB / 1.009 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.893e-05/1.124, allocations: 43.91 kB / 1.009 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002631/1.127, allocations: 1.754 MB / 1.011 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.41e-07/1.127, allocations: 0 / 1.011 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002035/1.129, allocations: 0.6827 MB / 1.012 GB, free: 9.637 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001012/1.13, allocations: 0.5884 MB / 1.012 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003628/1.134, allocations: 1.367 MB / 1.014 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.134, allocations: 8.188 kB / 1.014 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002062/1.136, allocations: 0.6535 MB / 1.014 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006177/1.142, allocations: 1.28 MB / 1.015 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/1.148, allocations: 4.284 MB / 1.02 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/1.149, allocations: 1.493 MB / 1.021 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00218/1.151, allocations: 444.4 kB / 1.022 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/1.151, allocations: 171.4 kB / 1.022 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of SimCode: time 9.31e-07/1.151, allocations: 0 / 1.022 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of Templates: time 0.0803/1.232, allocations: 48.87 MB / 1.069 GB, free: 15.25 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)