Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, 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.001335/0.001335, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.524/1.524, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.918/1.918, allocations: 292.3 MB / 0.5489 GB, free: 12.77 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.002249/0.002249, allocations: 70.39 kB / 0.6722 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3241, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06571/0.3899, allocations: 61.26 MB / 0.8439 GB, free: 15.27 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.407, allocations: 11.91 MB / 0.8556 GB, free: 3.34 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002577/0.4096, allocations: 59.62 kB / 0.8556 GB, free: 3.281 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.4122, allocations: 0.6752 MB / 0.8563 GB, free: 2.602 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006071/0.4183, allocations: 1.951 MB / 0.8582 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.4216, allocations: 1.225 MB / 0.8594 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004429/0.426, allocations: 3.087 MB / 0.8624 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.4278, allocations: 1.12 MB / 0.8635 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.4309, allocations: 1.345 MB / 0.8648 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.4324, allocations: 0.9163 MB / 0.8657 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.4326, allocations: 120 kB / 0.8658 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.4352, allocations: 1.454 MB / 0.8672 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.4355, allocations: 298.9 kB / 0.8675 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008279/0.4363, allocations: 0.7075 MB / 0.8682 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003539/0.4399, allocations: 2.325 MB / 0.8705 GB, free: 4 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4399, allocations: 7.922 kB / 0.8705 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4399, allocations: 4 kB / 0.8705 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.848e-05/0.4399, allocations: 4 kB / 0.8705 GB, free: 3.984 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.003065/0.443, allocations: 1.737 MB / 0.8722 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4431, allocations: 12.03 kB / 0.8722 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.4455, allocations: 458.8 kB / 0.8726 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.4476, allocations: 1.179 MB / 0.8738 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.4476, allocations: 62 kB / 0.8738 GB, free: 444 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.4477, allocations: 80 kB / 0.8739 GB, free: 364 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.4498, allocations: 1.002 MB / 0.8749 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.4498, allocations: 3.938 kB / 0.8749 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/0.4499, allocations: 31.94 kB / 0.8749 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.45, allocations: 20 kB / 0.8749 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.4525, allocations: 0.9368 MB / 0.8759 GB, free: 14.33 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.006447/0.459, allocations: 4.66 MB / 0.8804 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003979/0.463, allocations: 0.9916 MB / 0.8814 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.464, allocations: 401.9 kB / 0.8818 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.4651, allocations: 1.021 MB / 0.8828 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.4651, allocations: 35 kB / 0.8828 GB, free: 6.645 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 4.017e-06/0.4651, allocations: 4 kB / 0.8828 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of matching and sorting (n=53): time 0.007855/0.473, allocations: 1.904 MB / 0.8847 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.4731, allocations: 63.84 kB / 0.8847 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.4746, allocations: 0.9474 MB / 0.8856 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.35e-05/0.4747, allocations: 37.7 kB / 0.8857 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/0.4751, allocations: 0.5041 MB / 0.8862 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.4753, allocations: 189.3 kB / 0.8864 GB, free: 2.93 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.4755, allocations: 126.1 kB / 0.8865 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4757, allocations: 337.9 kB / 0.8868 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.4767, allocations: 350.9 kB / 0.8871 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.4779, allocations: 0.503 MB / 0.8876 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.4799, allocations: 0.7579 MB / 0.8884 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.4799, allocations: 0 / 0.8884 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00315/0.4831, allocations: 1.06 MB / 0.8894 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4831, allocations: 8 kB / 0.8894 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4832, allocations: 4 kB / 0.8894 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.4844, allocations: 304.3 kB / 0.8897 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.485, allocations: 131.8 kB / 0.8898 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.4867, allocations: 0.8957 MB / 0.8907 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.4878, allocations: 115.4 kB / 0.8908 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.028e-05/0.4879, allocations: 31.98 kB / 0.8908 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001421/0.4893, allocations: 0.5562 MB / 0.8914 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001197/0.4906, allocations: 0.5107 MB / 0.8919 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002068/0.4926, allocations: 0.7424 MB / 0.8926 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.4927, allocations: 0 / 0.8926 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002949/0.4956, allocations: 1.045 MB / 0.8936 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.4956, allocations: 4 kB / 0.8936 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4956, allocations: 4 kB / 0.8936 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.4968, allocations: 292.6 kB / 0.8939 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.4974, allocations: 139.8 kB / 0.894 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.4988, allocations: 0.8918 MB / 0.8949 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.4999, allocations: 107.6 kB / 0.895 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/0.5, allocations: 31.98 kB / 0.8951 GB, free: 9.73 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (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.0002399/0.5002, allocations: 204.2 kB / 0.8952 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.5005, allocations: 118.6 kB / 0.8954 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/0.5036, allocations: 1.14 MB / 0.8965 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.5037, allocations: 4 kB / 0.8965 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5037, allocations: 0 / 0.8965 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.5037, allocations: 3.984 kB / 0.8965 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004531/0.5082, allocations: 2.249 MB / 0.8987 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.5083, allocations: 4 kB / 0.8987 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/0.5088, allocations: 108 kB / 0.8988 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009495/0.5098, allocations: 291.4 kB / 0.8991 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/0.5098, allocations: 19.98 kB / 0.8991 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.5112, allocations: 0.9269 MB / 0.9 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.5113, allocations: 3.938 kB / 0.9 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/0.5149, allocations: 1.292 MB / 0.9013 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/0.5154, allocations: 271.5 kB / 0.9015 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.5156, allocations: 19.92 kB / 0.9015 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008736/0.5165, allocations: 75.91 kB / 0.9016 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.5166, allocations: 40.33 kB / 0.9016 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.154e-05/0.5166, allocations: 27.98 kB / 0.9017 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000983/0.5176, allocations: 0.6717 MB / 0.9023 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5176, allocations: 0 / 0.9023 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001596/0.5192, allocations: 0.5731 MB / 0.9029 GB, free: 1.516 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009466/0.5202, allocations: 383.3 kB / 0.9032 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003838/0.5241, allocations: 1.303 MB / 0.9045 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5241, allocations: 0 / 0.9045 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.5253, allocations: 460.8 kB / 0.905 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.5278, allocations: 0.4938 MB / 0.9054 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.5324, allocations: 1.894 MB / 0.9073 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007226/0.5331, allocations: 1.066 MB / 0.9083 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001075/0.5342, allocations: 235.8 kB / 0.9086 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.5345, allocations: 83.41 kB / 0.9086 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of SimCode: time 8.41e-07/0.5345, allocations: 4 kB / 0.9086 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of Templates: time 0.4393/0.9738, allocations: 24.85 MB / 0.9329 GB, free: 133.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)