Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001308, allocations: 109.4 kB / 15.69 MB, free: 128 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.001501/0.001501, allocations: 187.8 kB / 16.62 MB, free: 6.613 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.705/1.705, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.878/1.878, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001478/0.001478, allocations: 75.36 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3034, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05879/0.3622, allocations: 61.28 MB / 0.844 GB, free: 15.26 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01868/0.381, allocations: 11.91 MB / 0.8556 GB, free: 3.316 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002979/0.384, allocations: 59.62 kB / 0.8556 GB, free: 3.258 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002402/0.3865, allocations: 0.6791 MB / 0.8563 GB, free: 2.574 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005892/0.3924, allocations: 1.95 MB / 0.8582 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.3957, allocations: 1.229 MB / 0.8594 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004603/0.4003, allocations: 3.101 MB / 0.8624 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.4019, allocations: 1.116 MB / 0.8635 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.405, allocations: 1.363 MB / 0.8649 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.4065, allocations: 0.9061 MB / 0.8657 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.4067, allocations: 120 kB / 0.8659 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.4096, allocations: 1.45 MB / 0.8673 GB, free: 7.293 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.4099, allocations: 298.9 kB / 0.8676 GB, free: 7 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008263/0.4107, allocations: 0.7036 MB / 0.8682 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005312/0.416, allocations: 2.337 MB / 0.8705 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.4161, allocations: 0 / 0.8705 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4161, allocations: 0 / 0.8705 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.327e-05/0.4161, allocations: 4 kB / 0.8705 GB, free: 3.945 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004312/0.4205, allocations: 1.754 MB / 0.8722 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.03e-05/0.4206, allocations: 12.03 kB / 0.8723 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/0.4227, allocations: 414.8 kB / 0.8727 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.4251, allocations: 1.171 MB / 0.8738 GB, free: 496 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/0.4251, allocations: 66 kB / 0.8739 GB, free: 432 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.4253, allocations: 83.94 kB / 0.8739 GB, free: 348 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.4273, allocations: 1.016 MB / 0.8749 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.4273, allocations: 7.922 kB / 0.8749 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.013e-05/0.4274, allocations: 32 kB / 0.875 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.4274, allocations: 20 kB / 0.875 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.4297, allocations: 0.8899 MB / 0.8759 GB, free: 14.32 MB / 0.7012 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.006673/0.4364, allocations: 4.963 MB / 0.8807 GB, free: 9.031 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.4396, allocations: 0.8244 MB / 0.8815 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007767/0.4404, allocations: 329.9 kB / 0.8818 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006741/0.4411, allocations: 0.9029 MB / 0.8827 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.4412, allocations: 43 kB / 0.8827 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.294e-06/0.4412, allocations: 0 / 0.8827 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.006514/0.4477, allocations: 1.67 MB / 0.8844 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.4478, allocations: 59.84 kB / 0.8844 GB, free: 4.949 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.4496, allocations: 1.084 MB / 0.8855 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.562e-05/0.4497, allocations: 45.64 kB / 0.8855 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.4501, allocations: 0.5235 MB / 0.8861 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.4503, allocations: 173.6 kB / 0.8862 GB, free: 3.102 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.4505, allocations: 146.1 kB / 0.8864 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4507, allocations: 326 kB / 0.8867 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009335/0.4516, allocations: 335.2 kB / 0.887 GB, free: 2.297 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.4527, allocations: 0.5513 MB / 0.8875 GB, free: 1.648 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/0.4545, allocations: 0.7579 MB / 0.8883 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4545, allocations: 0 / 0.8883 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003168/0.4577, allocations: 1.072 MB / 0.8893 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.4578, allocations: 8 kB / 0.8893 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.4578, allocations: 4.031 kB / 0.8893 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.459, allocations: 308.5 kB / 0.8896 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/0.4597, allocations: 147.8 kB / 0.8898 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.4611, allocations: 0.8977 MB / 0.8906 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.4625, allocations: 159.2 kB / 0.8908 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/0.4626, allocations: 35.98 kB / 0.8908 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001437/0.464, allocations: 0.5363 MB / 0.8913 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001062/0.4651, allocations: 0.5512 MB / 0.8919 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00168/0.4668, allocations: 0.7424 MB / 0.8926 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.679e-06/0.4668, allocations: 4 kB / 0.8926 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002873/0.4697, allocations: 1.057 MB / 0.8936 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4697, allocations: 4 kB / 0.8936 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.4697, allocations: 11.98 kB / 0.8937 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.4708, allocations: 296.6 kB / 0.8939 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.4714, allocations: 143.8 kB / 0.8941 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.4727, allocations: 0.8987 MB / 0.895 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.474, allocations: 147.5 kB / 0.8951 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.4741, allocations: 27.98 kB / 0.8951 GB, free: 9.562 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002717/0.4744, allocations: 226.5 kB / 0.8953 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.4746, allocations: 114.5 kB / 0.8954 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.4771, allocations: 0.9981 MB / 0.8964 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.4772, allocations: 4 kB / 0.8964 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4772, allocations: 4 kB / 0.8964 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4772, allocations: 7.922 kB / 0.8964 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005151/0.4824, allocations: 2.238 MB / 0.8986 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.4824, allocations: 4 kB / 0.8986 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.4827, allocations: 79.81 kB / 0.8987 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.4838, allocations: 311.5 kB / 0.899 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/0.4838, allocations: 12 kB / 0.899 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.4853, allocations: 0.9385 MB / 0.8999 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.4853, allocations: 3.938 kB / 0.8999 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/0.4891, allocations: 1.217 MB / 0.9011 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000581/0.4897, allocations: 279.4 kB / 0.9014 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/0.4899, allocations: 12 kB / 0.9014 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009078/0.4909, allocations: 91.78 kB / 0.9015 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.349e-05/0.491, allocations: 39.31 kB / 0.9015 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.491, allocations: 23.98 kB / 0.9015 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001327/0.4924, allocations: 0.7594 MB / 0.9023 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4924, allocations: 0 / 0.9023 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001715/0.4941, allocations: 0.5732 MB / 0.9028 GB, free: 1.445 MB / 0.7169 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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009219/0.495, allocations: 388.8 kB / 0.9032 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003788/0.4988, allocations: 1.216 MB / 0.9044 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.4988, allocations: 4.312 kB / 0.9044 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.4999, allocations: 397.1 kB / 0.9048 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/0.503, allocations: 0.5314 MB / 0.9053 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007396/0.5105, allocations: 2.066 MB / 0.9073 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.5116, allocations: 1.066 MB / 0.9084 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001536/0.5132, allocations: 244.2 kB / 0.9086 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.5135, allocations: 87.41 kB / 0.9087 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.012e-06/0.5135, allocations: 0 / 0.9087 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.5308/1.044, allocations: 25.79 MB / 0.9339 GB, free: 132.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)