Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 118.5 kB / 17.08 MB, free: 5.992 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.001572/0.001573, allocations: 198.9 kB / 18.02 MB, free: 5.066 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.449/1.449, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7508/0.7508, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 64.78 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1587, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06375/0.2225, allocations: 70.43 MB / 0.7015 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02445/0.247, allocations: 18.92 MB / 0.72 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003328/0.2504, allocations: 71.56 kB / 0.72 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.2532, allocations: 0.8268 MB / 0.7209 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00886/0.2621, allocations: 2.854 MB / 0.7236 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004686/0.2668, allocations: 1.646 MB / 0.7252 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006262/0.2731, allocations: 4.066 MB / 0.7292 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002422/0.2756, allocations: 1.445 MB / 0.7306 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005318/0.2809, allocations: 1.806 MB / 0.7324 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.2837, allocations: 1.182 MB / 0.7335 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004126/0.2841, allocations: 176 kB / 0.7337 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.2875, allocations: 1.412 MB / 0.7351 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004181/0.2879, allocations: 386.6 kB / 0.7355 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.2892, allocations: 0.9176 MB / 0.7364 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005046/0.2943, allocations: 3.105 MB / 0.7394 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2943, allocations: 0 / 0.7394 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2943, allocations: 8 kB / 0.7394 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.844e-05/0.2944, allocations: 0 / 0.7394 GB, free: 6.809 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003757/0.2981, allocations: 2.015 MB / 0.7414 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2982, allocations: 12.03 kB / 0.7414 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/0.3005, allocations: 446.4 kB / 0.7418 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/0.3034, allocations: 1.551 MB / 0.7433 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.678e-05/0.3035, allocations: 82.03 kB / 0.7434 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.3037, allocations: 100 kB / 0.7435 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.3063, allocations: 1.325 MB / 0.7448 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.3063, allocations: 3.938 kB / 0.7448 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.3064, allocations: 44 kB / 0.7448 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.3065, allocations: 28 kB / 0.7449 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3861/0.6925, allocations: 1.097 MB / 0.7459 GB, free: 109.9 MB / 0.5762 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.009334/0.7019, allocations: 7.493 MB / 0.7532 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/0.7052, allocations: 0.8048 MB / 0.754 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006305/0.7059, allocations: 284.5 kB / 0.7543 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008938/0.7068, allocations: 1.72 MB / 0.756 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.7068, allocations: 43 kB / 0.756 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 3.557e-06/0.7068, allocations: 0.5625 kB / 0.756 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.005273/0.7121, allocations: 1.333 MB / 0.7573 GB, free: 102 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.7122, allocations: 60.25 kB / 0.7574 GB, free: 101.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/0.7151, allocations: 1.544 MB / 0.7589 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.993e-05/0.7153, allocations: 36.83 kB / 0.7589 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000506/0.7158, allocations: 0.6756 MB / 0.7596 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.7159, allocations: 169.2 kB / 0.7597 GB, free: 100.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/0.7162, allocations: 171.7 kB / 0.7599 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.33e-05/0.7163, allocations: 340.4 kB / 0.7602 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009679/0.7173, allocations: 364.3 kB / 0.7606 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.7184, allocations: 0.6623 MB / 0.7612 GB, free: 99.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.7202, allocations: 0.8804 MB / 0.7621 GB, free: 99.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.7202, allocations: 2.219 kB / 0.7621 GB, free: 99.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003083/0.7233, allocations: 1.193 MB / 0.7633 GB, free: 98.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.7233, allocations: 11.83 kB / 0.7633 GB, free: 98.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.7233, allocations: 7.875 kB / 0.7633 GB, free: 98.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.7244, allocations: 225.5 kB / 0.7635 GB, free: 98.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009032/0.7253, allocations: 191.3 kB / 0.7637 GB, free: 98.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008563/0.7262, allocations: 0.7186 MB / 0.7644 GB, free: 97.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.7279, allocations: 223.3 kB / 0.7646 GB, free: 97.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.7281, allocations: 40 kB / 0.7646 GB, free: 97.84 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006549/0.7287, allocations: 358.5 kB / 0.765 GB, free: 97.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/0.729, allocations: 152.2 kB / 0.7651 GB, free: 97.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.7313, allocations: 1.143 MB / 0.7662 GB, free: 97.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.7314, allocations: 9.203 kB / 0.7662 GB, free: 97.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.7314, allocations: 3.5 kB / 0.7662 GB, free: 97.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.7314, allocations: 7.156 kB / 0.7662 GB, free: 97.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005356/0.7367, allocations: 2.504 MB / 0.7687 GB, free: 95.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.7368, allocations: 2.781 kB / 0.7687 GB, free: 95.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.7372, allocations: 85.38 kB / 0.7688 GB, free: 95.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007678/0.7379, allocations: 209.7 kB / 0.769 GB, free: 95.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.738, allocations: 18.52 kB / 0.769 GB, free: 95.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.7392, allocations: 0.7659 MB / 0.7697 GB, free: 94.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.7392, allocations: 11.55 kB / 0.7698 GB, free: 94.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003484/0.7427, allocations: 1.2 MB / 0.7709 GB, free: 94.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006761/0.7434, allocations: 358.3 kB / 0.7713 GB, free: 93.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.7436, allocations: 16.73 kB / 0.7713 GB, free: 93.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000881/0.7445, allocations: 69.8 kB / 0.7713 GB, free: 93.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/0.7446, allocations: 40 kB / 0.7714 GB, free: 93.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.557e-05/0.7446, allocations: 24.45 kB / 0.7714 GB, free: 93.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001664/0.7463, allocations: 1.091 MB / 0.7725 GB, free: 93.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7463, allocations: 3.281 kB / 0.7725 GB, free: 93.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001422/0.7478, allocations: 445.8 kB / 0.7729 GB, free: 92.99 MB / 0.5762 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008707/0.7486, allocations: 485 kB / 0.7734 GB, free: 92.79 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002143/0.7508, allocations: 0.8467 MB / 0.7742 GB, free: 92.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.7508, allocations: 1.281 kB / 0.7742 GB, free: 92.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.7521, allocations: 439 kB / 0.7746 GB, free: 92.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/0.7552, allocations: 0.7376 MB / 0.7753 GB, free: 91.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.7586, allocations: 2.283 MB / 0.7776 GB, free: 90.47 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.7591, allocations: 1.16 MB / 0.7787 GB, free: 89.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.7594, allocations: 126.2 kB / 0.7788 GB, free: 89.54 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.7594, allocations: 3.938 kB / 0.7788 GB, free: 89.54 MB / 0.5762 GB Notification: Performance of Templates: time 0.03367/0.7931, allocations: 34.22 MB / 0.8122 GB, free: 56.78 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)