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.0012/0.0012, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001445/0.001445, allocations: 193.8 kB / 16.14 MB, free: 6.699 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.469/1.469, allocations: 205.1 MB / 222 MB, free: 4.762 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.778/1.778, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001366/0.001366, allocations: 65.7 kB / 0.6708 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2902, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06938/0.3596, allocations: 60.88 MB / 0.8421 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02126/0.3809, allocations: 11.98 MB / 0.8538 GB, free: 4.922 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003278/0.3843, allocations: 55.62 kB / 0.8539 GB, free: 4.867 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003065/0.3874, allocations: 0.5555 MB / 0.8544 GB, free: 4.309 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007199/0.3947, allocations: 1.789 MB / 0.8562 GB, free: 2.512 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004184/0.3989, allocations: 1.09 MB / 0.8572 GB, free: 1.434 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006411/0.4053, allocations: 3.909 MB / 0.861 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/0.4079, allocations: 0.9436 MB / 0.862 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003901/0.4118, allocations: 1.151 MB / 0.8631 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.4141, allocations: 0.8983 MB / 0.864 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005109/0.4147, allocations: 60 kB / 0.864 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004333/0.419, allocations: 1.356 MB / 0.8653 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005648/0.4196, allocations: 242.9 kB / 0.8656 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002035/0.4217, allocations: 0.645 MB / 0.8662 GB, free: 8.176 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005996/0.4277, allocations: 2.259 MB / 0.8684 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4277, allocations: 0 / 0.8684 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.915e-06/0.4277, allocations: 0 / 0.8684 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.948e-05/0.4278, allocations: 3.938 kB / 0.8684 GB, free: 5.906 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.005742/0.4336, allocations: 1.742 MB / 0.8701 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.4336, allocations: 8.031 kB / 0.8701 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/0.4365, allocations: 458.8 kB / 0.8706 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/0.4397, allocations: 1.15 MB / 0.8717 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003643/0.4401, allocations: 117.9 kB / 0.8718 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.4403, allocations: 84 kB / 0.8719 GB, free: 2.242 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.4429, allocations: 1.002 MB / 0.8729 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.443, allocations: 3.938 kB / 0.8729 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.266e-05/0.4431, allocations: 32 kB / 0.8729 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.4431, allocations: 20 kB / 0.8729 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.4459, allocations: 0.9485 MB / 0.8738 GB, free: 212 kB / 0.6856 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.007717/0.4536, allocations: 4.664 MB / 0.8784 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004198/0.4578, allocations: 1.003 MB / 0.8794 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.459, allocations: 410.8 kB / 0.8798 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.4601, allocations: 1.021 MB / 0.8808 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.4601, allocations: 38.98 kB / 0.8808 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 4.248e-06/0.4601, allocations: 0 / 0.8808 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of matching and sorting (n=53): time 0.007602/0.4678, allocations: 1.947 MB / 0.8827 GB, free: 6.52 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.4678, allocations: 55.84 kB / 0.8828 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.4697, allocations: 0.9435 MB / 0.8837 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.4698, allocations: 37.7 kB / 0.8837 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004814/0.4703, allocations: 0.5119 MB / 0.8842 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.4705, allocations: 185.2 kB / 0.8844 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/0.4709, allocations: 126.1 kB / 0.8845 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.471, allocations: 330 kB / 0.8848 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.4721, allocations: 354.9 kB / 0.8852 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.4733, allocations: 0.5108 MB / 0.8857 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.4754, allocations: 0.7696 MB / 0.8864 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.4754, allocations: 0 / 0.8864 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003242/0.4787, allocations: 1.072 MB / 0.8875 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.4787, allocations: 4 kB / 0.8875 GB, free: 1.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.4787, allocations: 4 kB / 0.8875 GB, free: 1.477 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/0.4802, allocations: 312.9 kB / 0.8878 GB, free: 1.168 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.4809, allocations: 135.8 kB / 0.8879 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.4827, allocations: 0.9074 MB / 0.8888 GB, free: 104 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.4842, allocations: 159.3 kB / 0.8889 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.4843, allocations: 27.98 kB / 0.889 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001457/0.4858, allocations: 0.5673 MB / 0.8895 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001198/0.487, allocations: 0.5069 MB / 0.89 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002053/0.4891, allocations: 0.7502 MB / 0.8907 GB, free: 14 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.472e-06/0.4891, allocations: 3.938 kB / 0.8907 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003285/0.4924, allocations: 1.064 MB / 0.8918 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4924, allocations: 10.66 kB / 0.8918 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4924, allocations: 0 / 0.8918 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.4937, allocations: 299.7 kB / 0.8921 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.4944, allocations: 135.8 kB / 0.8922 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.4959, allocations: 0.9113 MB / 0.8931 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.4975, allocations: 155.5 kB / 0.8932 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.573e-05/0.4976, allocations: 23.98 kB / 0.8933 GB, free: 11.37 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.0003569/0.4979, allocations: 211 kB / 0.8935 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000447/0.4984, allocations: 110.6 kB / 0.8936 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003529/0.5019, allocations: 1.159 MB / 0.8947 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.502, allocations: 7.984 kB / 0.8947 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.502, allocations: 0 / 0.8947 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.502, allocations: 3.984 kB / 0.8947 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005596/0.5076, allocations: 2.257 MB / 0.8969 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.5076, allocations: 0 / 0.8969 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/0.5082, allocations: 103.8 kB / 0.897 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/0.5094, allocations: 304.7 kB / 0.8973 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.396e-05/0.5095, allocations: 23.98 kB / 0.8973 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.511, allocations: 0.9347 MB / 0.8982 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.511, allocations: 3.938 kB / 0.8983 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003924/0.5149, allocations: 1.319 MB / 0.8995 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007569/0.5157, allocations: 279.5 kB / 0.8998 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003272/0.516, allocations: 12 kB / 0.8998 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.5172, allocations: 111.8 kB / 0.8999 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.5174, allocations: 36.33 kB / 0.9 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.101e-05/0.5174, allocations: 27.97 kB / 0.9 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001294/0.5187, allocations: 0.6678 MB / 0.9006 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.059e-05/0.5188, allocations: 0 / 0.9006 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002257/0.521, allocations: 0.5652 MB / 0.9012 GB, free: 3.051 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.001164/0.5222, allocations: 386.8 kB / 0.9016 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003952/0.5262, allocations: 1.307 MB / 0.9028 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5262, allocations: 4 kB / 0.9028 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.5275, allocations: 460.8 kB / 0.9033 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/0.5303, allocations: 0.5022 MB / 0.9038 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/0.5353, allocations: 2.326 MB / 0.906 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008631/0.5362, allocations: 1.07 MB / 0.9071 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001281/0.5375, allocations: 239.9 kB / 0.9073 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.5378, allocations: 83.41 kB / 0.9074 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of SimCode: time 1.813e-06/0.5378, allocations: 0 / 0.9074 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of Templates: time 0.5318/1.07, allocations: 23.92 MB / 0.9308 GB, free: 132.3 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)