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.001009/0.001009, allocations: 105.6 kB / 16.35 MB, free: 5.879 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.001019/0.001019, allocations: 192.4 kB / 17.28 MB, free: 5.516 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.439/1.439, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.789/1.789, allocations: 292.3 MB / 0.5496 GB, free: 17.42 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.001427/0.001427, allocations: 68.47 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2349, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5512/0.7861, allocations: 132.2 MB / 0.9139 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03656/0.8227, allocations: 23.02 MB / 0.9364 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006275/0.829, allocations: 123.2 kB / 0.9365 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005126/0.8343, allocations: 1.494 MB / 0.938 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01451/0.8488, allocations: 4.057 MB / 0.9419 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006489/0.8553, allocations: 2.194 MB / 0.9441 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01106/0.8664, allocations: 6.5 MB / 0.9504 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003952/0.8704, allocations: 2.366 MB / 0.9527 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007137/0.8775, allocations: 2.773 MB / 0.9554 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003714/0.8813, allocations: 1.886 MB / 0.9573 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007766/0.882, allocations: 248 kB / 0.9575 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005588/0.8876, allocations: 1.938 MB / 0.9594 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007495/0.8884, allocations: 0.5954 MB / 0.96 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002489/0.8909, allocations: 1.462 MB / 0.9614 GB, free: 5.391 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00738/0.8983, allocations: 4.389 MB / 0.9657 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.8983, allocations: 0 / 0.9657 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8983, allocations: 0 / 0.9657 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.348e-05/0.8984, allocations: 0 / 0.9657 GB, free: 0.9922 MB / 0.7481 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.006533/0.905, allocations: 3.191 MB / 0.9688 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.905, allocations: 12.02 kB / 0.9688 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004601/0.9096, allocations: 0.8396 MB / 0.9697 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005263/0.9149, allocations: 2.217 MB / 0.9718 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001019/0.916, allocations: 290.8 kB / 0.9721 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003604/0.9164, allocations: 164 kB / 0.9722 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004147/0.9205, allocations: 1.934 MB / 0.9741 GB, free: 8.117 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.9206, allocations: 15.88 kB / 0.9742 GB, free: 8.102 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.9207, allocations: 67.98 kB / 0.9742 GB, free: 8.035 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/0.9208, allocations: 39.94 kB / 0.9743 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004533/0.9253, allocations: 1.807 MB / 0.976 GB, free: 6.188 MB / 0.7637 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.01341/0.9388, allocations: 9 MB / 0.9848 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004178/0.943, allocations: 1.183 MB / 0.986 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.944, allocations: 469.5 kB / 0.9864 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.9452, allocations: 1.722 MB / 0.9881 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.9452, allocations: 46.5 kB / 0.9881 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=76): time 3.256e-06/0.9452, allocations: 0 / 0.9881 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.008507/0.9538, allocations: 2.329 MB / 0.9904 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.9539, allocations: 85.11 kB / 0.9905 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004179/0.958, allocations: 2.516 MB / 0.993 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002036/0.9583, allocations: 45.7 kB / 0.993 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009297/0.9592, allocations: 1.045 MB / 0.994 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.9595, allocations: 268.2 kB / 0.9943 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004174/0.9599, allocations: 254.6 kB / 0.9945 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.9601, allocations: 349.9 kB / 0.9948 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.9617, allocations: 0.5842 MB / 0.9954 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002055/0.9638, allocations: 0.9738 MB / 0.9964 GB, free: 72 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002972/0.9668, allocations: 1.256 MB / 0.9976 GB, free: 14.71 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.9668, allocations: 4.938 kB / 0.9976 GB, free: 14.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006732/0.9736, allocations: 2.044 MB / 0.9996 GB, free: 12.64 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.9736, allocations: 15.94 kB / 0.9996 GB, free: 12.63 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.9736, allocations: 8.625 kB / 0.9996 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/0.9754, allocations: 418.7 kB / 1 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.9767, allocations: 295.5 kB / 1 GB, free: 11.92 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.979, allocations: 1.495 MB / 1.002 GB, free: 10.37 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/0.9824, allocations: 395.2 kB / 1.002 GB, free: 9.984 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000241/0.9827, allocations: 63.95 kB / 1.002 GB, free: 9.922 MB / 0.795 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.001233/0.9839, allocations: 462.6 kB / 1.003 GB, free: 9.461 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008756/0.9848, allocations: 252.8 kB / 1.003 GB, free: 9.211 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/0.9888, allocations: 1.485 MB / 1.004 GB, free: 7.719 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.9888, allocations: 12 kB / 1.004 GB, free: 7.707 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.9888, allocations: 4 kB / 1.004 GB, free: 7.703 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.9889, allocations: 7.969 kB / 1.004 GB, free: 7.695 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008854/0.9977, allocations: 3.603 MB / 1.008 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.9978, allocations: 4 kB / 1.008 GB, free: 3.977 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/0.9984, allocations: 132.2 kB / 1.008 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/1, allocations: 414.5 kB / 1.008 GB, free: 3.438 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/1, allocations: 27.98 kB / 1.008 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/1.003, allocations: 1.569 MB / 1.01 GB, free: 1.789 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/1.003, allocations: 11.95 kB / 1.01 GB, free: 1.777 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006657/1.01, allocations: 1.933 MB / 1.012 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/1.011, allocations: 485.6 kB / 1.012 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000451/1.012, allocations: 20 kB / 1.012 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/1.013, allocations: 143.9 kB / 1.012 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/1.014, allocations: 67.73 kB / 1.013 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/1.014, allocations: 35.97 kB / 1.013 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00337/1.017, allocations: 1.773 MB / 1.014 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.623e-06/1.017, allocations: 0 / 1.014 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002515/1.02, allocations: 0.6982 MB / 1.015 GB, free: 12.55 MB / 0.8106 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.001297/1.021, allocations: 0.6069 MB / 1.016 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004516/1.026, allocations: 1.362 MB / 1.017 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/1.026, allocations: 4 kB / 1.017 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002451/1.028, allocations: 0.6726 MB / 1.018 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00649/1.035, allocations: 1.357 MB / 1.019 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00647/1.041, allocations: 3.535 MB / 1.022 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/1.042, allocations: 1.486 MB / 1.024 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002125/1.044, allocations: 430.8 kB / 1.024 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/1.045, allocations: 167.4 kB / 1.024 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of SimCode: time 8.52e-07/1.045, allocations: 0 / 1.024 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of Templates: time 0.0812/1.126, allocations: 48.65 MB / 1.072 GB, free: 2.977 MB / 0.8575 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)