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.001424/0.001424, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.497/1.497, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.8/1.8, allocations: 292.3 MB / 0.5488 GB, free: 12.85 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.00143/0.00143, allocations: 68.03 kB / 0.6715 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2405, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.6384/0.8789, allocations: 132.2 MB / 0.9125 GB, free: 44.74 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02981/0.9087, allocations: 23.03 MB / 0.935 GB, free: 44.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004926/0.9137, allocations: 120.1 kB / 0.9351 GB, free: 44.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004444/0.9182, allocations: 1.495 MB / 0.9365 GB, free: 44.39 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01356/0.9318, allocations: 4.056 MB / 0.9405 GB, free: 44.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00784/0.9396, allocations: 2.193 MB / 0.9426 GB, free: 44.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01423/0.9539, allocations: 6.484 MB / 0.949 GB, free: 42.35 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005316/0.9592, allocations: 2.358 MB / 0.9513 GB, free: 41.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009173/0.9684, allocations: 2.752 MB / 0.954 GB, free: 40.04 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005762/0.9742, allocations: 1.882 MB / 0.9558 GB, free: 39.29 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.9755, allocations: 249.2 kB / 0.956 GB, free: 39.29 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008238/0.9837, allocations: 1.936 MB / 0.9579 GB, free: 38.69 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00138/0.9851, allocations: 0.6023 MB / 0.9585 GB, free: 38.3 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003639/0.9888, allocations: 1.463 MB / 0.96 GB, free: 37.39 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008989/0.9978, allocations: 4.345 MB / 0.9642 GB, free: 35.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.9978, allocations: 2.594 kB / 0.9642 GB, free: 35.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9979, allocations: 0 / 0.9642 GB, free: 35.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.665e-05/0.9979, allocations: 0 / 0.9642 GB, free: 35.91 MB / 0.7169 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.006121/1.004, allocations: 3.188 MB / 0.9673 GB, free: 33.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.004, allocations: 18.78 kB / 0.9673 GB, free: 33.74 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004314/1.008, allocations: 0.8386 MB / 0.9681 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003977/1.012, allocations: 2.222 MB / 0.9703 GB, free: 31.69 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009028/1.013, allocations: 291.7 kB / 0.9706 GB, free: 31.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/1.014, allocations: 162.3 kB / 0.9708 GB, free: 31.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/1.017, allocations: 1.937 MB / 0.9726 GB, free: 30.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/1.017, allocations: 7.984 kB / 0.9727 GB, free: 30.33 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/1.017, allocations: 65.5 kB / 0.9727 GB, free: 30.28 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/1.017, allocations: 38.53 kB / 0.9727 GB, free: 30.28 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004223/1.022, allocations: 1.82 MB / 0.9745 GB, free: 29.38 MB / 0.7169 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.01139/1.033, allocations: 9.07 MB / 0.9834 GB, free: 21.63 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004173/1.037, allocations: 1.188 MB / 0.9845 GB, free: 21.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/1.038, allocations: 460.6 kB / 0.985 GB, free: 20.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/1.039, allocations: 1.73 MB / 0.9867 GB, free: 18.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/1.04, allocations: 49.8 kB / 0.9867 GB, free: 18.71 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 4.338e-06/1.04, allocations: 0 / 0.9867 GB, free: 18.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.00908/1.049, allocations: 2.325 MB / 0.989 GB, free: 17.45 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/1.049, allocations: 87.89 kB / 0.9891 GB, free: 17.36 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/1.053, allocations: 2.521 MB / 0.9915 GB, free: 16.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002288/1.053, allocations: 45.73 kB / 0.9916 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007587/1.054, allocations: 1.042 MB / 0.9926 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/1.054, allocations: 270.8 kB / 0.9929 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004137/1.055, allocations: 258.3 kB / 0.9931 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.193e-05/1.055, allocations: 350.9 kB / 0.9934 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/1.056, allocations: 0.5909 MB / 0.994 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/1.059, allocations: 0.97 MB / 0.995 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002862/1.061, allocations: 1.254 MB / 0.9962 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/1.061, allocations: 6.625 kB / 0.9962 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006202/1.068, allocations: 2.041 MB / 0.9982 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/1.068, allocations: 11.94 kB / 0.9982 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/1.068, allocations: 15.98 kB / 0.9982 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001502/1.069, allocations: 417.2 kB / 0.9986 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/1.07, allocations: 291.5 kB / 0.9989 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/1.072, allocations: 1.499 MB / 1 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003175/1.075, allocations: 393.9 kB / 1.001 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/1.076, allocations: 67.95 kB / 1.001 GB, free: 7.793 MB / 0.7169 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.0008889/1.076, allocations: 454.1 kB / 1.001 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005004/1.077, allocations: 252.8 kB / 1.001 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00323/1.08, allocations: 1.498 MB / 1.003 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.08, allocations: 11.98 kB / 1.003 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.08, allocations: 0 / 1.003 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.08, allocations: 3.984 kB / 1.003 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006836/1.087, allocations: 3.606 MB / 1.006 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/1.087, allocations: 4 kB / 1.006 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/1.088, allocations: 132.1 kB / 1.007 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/1.089, allocations: 421.1 kB / 1.007 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.017e-05/1.089, allocations: 23.98 kB / 1.007 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/1.091, allocations: 1.571 MB / 1.009 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.091, allocations: 11.88 kB / 1.009 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006239/1.098, allocations: 1.927 MB / 1.01 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/1.099, allocations: 497.5 kB / 1.011 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006105/1.1, allocations: 20 kB / 1.011 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/1.102, allocations: 139.8 kB / 1.011 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.102, allocations: 67.8 kB / 1.011 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/1.102, allocations: 39.97 kB / 1.011 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003259/1.106, allocations: 1.773 MB / 1.013 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.106, allocations: 0 / 1.013 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002602/1.108, allocations: 0.6828 MB / 1.014 GB, free: 10.45 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.001232/1.109, allocations: 0.6181 MB / 1.014 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005072/1.115, allocations: 1.404 MB / 1.016 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.115, allocations: 0 / 1.016 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002452/1.117, allocations: 0.6691 MB / 1.016 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007359/1.124, allocations: 1.342 MB / 1.018 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006507/1.131, allocations: 3.603 MB / 1.021 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009779/1.132, allocations: 1.492 MB / 1.022 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00186/1.134, allocations: 440.5 kB / 1.023 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/1.134, allocations: 171.4 kB / 1.023 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/1.134, allocations: 0 / 1.023 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of Templates: time 0.08616/1.22, allocations: 51.42 MB / 1.073 GB, free: 14.04 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)