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.001408/0.001407, allocations: 100.8 kB / 16.27 MB, free: 5.969 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.001318/0.001318, allocations: 191.5 kB / 17.2 MB, free: 5.594 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.379/1.379, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.772/1.772, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001446/0.001446, allocations: 74.88 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2378, allocations: 114.6 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.455/0.6928, allocations: 61.24 MB / 0.8438 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01694/0.7098, allocations: 11.91 MB / 0.8554 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003592/0.7135, allocations: 59.19 kB / 0.8555 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.7159, allocations: 0.6844 MB / 0.8562 GB, free: 60 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008132/0.7241, allocations: 1.952 MB / 0.8581 GB, free: 14.89 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00465/0.7288, allocations: 1.211 MB / 0.8593 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006577/0.7354, allocations: 3.076 MB / 0.8623 GB, free: 12.71 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002355/0.7378, allocations: 1.119 MB / 0.8634 GB, free: 12.21 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004766/0.7426, allocations: 1.328 MB / 0.8647 GB, free: 11.55 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.7452, allocations: 0.9161 MB / 0.8655 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003562/0.7456, allocations: 121 kB / 0.8657 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005426/0.751, allocations: 1.451 MB / 0.8671 GB, free: 10.62 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006883/0.7517, allocations: 299.5 kB / 0.8674 GB, free: 10.43 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001788/0.7535, allocations: 0.6991 MB / 0.868 GB, free: 9.992 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006257/0.7598, allocations: 2.317 MB / 0.8703 GB, free: 8.891 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.7598, allocations: 1.125 kB / 0.8703 GB, free: 8.891 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.406e-06/0.7599, allocations: 0 / 0.8703 GB, free: 8.891 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.902e-05/0.7599, allocations: 0 / 0.8703 GB, free: 8.891 MB / 0.67 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.004422/0.7643, allocations: 1.755 MB / 0.872 GB, free: 7.535 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.7644, allocations: 9.5 kB / 0.872 GB, free: 7.535 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.7671, allocations: 455.5 kB / 0.8725 GB, free: 7.332 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/0.77, allocations: 1.119 MB / 0.8736 GB, free: 6.418 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003969/0.7704, allocations: 123.5 kB / 0.8737 GB, free: 6.367 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.7706, allocations: 80.31 kB / 0.8738 GB, free: 6.344 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.773, allocations: 1.007 MB / 0.8747 GB, free: 5.719 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.773, allocations: 1.938 kB / 0.8747 GB, free: 5.719 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.188e-05/0.7731, allocations: 32.06 kB / 0.8748 GB, free: 5.695 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.7731, allocations: 18.69 kB / 0.8748 GB, free: 5.695 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002811/0.7759, allocations: 0.9462 MB / 0.8757 GB, free: 5.23 MB / 0.67 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.008055/0.784, allocations: 4.705 MB / 0.8803 GB, free: 1.09 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004316/0.7884, allocations: 1.004 MB / 0.8813 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.7896, allocations: 415.8 kB / 0.8817 GB, free: 400 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.7907, allocations: 1.019 MB / 0.8827 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.7907, allocations: 38.03 kB / 0.8827 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 2.414e-06/0.7907, allocations: 0 / 0.8827 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53): time 0.008157/0.7989, allocations: 1.946 MB / 0.8846 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.799, allocations: 57.53 kB / 0.8847 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.8005, allocations: 0.9559 MB / 0.8856 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.8006, allocations: 37.83 kB / 0.8856 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004417/0.8011, allocations: 0.5085 MB / 0.8861 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.8013, allocations: 187.1 kB / 0.8863 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.8015, allocations: 132.8 kB / 0.8864 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.8017, allocations: 322.9 kB / 0.8868 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.8027, allocations: 366.8 kB / 0.8871 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.804, allocations: 0.5097 MB / 0.8876 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/0.8061, allocations: 0.7651 MB / 0.8883 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.8061, allocations: 2.656 kB / 0.8883 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0032/0.8093, allocations: 1.067 MB / 0.8894 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.8093, allocations: 5.562 kB / 0.8894 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.8094, allocations: 3.188 kB / 0.8894 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.8107, allocations: 312.8 kB / 0.8897 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/0.8114, allocations: 133 kB / 0.8898 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.813, allocations: 0.9157 MB / 0.8907 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.8143, allocations: 125.1 kB / 0.8908 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.169e-05/0.8144, allocations: 31.56 kB / 0.8909 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001465/0.8158, allocations: 0.5606 MB / 0.8914 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001255/0.8171, allocations: 0.5112 MB / 0.8919 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00214/0.8193, allocations: 0.7465 MB / 0.8926 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/0.8193, allocations: 1.344 kB / 0.8926 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003285/0.8226, allocations: 1.06 MB / 0.8937 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.8226, allocations: 8.406 kB / 0.8937 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.8227, allocations: 2.531 kB / 0.8937 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.8239, allocations: 296.9 kB / 0.894 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000665/0.8245, allocations: 140.9 kB / 0.8941 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.8261, allocations: 0.9065 MB / 0.895 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.8274, allocations: 111.8 kB / 0.8951 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.414e-05/0.8275, allocations: 32.61 kB / 0.8951 GB, free: 7.367 MB / 0.6856 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.0002925/0.8278, allocations: 215.1 kB / 0.8953 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.8281, allocations: 109.5 kB / 0.8954 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/0.8314, allocations: 1.157 MB / 0.8966 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.8314, allocations: 6.688 kB / 0.8966 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.8314, allocations: 7.984 kB / 0.8966 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.8315, allocations: 0 / 0.8966 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004717/0.8362, allocations: 2.27 MB / 0.8988 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.8362, allocations: 0 / 0.8988 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005686/0.8368, allocations: 108 kB / 0.8989 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.8378, allocations: 293.5 kB / 0.8992 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.8379, allocations: 19.98 kB / 0.8992 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.8395, allocations: 0.9359 MB / 0.9001 GB, free: 2.934 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.8395, allocations: 17.14 kB / 0.9001 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003948/0.8435, allocations: 1.305 MB / 0.9014 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006474/0.8441, allocations: 279.5 kB / 0.9017 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.8443, allocations: 12 kB / 0.9017 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008827/0.8452, allocations: 79.84 kB / 0.9018 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.746e-05/0.8453, allocations: 48.25 kB / 0.9018 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.8454, allocations: 23.98 kB / 0.9018 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009408/0.8463, allocations: 0.6678 MB / 0.9025 GB, free: 460 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8463, allocations: 4 kB / 0.9025 GB, free: 456 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001705/0.848, allocations: 0.5769 MB / 0.9031 GB, free: 15.86 MB / 0.7012 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.000881/0.8489, allocations: 390.6 kB / 0.9034 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004124/0.8531, allocations: 1.347 MB / 0.9047 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.8531, allocations: 0 / 0.9047 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.8544, allocations: 464.8 kB / 0.9052 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.8571, allocations: 499.7 kB / 0.9057 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/0.8613, allocations: 1.963 MB / 0.9076 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006374/0.862, allocations: 1.066 MB / 0.9086 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.8623, allocations: 87.41 kB / 0.9087 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of SimCode: time 1.082e-06/0.8624, allocations: 0 / 0.9087 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of Templates: time 0.03352/0.8959, allocations: 24.13 MB / 0.9323 GB, free: 2.172 MB / 0.7169 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)