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.001387/0.001387, allocations: 107.6 kB / 16.37 MB, free: 6.461 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.001335/0.001336, allocations: 185.8 kB / 17.31 MB, free: 5.812 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.424/1.424, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.815/1.815, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001471/0.001471, allocations: 68.12 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2419, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4961/0.738, allocations: 132.2 MB / 0.9139 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03586/0.7739, allocations: 23.02 MB / 0.9364 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006493/0.7804, allocations: 123.2 kB / 0.9365 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005393/0.7859, allocations: 1.498 MB / 0.938 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.8001, allocations: 4.055 MB / 0.9419 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006703/0.8068, allocations: 2.193 MB / 0.9441 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01138/0.8182, allocations: 6.509 MB / 0.9504 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004416/0.8226, allocations: 2.363 MB / 0.9528 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008268/0.8309, allocations: 2.764 MB / 0.9554 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004421/0.8354, allocations: 1.886 MB / 0.9573 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000994/0.8364, allocations: 256 kB / 0.9575 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00611/0.8425, allocations: 1.942 MB / 0.9594 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0009954/0.8435, allocations: 0.5954 MB / 0.96 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002494/0.846, allocations: 1.462 MB / 0.9614 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.008004/0.8541, allocations: 4.39 MB / 0.9657 GB, free: 1.152 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.8541, allocations: 0 / 0.9657 GB, free: 1.152 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.755e-06/0.8541, allocations: 0 / 0.9657 GB, free: 1.152 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001031/0.8542, allocations: 0 / 0.9657 GB, free: 1.152 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.007308/0.8616, allocations: 3.187 MB / 0.9688 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.8616, allocations: 12.03 kB / 0.9689 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004522/0.8662, allocations: 0.8396 MB / 0.9697 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005567/0.8717, allocations: 2.336 MB / 0.972 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.8719, allocations: 131 kB / 0.9721 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003547/0.8723, allocations: 160.8 kB / 0.9722 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004631/0.8769, allocations: 1.926 MB / 0.9741 GB, free: 8.336 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.877, allocations: 3.938 kB / 0.9741 GB, free: 8.332 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.8772, allocations: 67.94 kB / 0.9742 GB, free: 8.266 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.8772, allocations: 36 kB / 0.9742 GB, free: 8.23 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004936/0.8822, allocations: 1.78 MB / 0.976 GB, free: 6.449 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.01465/0.8969, allocations: 8.982 MB / 0.9847 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/0.9013, allocations: 1.182 MB / 0.9859 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.9025, allocations: 466.2 kB / 0.9863 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.9038, allocations: 1.726 MB / 0.988 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.9038, allocations: 46.5 kB / 0.9881 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=76): time 3.125e-06/0.9038, allocations: 0 / 0.9881 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.00902/0.9128, allocations: 2.324 MB / 0.9903 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.9129, allocations: 89.05 kB / 0.9904 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004322/0.9173, allocations: 2.508 MB / 0.9929 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.9175, allocations: 45.7 kB / 0.9929 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009122/0.9184, allocations: 1.034 MB / 0.9939 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.9187, allocations: 264.2 kB / 0.9942 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004883/0.9192, allocations: 258.6 kB / 0.9944 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.9194, allocations: 353.8 kB / 0.9947 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/0.9211, allocations: 0.5725 MB / 0.9953 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.9232, allocations: 0.9582 MB / 0.9962 GB, free: 396 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/0.9264, allocations: 1.248 MB / 0.9975 GB, free: 15.03 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.9264, allocations: 4 kB / 0.9975 GB, free: 15.03 MB / 0.795 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006822/0.9332, allocations: 2.021 MB / 0.9994 GB, free: 12.99 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.9333, allocations: 8 kB / 0.9994 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.9333, allocations: 8.625 kB / 0.9995 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.935, allocations: 417.2 kB / 0.9999 GB, free: 12.56 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.9363, allocations: 283.5 kB / 1 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.9387, allocations: 1.506 MB / 1.002 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002989/0.9417, allocations: 366 kB / 1.002 GB, free: 10.37 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.9419, allocations: 61.38 kB / 1.002 GB, free: 10.31 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.0009505/0.9428, allocations: 454.6 kB / 1.002 GB, free: 9.859 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005642/0.9434, allocations: 256.8 kB / 1.003 GB, free: 9.609 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/0.9474, allocations: 1.495 MB / 1.004 GB, free: 8.105 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.9474, allocations: 15.98 kB / 1.004 GB, free: 8.09 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9474, allocations: 3.938 kB / 1.004 GB, free: 8.086 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.9474, allocations: 3.984 kB / 1.004 GB, free: 8.082 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00821/0.9556, allocations: 3.608 MB / 1.008 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.9557, allocations: 4 kB / 1.008 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.9563, allocations: 119.8 kB / 1.008 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.9579, allocations: 425.3 kB / 1.008 GB, free: 3.82 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.593e-05/0.958, allocations: 27.98 kB / 1.008 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/0.9607, allocations: 1.565 MB / 1.01 GB, free: 2.176 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.9607, allocations: 7.938 kB / 1.01 GB, free: 2.168 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00645/0.9671, allocations: 1.929 MB / 1.012 GB, free: 184 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.9684, allocations: 493.8 kB / 1.012 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003822/0.9688, allocations: 20 kB / 1.012 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/0.9706, allocations: 139.8 kB / 1.012 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/0.9707, allocations: 59.8 kB / 1.012 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.844e-05/0.9708, allocations: 43.97 kB / 1.012 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003272/0.9741, allocations: 1.754 MB / 1.014 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of sort global known variables: time 7.82e-07/0.9741, allocations: 0 / 1.014 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002644/0.9767, allocations: 0.6944 MB / 1.015 GB, free: 12.96 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.001312/0.9781, allocations: 0.6077 MB / 1.015 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004292/0.9824, allocations: 1.354 MB / 1.017 GB, free: 11 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.9824, allocations: 0 / 1.017 GB, free: 11 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/0.9848, allocations: 0.6766 MB / 1.017 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006704/0.9915, allocations: 1.352 MB / 1.019 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006561/0.9981, allocations: 3.569 MB / 1.022 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.9992, allocations: 1.482 MB / 1.024 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006882/0.9999, allocations: 187.3 kB / 1.024 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of SimCode: time 1.252e-06/0.9999, allocations: 0 / 1.024 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of Templates: time 0.08358/1.084, allocations: 62.54 MB / 1.085 GB, free: 5.531 MB / 0.8731 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)