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.001506/0.001506, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001818/0.001818, allocations: 184 kB / 17.22 MB, free: 5.934 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.639/1.639, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.946/1.946, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.001709/0.001709, allocations: 75.55 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2545, allocations: 114.6 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.573/0.8276, allocations: 132.2 MB / 0.9132 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.04017/0.8679, allocations: 23.03 MB / 0.9357 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007994/0.8759, allocations: 119.2 kB / 0.9358 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005637/0.8816, allocations: 1.494 MB / 0.9373 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01487/0.8965, allocations: 4.055 MB / 0.9412 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006477/0.903, allocations: 2.201 MB / 0.9434 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01132/0.9144, allocations: 6.498 MB / 0.9497 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004524/0.9189, allocations: 2.362 MB / 0.952 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008287/0.9273, allocations: 2.776 MB / 0.9547 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00444/0.9317, allocations: 1.886 MB / 0.9566 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.933, allocations: 248 kB / 0.9568 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006956/0.9399, allocations: 1.938 MB / 0.9587 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.9412, allocations: 0.5993 MB / 0.9593 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003234/0.9445, allocations: 1.466 MB / 0.9607 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.9554, allocations: 4.386 MB / 0.965 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.9555, allocations: 0 / 0.965 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.456e-06/0.9555, allocations: 0 / 0.965 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001489/0.9557, allocations: 0 / 0.965 GB, free: 1.457 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.008032/0.9637, allocations: 3.187 MB / 0.9681 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/0.9638, allocations: 16.02 kB / 0.9681 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00447/0.9683, allocations: 0.8377 MB / 0.969 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005354/0.9737, allocations: 2.221 MB / 0.9711 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009294/0.9746, allocations: 294.9 kB / 0.9714 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/0.975, allocations: 156 kB / 0.9716 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004271/0.9793, allocations: 1.942 MB / 0.9735 GB, free: 8.582 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.9793, allocations: 11.88 kB / 0.9735 GB, free: 8.57 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.9795, allocations: 64 kB / 0.9735 GB, free: 8.508 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.9795, allocations: 36 kB / 0.9736 GB, free: 8.473 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004656/0.9842, allocations: 1.807 MB / 0.9753 GB, free: 6.664 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.01408/0.9983, allocations: 8.993 MB / 0.9841 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/1.002, allocations: 1.202 MB / 0.9853 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/1.004, allocations: 457.4 kB / 0.9857 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/1.005, allocations: 1.722 MB / 0.9874 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/1.005, allocations: 46.5 kB / 0.9874 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=76): time 3.297e-06/1.005, allocations: 0 / 0.9874 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.008501/1.013, allocations: 2.325 MB / 0.9897 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/1.013, allocations: 85.11 kB / 0.9898 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004582/1.018, allocations: 2.524 MB / 0.9923 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002379/1.018, allocations: 41.7 kB / 0.9923 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/1.019, allocations: 1.041 MB / 0.9933 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/1.02, allocations: 268.2 kB / 0.9936 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005145/1.02, allocations: 258.6 kB / 0.9938 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002041/1.021, allocations: 349.9 kB / 0.9942 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/1.022, allocations: 0.5842 MB / 0.9947 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/1.024, allocations: 0.9738 MB / 0.9957 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/1.027, allocations: 1.256 MB / 0.9969 GB, free: 15.18 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.027, allocations: 0 / 0.9969 GB, free: 15.18 MB / 0.795 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006799/1.034, allocations: 2.052 MB / 0.9989 GB, free: 13.11 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/1.034, allocations: 8.625 kB / 0.9989 GB, free: 13.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/1.034, allocations: 8 kB / 0.9989 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/1.036, allocations: 422.4 kB / 0.9993 GB, free: 12.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/1.037, allocations: 295.5 kB / 0.9996 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/1.039, allocations: 1.498 MB / 1.001 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003199/1.043, allocations: 386.5 kB / 1.001 GB, free: 10.46 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/1.043, allocations: 63.95 kB / 1.001 GB, free: 10.4 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.001111/1.044, allocations: 466.6 kB / 1.002 GB, free: 9.934 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006792/1.045, allocations: 252.8 kB / 1.002 GB, free: 9.684 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/1.048, allocations: 1.484 MB / 1.004 GB, free: 8.191 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/1.048, allocations: 16 kB / 1.004 GB, free: 8.176 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/1.048, allocations: 2.125 kB / 1.004 GB, free: 8.176 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/1.048, allocations: 7.969 kB / 1.004 GB, free: 8.168 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007768/1.056, allocations: 3.611 MB / 1.007 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/1.056, allocations: 0 / 1.007 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/1.057, allocations: 132.2 kB / 1.007 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/1.058, allocations: 431.4 kB / 1.008 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.895e-05/1.058, allocations: 19.98 kB / 1.008 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002515/1.061, allocations: 1.573 MB / 1.009 GB, free: 2.246 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.061, allocations: 4 kB / 1.009 GB, free: 2.242 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005989/1.067, allocations: 1.929 MB / 1.011 GB, free: 260 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.068, allocations: 485.8 kB / 1.012 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/1.069, allocations: 20 kB / 1.012 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/1.07, allocations: 147.8 kB / 1.012 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/1.071, allocations: 59.8 kB / 1.012 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.587e-05/1.071, allocations: 39.97 kB / 1.012 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003189/1.074, allocations: 1.769 MB / 1.014 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.21e-07/1.074, allocations: 7.938 kB / 1.014 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002617/1.076, allocations: 0.6905 MB / 1.014 GB, free: 13.02 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.001386/1.078, allocations: 0.607 MB / 1.015 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004151/1.082, allocations: 1.366 MB / 1.016 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.082, allocations: 0 / 1.016 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/1.084, allocations: 0.6843 MB / 1.017 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006274/1.091, allocations: 1.353 MB / 1.018 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006799/1.097, allocations: 3.523 MB / 1.022 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.099, allocations: 1.49 MB / 1.023 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001997/1.101, allocations: 440.9 kB / 1.024 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/1.101, allocations: 167.4 kB / 1.024 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of SimCode: time 8.91e-07/1.101, allocations: 0 / 1.024 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of Templates: time 0.08452/1.186, allocations: 51.34 MB / 1.074 GB, free: 0.7422 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)