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.0007724/0.0007721, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007088/0.007089, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.643/1.643, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.794/1.794, allocations: 292.7 MB / 0.5502 GB, free: 14.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.0006024/0.0006024, allocations: 20.03 kB / 0.6743 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2907, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.7341/1.025, allocations: 129.4 MB / 0.9142 GB, free: 32.55 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0325/1.057, allocations: 22.88 MB / 0.9365 GB, free: 32.19 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006659/1.064, allocations: 105.5 kB / 0.9366 GB, free: 32.19 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00518/1.069, allocations: 1.209 MB / 0.9378 GB, free: 32.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01553/1.085, allocations: 3.732 MB / 0.9415 GB, free: 32.01 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007454/1.092, allocations: 2.008 MB / 0.9434 GB, free: 31.94 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01589/1.108, allocations: 8.242 MB / 0.9515 GB, free: 31.01 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005635/1.114, allocations: 1.892 MB / 0.9533 GB, free: 30.65 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007843/1.122, allocations: 2.303 MB / 0.9556 GB, free: 30.3 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005644/1.127, allocations: 1.787 MB / 0.9573 GB, free: 29.88 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001308/1.129, allocations: 90.72 kB / 0.9574 GB, free: 29.88 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008119/1.137, allocations: 1.718 MB / 0.9591 GB, free: 29.7 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001464/1.138, allocations: 451.5 kB / 0.9595 GB, free: 29.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00444/1.143, allocations: 1.292 MB / 0.9608 GB, free: 29.05 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01/1.153, allocations: 4.15 MB / 0.9648 GB, free: 27.94 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.153, allocations: 3.984 kB / 0.9648 GB, free: 27.94 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/1.153, allocations: 0 / 0.9648 GB, free: 27.94 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001865/1.153, allocations: 3.562 kB / 0.9648 GB, free: 27.94 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.007638/1.161, allocations: 2.675 MB / 0.9675 GB, free: 25.97 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.161, allocations: 9.781 kB / 0.9675 GB, free: 25.97 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005124/1.166, allocations: 0.956 MB / 0.9684 GB, free: 25.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005641/1.172, allocations: 2.295 MB / 0.9706 GB, free: 23.86 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009825/1.173, allocations: 324 kB / 0.9709 GB, free: 23.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004891/1.173, allocations: 162.7 kB / 0.9711 GB, free: 23.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005017/1.178, allocations: 1.982 MB / 0.973 GB, free: 22.49 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/1.178, allocations: 0 / 0.973 GB, free: 22.49 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/1.179, allocations: 66.59 kB / 0.9731 GB, free: 22.44 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/1.179, allocations: 42.41 kB / 0.9731 GB, free: 22.44 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004689/1.183, allocations: 1.903 MB / 0.975 GB, free: 21.53 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.01635/1.2, allocations: 9.102 MB / 0.9839 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00752/1.207, allocations: 1.295 MB / 0.9852 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/1.209, allocations: 484.8 kB / 0.9856 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/1.211, allocations: 1.727 MB / 0.9873 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/1.211, allocations: 48.16 kB / 0.9873 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 5.57e-06/1.211, allocations: 0 / 0.9873 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.01534/1.226, allocations: 2.501 MB / 0.9898 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/1.226, allocations: 83.8 kB / 0.9899 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00847/1.235, allocations: 2.52 MB / 0.9923 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000385/1.235, allocations: 49.8 kB / 0.9924 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/1.237, allocations: 1.039 MB / 0.9934 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005294/1.237, allocations: 272.2 kB / 0.9937 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/1.238, allocations: 91.94 kB / 0.9937 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.238, allocations: 349.6 kB / 0.9941 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003231/1.241, allocations: 0.6265 MB / 0.9947 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/1.244, allocations: 1.024 MB / 0.9957 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003035/1.247, allocations: 1.321 MB / 0.997 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/1.247, allocations: 2.5 kB / 0.997 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007111/1.254, allocations: 2.185 MB / 0.9991 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/1.254, allocations: 9.188 kB / 0.9991 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/1.254, allocations: 6.781 kB / 0.9991 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001767/1.256, allocations: 444 kB / 0.9995 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/1.257, allocations: 311 kB / 0.9998 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/1.259, allocations: 1.543 MB / 1.001 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003769/1.263, allocations: 491.2 kB / 1.002 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/1.263, allocations: 63.97 kB / 1.002 GB, free: 1.57 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.001205/1.264, allocations: 457.5 kB / 1.002 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007655/1.265, allocations: 248.9 kB / 1.003 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00418/1.269, allocations: 1.549 MB / 1.004 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/1.269, allocations: 16 kB / 1.004 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.269, allocations: 4 kB / 1.004 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.269, allocations: 3.984 kB / 1.004 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009901/1.279, allocations: 3.684 MB / 1.008 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/1.279, allocations: 4 kB / 1.008 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000638/1.28, allocations: 144.1 kB / 1.008 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001743/1.282, allocations: 440.1 kB / 1.008 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.282, allocations: 27.98 kB / 1.008 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00298/1.285, allocations: 1.639 MB / 1.01 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/1.285, allocations: 3.938 kB / 1.01 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006849/1.292, allocations: 2.072 MB / 1.012 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002376/1.294, allocations: 0.5093 MB / 1.012 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/1.295, allocations: 24 kB / 1.012 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002818/1.298, allocations: 187.7 kB / 1.013 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/1.298, allocations: 67.8 kB / 1.013 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/1.299, allocations: 39.97 kB / 1.013 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00466/1.303, allocations: 1.769 MB / 1.014 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.032e-06/1.303, allocations: 0 / 1.014 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003615/1.307, allocations: 0.6828 MB / 1.015 GB, free: 3.785 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.001853/1.309, allocations: 0.6001 MB / 1.016 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004658/1.314, allocations: 1.45 MB / 1.017 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.314, allocations: 0 / 1.017 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002425/1.316, allocations: 0.7278 MB / 1.018 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008096/1.324, allocations: 1.339 MB / 1.019 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/1.332, allocations: 4.358 MB / 1.023 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.333, allocations: 1.49 MB / 1.025 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002649/1.335, allocations: 432.6 kB / 1.025 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/1.336, allocations: 179.4 kB / 1.025 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of SimCode: time 3.206e-06/1.336, allocations: 0 / 1.025 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of Templates: time 0.09457/1.431, allocations: 51.24 MB / 1.075 GB, free: 6.707 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: