Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6828/0.6828, allocations: 128.7 MB / 144.5 MB, free: 1.391 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 197 kB / 174.2 MB, free: 5.918 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205 MB / 408.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009288/0.0009288, allocations: 106.3 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009824/0.0009825, allocations: 62.09 kB / 0.558 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1246, allocations: 75.47 MB / 0.6317 GB, free: 33.04 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04976/0.1744, allocations: 65.78 MB / 0.6959 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.1894, allocations: 12.02 MB / 0.7077 GB, free: 2.965 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.1913, allocations: 51.69 kB / 0.7077 GB, free: 2.914 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.1931, allocations: 0.5789 MB / 0.7083 GB, free: 2.332 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005441/0.1986, allocations: 1.872 MB / 0.7101 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.2013, allocations: 1.051 MB / 0.7111 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.004502/0.2058, allocations: 4.115 MB / 0.7151 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.2074, allocations: 0.967 MB / 0.7161 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.21, allocations: 1.268 MB / 0.7173 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.2115, allocations: 0.9762 MB / 0.7183 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.2117, allocations: 63.94 kB / 0.7183 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.2144, allocations: 1.224 MB / 0.7195 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.2146, allocations: 246.8 kB / 0.7198 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007105/0.2154, allocations: 0.6723 MB / 0.7204 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.2181, allocations: 2.361 MB / 0.7227 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.2181, allocations: 0 / 0.7227 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.22e-07/0.2181, allocations: 0 / 0.7227 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.2182, allocations: 0 / 0.7227 GB, free: 3.461 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002998/0.2212, allocations: 1.769 MB / 0.7245 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2212, allocations: 8.031 kB / 0.7245 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/0.2236, allocations: 474.7 kB / 0.7249 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.2256, allocations: 1.156 MB / 0.726 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003551/0.226, allocations: 125.9 kB / 0.7262 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.2261, allocations: 88 kB / 0.7262 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.2287, allocations: 1.149 MB / 0.7274 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.2287, allocations: 7.938 kB / 0.7274 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.2288, allocations: 36 kB / 0.7274 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.2288, allocations: 20 kB / 0.7274 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/0.2318, allocations: 1.038 MB / 0.7284 GB, free: 13.42 MB / 0.5105 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.006896/0.2387, allocations: 5.396 MB / 0.7337 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/0.2431, allocations: 1.03 MB / 0.7347 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009862/0.2441, allocations: 365.4 kB / 0.7351 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007257/0.2449, allocations: 0.6886 MB / 0.7357 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.2449, allocations: 34.94 kB / 0.7358 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 3.717e-06/0.2449, allocations: 4 kB / 0.7358 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.008019/0.2529, allocations: 2.005 MB / 0.7377 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.253, allocations: 55.41 kB / 0.7378 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.2543, allocations: 1.013 MB / 0.7388 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.846e-05/0.2543, allocations: 33.7 kB / 0.7388 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.2548, allocations: 0.566 MB / 0.7394 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.2549, allocations: 161.7 kB / 0.7395 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.2551, allocations: 138.2 kB / 0.7396 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2552, allocations: 330 kB / 0.74 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.2563, allocations: 371.2 kB / 0.7403 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2527/0.509, allocations: 0.5893 MB / 0.7409 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/0.5116, allocations: 0.838 MB / 0.7417 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.5116, allocations: 1.875 kB / 0.7417 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00532/0.5169, allocations: 1.367 MB / 0.743 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.517, allocations: 10.23 kB / 0.7431 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.517, allocations: 4.438 kB / 0.7431 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.5182, allocations: 322.7 kB / 0.7434 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/0.5189, allocations: 150 kB / 0.7435 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.5205, allocations: 0.949 MB / 0.7444 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.5219, allocations: 173.6 kB / 0.7446 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.963e-05/0.522, allocations: 32.5 kB / 0.7446 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001443/0.5235, allocations: 0.5599 MB / 0.7452 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001189/0.5247, allocations: 0.5635 MB / 0.7457 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002057/0.5267, allocations: 0.8039 MB / 0.7465 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.559e-06/0.5267, allocations: 0 / 0.7465 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.003906/0.5307, allocations: 1.246 MB / 0.7477 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5307, allocations: 11.06 kB / 0.7477 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.5307, allocations: 5.984 kB / 0.7478 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.5318, allocations: 305.4 kB / 0.748 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/0.5325, allocations: 150.4 kB / 0.7482 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.5339, allocations: 0.9085 MB / 0.7491 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.5353, allocations: 151.8 kB / 0.7492 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.265e-05/0.5354, allocations: 32.78 kB / 0.7492 GB, free: 104.6 MB / 0.5105 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.0002901/0.5357, allocations: 227.8 kB / 0.7495 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/0.536, allocations: 109.3 kB / 0.7496 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003655/0.5397, allocations: 1.112 MB / 0.7507 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.5397, allocations: 7.141 kB / 0.7507 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5397, allocations: 0 / 0.7507 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.5397, allocations: 7.125 kB / 0.7507 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00614/0.5459, allocations: 2.184 MB / 0.7528 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.5459, allocations: 0 / 0.7528 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005501/0.5465, allocations: 98.83 kB / 0.7529 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.5476, allocations: 325.4 kB / 0.7532 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/0.5477, allocations: 13.31 kB / 0.7532 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.5493, allocations: 0.9687 MB / 0.7542 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.5493, allocations: 10.2 kB / 0.7542 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006387/0.5557, allocations: 2.477 MB / 0.7566 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000473/0.5562, allocations: 268.7 kB / 0.7569 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.5564, allocations: 6.281 kB / 0.7569 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.5575, allocations: 120.9 kB / 0.757 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5577, allocations: 31.62 kB / 0.757 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.249e-05/0.5577, allocations: 20.45 kB / 0.757 GB, free: 102 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000993/0.5587, allocations: 0.7052 MB / 0.7577 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5587, allocations: 5.312 kB / 0.7577 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001861/0.5606, allocations: 0.5763 MB / 0.7583 GB, free: 101.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006868/0.5613, allocations: 322.1 kB / 0.7586 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003857/0.5652, allocations: 1.328 MB / 0.7599 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5652, allocations: 1.828 kB / 0.7599 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.5664, allocations: 425.7 kB / 0.7603 GB, free: 101 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.569, allocations: 0.5345 MB / 0.7608 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.5727, allocations: 2.613 MB / 0.7634 GB, free: 99.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.5733, allocations: 1.083 MB / 0.7644 GB, free: 98.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001079/0.5744, allocations: 229.4 kB / 0.7646 GB, free: 98.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.5746, allocations: 83.47 kB / 0.7647 GB, free: 98.23 MB / 0.5105 GB Notification: Performance of SimCode: time 5.11e-07/0.5747, allocations: 0 / 0.7647 GB, free: 98.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.03319/0.6078, allocations: 25.33 MB / 0.7895 GB, free: 76.03 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)