Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.006739/0.006739, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001258/0.001258, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.515/1.515, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.402/1.402, allocations: 251.7 MB / 0.5094 GB, free: 436 kB / 430.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.001361/0.001361, allocations: 67.89 kB / 0.7258 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5514/0.5527, allocations: 104.7 MB / 0.828 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1181/0.6709, allocations: 132.2 MB / 0.9572 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03105/0.7019, allocations: 22.95 MB / 0.9796 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006123/0.7081, allocations: 115.3 kB / 0.9797 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005033/0.7132, allocations: 1.494 MB / 0.9812 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01519/0.7284, allocations: 4.064 MB / 0.9851 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.007478/0.7359, allocations: 2.202 MB / 0.9873 GB, free: 15.05 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01146/0.7474, allocations: 6.505 MB / 0.9936 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004955/0.7524, allocations: 2.367 MB / 0.9959 GB, free: 6.102 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007616/0.76, allocations: 2.705 MB / 0.9986 GB, free: 3.398 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003914/0.764, allocations: 1.898 MB / 1 GB, free: 1.492 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0009578/0.7649, allocations: 248 kB / 1.001 GB, free: 1.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005315/0.7703, allocations: 1.868 MB / 1.002 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.7715, allocations: 0.5992 MB / 1.003 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00343/0.7749, allocations: 1.454 MB / 1.004 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.787, allocations: 4.341 MB / 1.009 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.787, allocations: 0 / 1.009 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.787, allocations: 0 / 1.009 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001519/0.7872, allocations: 4 kB / 1.009 GB, free: 8.961 MB / 0.8106 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.0104/0.7976, allocations: 3.176 MB / 1.012 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.7976, allocations: 8.031 kB / 1.012 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004988/0.8026, allocations: 0.8477 MB / 1.013 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005637/0.8083, allocations: 2.334 MB / 1.015 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.8085, allocations: 123 kB / 1.015 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002928/0.8088, allocations: 164 kB / 1.015 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/0.813, allocations: 1.919 MB / 1.017 GB, free: 168 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.8131, allocations: 3.938 kB / 1.017 GB, free: 164 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.8132, allocations: 68 kB / 1.017 GB, free: 96 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.8133, allocations: 39.94 kB / 1.017 GB, free: 56 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004714/0.818, allocations: 1.788 MB / 1.019 GB, free: 14.27 MB / 0.8262 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.01442/0.8324, allocations: 8.953 MB / 1.028 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/0.8368, allocations: 1.193 MB / 1.029 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.838, allocations: 457.2 kB / 1.029 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/0.8393, allocations: 1.73 MB / 1.031 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.8394, allocations: 38.56 kB / 1.031 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=76): time 3.026e-06/0.8394, allocations: 0 / 1.031 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=76): time 0.009206/0.8486, allocations: 2.33 MB / 1.033 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.8487, allocations: 93.05 kB / 1.033 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004618/0.8533, allocations: 2.504 MB / 1.036 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.8536, allocations: 41.7 kB / 1.036 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.8546, allocations: 1.049 MB / 1.037 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.855, allocations: 264.2 kB / 1.037 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004753/0.8555, allocations: 258.5 kB / 1.037 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.8556, allocations: 341.9 kB / 1.038 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.8573, allocations: 0.5608 MB / 1.038 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/0.8594, allocations: 0.9461 MB / 1.039 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003061/0.8625, allocations: 1.242 MB / 1.04 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.8625, allocations: 7.875 kB / 1.04 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.009568/0.8721, allocations: 2.282 MB / 1.043 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.8722, allocations: 8 kB / 1.043 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.8722, allocations: 8 kB / 1.043 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.8739, allocations: 429.5 kB / 1.043 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.8752, allocations: 275.6 kB / 1.043 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.8775, allocations: 1.499 MB / 1.045 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/0.8805, allocations: 369.9 kB / 1.045 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.8807, allocations: 55.97 kB / 1.045 GB, free: 1.906 MB / 0.8419 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 (109): * Single equations (assignments): 107 * 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.000973/0.8817, allocations: 465.5 kB / 1.046 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005368/0.8822, allocations: 241 kB / 1.046 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003622/0.8859, allocations: 1.501 MB / 1.047 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.8859, allocations: 8 kB / 1.047 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.8859, allocations: 0 / 1.047 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.8859, allocations: 7.984 kB / 1.047 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007601/0.8935, allocations: 3.593 MB / 1.051 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.8936, allocations: 0 / 1.051 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.8942, allocations: 136.1 kB / 1.051 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.8956, allocations: 419.8 kB / 1.051 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/0.8957, allocations: 23.98 kB / 1.051 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/0.8983, allocations: 1.577 MB / 1.053 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.8983, allocations: 4 kB / 1.053 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006095/0.9044, allocations: 1.939 MB / 1.055 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/0.9057, allocations: 481.6 kB / 1.055 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/0.9061, allocations: 23.91 kB / 1.055 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/0.9077, allocations: 143.8 kB / 1.055 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.9078, allocations: 59.73 kB / 1.056 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.182e-05/0.9079, allocations: 47.95 kB / 1.056 GB, free: 7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003035/0.911, allocations: 1.75 MB / 1.057 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.61e-07/0.911, allocations: 3.938 kB / 1.057 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002156/0.9132, allocations: 0.6632 MB / 1.058 GB, free: 4.574 MB / 0.8575 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.001275/0.9144, allocations: 0.5791 MB / 1.059 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00433/0.9188, allocations: 1.326 MB / 1.06 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.9188, allocations: 4 kB / 1.06 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002307/0.9211, allocations: 0.6727 MB / 1.06 GB, free: 2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006458/0.9276, allocations: 1.353 MB / 1.062 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006818/0.9344, allocations: 3.527 MB / 1.065 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.9357, allocations: 1.486 MB / 1.067 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002136/0.9378, allocations: 436.5 kB / 1.067 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/0.9382, allocations: 175.3 kB / 1.067 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of SimCode: time 7.72e-07/0.9382, allocations: 0 / 1.067 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of Templates: time 0.6259/1.564, allocations: 48.58 MB / 1.115 GB, free: 247.2 MB / 0.8887 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)