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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001292, allocations: 183.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5509/0.5509, allocations: 91.99 MB / 108.5 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 98.62 kB / 427.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003458, allocations: 8 kB / 0.4982 GB, free: 42.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1774, allocations: 72.3 MB / 0.5689 GB, free: 1.961 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.424, allocations: 388.3 MB / 0.9481 GB, free: 79.11 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/1.424, allocations: 92.14 kB / 0.9481 GB, free: 79.06 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.962/4.386, allocations: 0.7849 GB / 1.733 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.186e-06/4.386, allocations: 0 / 1.733 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001934/4.386, allocations: 43.98 kB / 1.733 GB, free: 8.785 MB / 0.6198 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.006323/4.392, allocations: 2.038 MB / 1.735 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/4.392, allocations: 8.031 kB / 1.735 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/4.395, allocations: 481.5 kB / 1.736 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004691/4.4, allocations: 1.733 MB / 1.737 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003924/4.4, allocations: 149.9 kB / 1.737 GB, free: 4.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/4.4, allocations: 112 kB / 1.737 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/4.403, allocations: 1.315 MB / 1.739 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/4.403, allocations: 4 kB / 1.739 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/4.403, allocations: 40 kB / 1.739 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.5e-05/4.403, allocations: 45.98 kB / 1.739 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002716/4.406, allocations: 1.144 MB / 1.74 GB, free: 1.523 MB / 0.6198 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.5479/4.954, allocations: 6.996 MB / 1.747 GB, free: 58.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003568/4.958, allocations: 0.9019 MB / 1.748 GB, free: 58.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/4.959, allocations: 1.733 MB / 1.749 GB, free: 56.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/4.959, allocations: 39.5 kB / 1.749 GB, free: 56.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 3.907e-06/4.959, allocations: 1.031 kB / 1.749 GB, free: 56.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.00612/4.965, allocations: 1.504 MB / 1.751 GB, free: 56.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/4.965, allocations: 57.38 kB / 1.751 GB, free: 56.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003016/4.968, allocations: 1.367 MB / 1.752 GB, free: 56.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.815e-05/4.968, allocations: 37.08 kB / 1.752 GB, free: 56.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006341/4.969, allocations: 0.6768 MB / 1.753 GB, free: 55.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/4.969, allocations: 170.9 kB / 1.753 GB, free: 55.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/4.969, allocations: 14.66 kB / 1.753 GB, free: 55.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.14e-05/4.969, allocations: 329.3 kB / 1.753 GB, free: 55.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009862/4.97, allocations: 383 kB / 1.754 GB, free: 55.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/4.972, allocations: 0.6748 MB / 1.754 GB, free: 55.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/4.973, allocations: 432.2 kB / 1.755 GB, free: 55.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/4.973, allocations: 2.812 kB / 1.755 GB, free: 55.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003152/4.976, allocations: 1.217 MB / 1.756 GB, free: 55.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/4.976, allocations: 7.688 kB / 1.756 GB, free: 55.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/4.976, allocations: 10.47 kB / 1.756 GB, free: 55.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/4.977, allocations: 262.2 kB / 1.756 GB, free: 55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008279/4.978, allocations: 191.3 kB / 1.757 GB, free: 55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009881/4.979, allocations: 0.7755 MB / 1.757 GB, free: 54.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/4.981, allocations: 262.5 kB / 1.758 GB, free: 54.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/4.981, allocations: 45.41 kB / 1.758 GB, free: 54.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008915/4.982, allocations: 354 kB / 1.758 GB, free: 54.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/4.982, allocations: 146.8 kB / 1.758 GB, free: 54.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/4.984, allocations: 1.202 MB / 1.759 GB, free: 54.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/4.984, allocations: 12.75 kB / 1.759 GB, free: 54.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/4.984, allocations: 0 / 1.759 GB, free: 54.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/4.984, allocations: 3.609 kB / 1.759 GB, free: 54.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005776/4.99, allocations: 2.618 MB / 1.762 GB, free: 53.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/4.99, allocations: 4.797 kB / 1.762 GB, free: 53.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/4.991, allocations: 91.34 kB / 1.762 GB, free: 53.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/4.992, allocations: 261.2 kB / 1.762 GB, free: 53.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/4.992, allocations: 16.41 kB / 1.762 GB, free: 53.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/4.993, allocations: 0.7837 MB / 1.763 GB, free: 53.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/4.993, allocations: 3.719 kB / 1.763 GB, free: 53.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003691/4.997, allocations: 1.411 MB / 1.764 GB, free: 52.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000828/4.997, allocations: 370.5 kB / 1.765 GB, free: 52.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/4.998, allocations: 13.28 kB / 1.765 GB, free: 52.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009463/4.999, allocations: 107.5 kB / 1.765 GB, free: 52.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/4.999, allocations: 48.05 kB / 1.765 GB, free: 52.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/4.999, allocations: 26.33 kB / 1.765 GB, free: 52.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00179/5.001, allocations: 1.083 MB / 1.766 GB, free: 52.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.583e-06/5.001, allocations: 0 / 1.766 GB, free: 52.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002237/5.003, allocations: 0.5004 MB / 1.766 GB, free: 52.55 MB / 0.6198 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 (51): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.002053/5.005, allocations: 0.8286 MB / 1.767 GB, free: 52.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002689/5.008, allocations: 0.8663 MB / 1.768 GB, free: 52.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/5.008, allocations: 0 / 1.768 GB, free: 52.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/5.009, allocations: 422.2 kB / 1.768 GB, free: 52.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/5.012, allocations: 0.6903 MB / 1.769 GB, free: 52.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005194/5.017, allocations: 2.722 MB / 1.772 GB, free: 51.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009926/5.018, allocations: 1.208 MB / 1.773 GB, free: 50.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001283/5.02, allocations: 260.7 kB / 1.773 GB, free: 50.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/5.02, allocations: 112.1 kB / 1.773 GB, free: 50.38 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/5.02, allocations: 0 / 1.773 GB, free: 50.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.06427/5.084, allocations: 33.6 MB / 1.806 GB, free: 48.99 MB / 0.6198 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)