Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.001137/0.001137, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001208/0.001208, allocations: 195.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.382/3.382, allocations: 472.6 MB / 0.7448 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 64.42 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3434, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06297/0.4064, allocations: 60.74 MB / 1.127 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01806/0.4245, allocations: 11.93 MB / 1.139 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.4269, allocations: 59.62 kB / 1.139 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.4293, allocations: 0.5868 MB / 1.139 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006465/0.4358, allocations: 1.828 MB / 1.141 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003549/0.4394, allocations: 1.078 MB / 1.142 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004871/0.4443, allocations: 3.124 MB / 1.145 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002053/0.4464, allocations: 1.124 MB / 1.146 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003291/0.4497, allocations: 1.334 MB / 1.148 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.4514, allocations: 0.9412 MB / 1.148 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003461/0.4518, allocations: 120 kB / 1.149 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.4549, allocations: 1.458 MB / 1.15 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004711/0.4554, allocations: 298.9 kB / 1.15 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.4566, allocations: 0.7075 MB / 1.151 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004057/0.4606, allocations: 2.302 MB / 1.153 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.4607, allocations: 4 kB / 1.153 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4607, allocations: 0 / 1.153 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.089e-05/0.4608, allocations: 0 / 1.153 GB, free: 2.926 MB / 0.9044 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.00473/0.4655, allocations: 1.734 MB / 1.155 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4656, allocations: 8.031 kB / 1.155 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/0.4684, allocations: 458.8 kB / 1.155 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/0.4711, allocations: 1.148 MB / 1.156 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003699/0.4715, allocations: 113.9 kB / 1.157 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.4717, allocations: 84 kB / 1.157 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.4742, allocations: 1.002 MB / 1.158 GB, free: 14.24 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.4743, allocations: 4 kB / 1.158 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.072e-05/0.4744, allocations: 32 kB / 1.158 GB, free: 14.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.4744, allocations: 20 kB / 1.158 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/0.4772, allocations: 0.9446 MB / 1.159 GB, free: 13.24 MB / 0.92 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.007502/0.4847, allocations: 4.667 MB / 1.163 GB, free: 8.227 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004365/0.4891, allocations: 1.004 MB / 1.164 GB, free: 7.215 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.4902, allocations: 411.5 kB / 1.165 GB, free: 6.812 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.4914, allocations: 1.017 MB / 1.166 GB, free: 5.574 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.4914, allocations: 42.94 kB / 1.166 GB, free: 5.523 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 3.316e-06/0.4914, allocations: 0 / 1.166 GB, free: 5.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=53): time 0.008054/0.4995, allocations: 1.944 MB / 1.168 GB, free: 3.547 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.4996, allocations: 63.72 kB / 1.168 GB, free: 3.473 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.501, allocations: 0.9358 MB / 1.168 GB, free: 2.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.712e-05/0.5011, allocations: 37.7 kB / 1.169 GB, free: 2.477 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/0.5016, allocations: 0.5118 MB / 1.169 GB, free: 1.961 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.5018, allocations: 181.4 kB / 1.169 GB, free: 1.781 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.5021, allocations: 126.1 kB / 1.169 GB, free: 1.652 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5022, allocations: 330 kB / 1.17 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.5033, allocations: 358.9 kB / 1.17 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.5045, allocations: 0.5069 MB / 1.17 GB, free: 416 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.5067, allocations: 0.7619 MB / 1.171 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5067, allocations: 3.938 kB / 1.171 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003051/0.5098, allocations: 1.064 MB / 1.172 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.5098, allocations: 11.94 kB / 1.172 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.5098, allocations: 4 kB / 1.172 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.5112, allocations: 320.7 kB / 1.173 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/0.5119, allocations: 139.8 kB / 1.173 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.5134, allocations: 0.9096 MB / 1.174 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.5147, allocations: 151.4 kB / 1.174 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.715e-05/0.5148, allocations: 31.98 kB / 1.174 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001394/0.5162, allocations: 0.5556 MB / 1.174 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00117/0.5174, allocations: 0.5069 MB / 1.175 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002069/0.5195, allocations: 0.7541 MB / 1.176 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.5195, allocations: 3.938 kB / 1.176 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00304/0.5226, allocations: 1.049 MB / 1.177 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.5226, allocations: 8 kB / 1.177 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5226, allocations: 3.984 kB / 1.177 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.5237, allocations: 300.9 kB / 1.177 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006492/0.5244, allocations: 135.8 kB / 1.177 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.5259, allocations: 0.919 MB / 1.178 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.5272, allocations: 139.6 kB / 1.178 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.5273, allocations: 27.97 kB / 1.178 GB, free: 8.418 MB / 0.9356 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.0002459/0.5275, allocations: 213.4 kB / 1.178 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.5278, allocations: 114.6 kB / 1.178 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/0.5311, allocations: 1.163 MB / 1.18 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.5311, allocations: 4 kB / 1.18 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5311, allocations: 0 / 1.18 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.5311, allocations: 7.984 kB / 1.18 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004742/0.5359, allocations: 2.26 MB / 1.182 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.5359, allocations: 0 / 1.182 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/0.5365, allocations: 100 kB / 1.182 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.5376, allocations: 300.6 kB / 1.182 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.008e-05/0.5377, allocations: 15.98 kB / 1.182 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.5393, allocations: 0.9423 MB / 1.183 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.5393, allocations: 4.094 kB / 1.183 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003943/0.5433, allocations: 1.323 MB / 1.184 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000581/0.5439, allocations: 279.4 kB / 1.185 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.5441, allocations: 19.94 kB / 1.185 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.5452, allocations: 99.88 kB / 1.185 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.5453, allocations: 44.33 kB / 1.185 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-05/0.5454, allocations: 27.97 kB / 1.185 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001109/0.5465, allocations: 0.6637 MB / 1.185 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5465, allocations: 0 / 1.185 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001648/0.5482, allocations: 0.5652 MB / 1.186 GB, free: 108 kB / 0.9356 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.0009855/0.5492, allocations: 391.3 kB / 1.186 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004322/0.5535, allocations: 1.338 MB / 1.188 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.5535, allocations: 3.938 kB / 1.188 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.555, allocations: 460.8 kB / 1.188 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/0.5578, allocations: 490.9 kB / 1.189 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005301/0.5632, allocations: 2.334 MB / 1.191 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009233/0.5641, allocations: 1.07 MB / 1.192 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001333/0.5655, allocations: 226.4 kB / 1.192 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.5658, allocations: 83.41 kB / 1.192 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of SimCode: time 1.754e-06/0.5658, allocations: 0 / 1.192 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of Templates: time 0.04081/0.6066, allocations: 24.38 MB / 1.216 GB, free: 1.574 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)