Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.747/2.747, allocations: 287.5 MB / 302.4 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 181.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009218/0.0009221, allocations: 85.05 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.0005072, allocations: 15.98 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2571, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.08633/0.3435, allocations: 56.51 MB / 1.034 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02479/0.3684, allocations: 11.13 MB / 1.044 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.3709, allocations: 51.62 kB / 1.044 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.3736, allocations: 468.9 kB / 1.045 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007121/0.3808, allocations: 1.508 MB / 1.046 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004562/0.3854, allocations: 0.8767 MB / 1.047 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006826/0.3922, allocations: 3.39 MB / 1.051 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.3945, allocations: 0.7899 MB / 1.051 GB, free: 1.441 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003761/0.3983, allocations: 1.05 MB / 1.052 GB, free: 396 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/0.4009, allocations: 0.8166 MB / 1.053 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004396/0.4014, allocations: 44 kB / 1.053 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00445/0.4058, allocations: 1.091 MB / 1.054 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006486/0.4065, allocations: 203 kB / 1.054 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007197/0.4073, allocations: 285 kB / 1.055 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00417/0.4115, allocations: 1.641 MB / 1.056 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.4115, allocations: 7.938 kB / 1.056 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.106e-06/0.4115, allocations: 0 / 1.056 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.812e-05/0.4116, allocations: 4 kB / 1.056 GB, free: 12.29 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00485/0.4165, allocations: 1.508 MB / 1.058 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.4165, allocations: 8.031 kB / 1.058 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004116/0.4207, allocations: 477.9 kB / 1.058 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003914/0.4246, allocations: 1.09 MB / 1.059 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006954/0.4254, allocations: 129.9 kB / 1.059 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003077/0.4257, allocations: 80 kB / 1.06 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00378/0.4295, allocations: 0.9956 MB / 1.06 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.4296, allocations: 3.938 kB / 1.06 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.4297, allocations: 32 kB / 1.061 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.4298, allocations: 20 kB / 1.061 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004506/0.4343, allocations: 0.9173 MB / 1.061 GB, free: 6.891 MB / 0.6823 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.01216/0.4465, allocations: 4.622 MB / 1.066 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006804/0.4534, allocations: 0.9305 MB / 1.067 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.4551, allocations: 347.3 kB / 1.067 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6411/1.096, allocations: 0.896 MB / 1.068 GB, free: 90.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/1.096, allocations: 37.95 kB / 1.068 GB, free: 90.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.346e-06/1.096, allocations: 0.75 kB / 1.068 GB, free: 90.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.01464/1.111, allocations: 1.988 MB / 1.07 GB, free: 90.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/1.111, allocations: 56.73 kB / 1.07 GB, free: 90.56 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/1.114, allocations: 1.05 MB / 1.071 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/1.114, allocations: 38.3 kB / 1.071 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006495/1.115, allocations: 0.5233 MB / 1.072 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/1.115, allocations: 167.5 kB / 1.072 GB, free: 89.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/1.115, allocations: 10.69 kB / 1.072 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.199e-05/1.115, allocations: 329.4 kB / 1.072 GB, free: 89.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/1.117, allocations: 338.3 kB / 1.072 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/1.119, allocations: 0.5223 MB / 1.073 GB, free: 89.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/1.121, allocations: 363.4 kB / 1.073 GB, free: 88.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/1.121, allocations: 1.5 kB / 1.073 GB, free: 88.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.007014/1.128, allocations: 1.229 MB / 1.075 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/1.128, allocations: 204.8 kB / 1.075 GB, free: 88.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/1.128, allocations: 4.125 kB / 1.075 GB, free: 88.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/1.13, allocations: 330.1 kB / 1.075 GB, free: 88.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.131, allocations: 133.8 kB / 1.075 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/1.134, allocations: 0.9453 MB / 1.076 GB, free: 87.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/1.137, allocations: 192.6 kB / 1.076 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/1.137, allocations: 33.67 kB / 1.076 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.137, allocations: 7.625 kB / 1.076 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006381/1.143, allocations: 1.094 MB / 1.077 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/1.143, allocations: 4.203 kB / 1.077 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/1.145, allocations: 320.2 kB / 1.078 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.146, allocations: 134.3 kB / 1.078 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/1.149, allocations: 0.9382 MB / 1.079 GB, free: 86.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/1.151, allocations: 167.8 kB / 1.079 GB, free: 86.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/1.151, allocations: 30.61 kB / 1.079 GB, free: 86.47 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008022/1.152, allocations: 351.9 kB / 1.079 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/1.152, allocations: 116.4 kB / 1.079 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/1.157, allocations: 1.041 MB / 1.08 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/1.157, allocations: 11.73 kB / 1.08 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.157, allocations: 0 / 1.08 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/1.157, allocations: 3.562 kB / 1.08 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/1.168, allocations: 2.458 MB / 1.083 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.168, allocations: 4.938 kB / 1.083 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/1.169, allocations: 82.92 kB / 1.083 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/1.171, allocations: 319.4 kB / 1.083 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-05/1.171, allocations: 13.56 kB / 1.083 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/1.173, allocations: 0.9789 MB / 1.084 GB, free: 83.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.173, allocations: 2.75 kB / 1.084 GB, free: 83.94 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006752/1.18, allocations: 1.297 MB / 1.085 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009004/1.181, allocations: 283.8 kB / 1.086 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/1.181, allocations: 15.02 kB / 1.086 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/1.183, allocations: 113.7 kB / 1.086 GB, free: 83.15 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/1.183, allocations: 41.02 kB / 1.086 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-05/1.183, allocations: 25.23 kB / 1.086 GB, free: 83.13 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001864/1.185, allocations: 0.7403 MB / 1.087 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/1.185, allocations: 0 / 1.087 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002494/1.188, allocations: 0.5625 MB / 1.087 GB, free: 82.72 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/1.189, allocations: 364.8 kB / 1.088 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005854/1.195, allocations: 1.207 MB / 1.089 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.195, allocations: 4.906 kB / 1.089 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001768/1.196, allocations: 388.9 kB / 1.089 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00486/1.201, allocations: 0.5205 MB / 1.09 GB, free: 82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009504/1.211, allocations: 2.514 MB / 1.092 GB, free: 80.69 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008254/1.212, allocations: 1.066 MB / 1.093 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001861/1.214, allocations: 219.3 kB / 1.093 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/1.214, allocations: 87.98 kB / 1.093 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.734e-06/1.214, allocations: 0 / 1.093 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.06527/1.279, allocations: 23.52 MB / 1.116 GB, free: 69.91 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)