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.001013/0.001013, allocations: 176.7 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5124/0.5124, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.5 MB / 343.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 99.88 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.072e-05/2.074e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1563, allocations: 72.31 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.205/1.361, allocations: 387.6 MB / 0.932 GB, free: 93.44 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.361, allocations: 92.12 kB / 0.9321 GB, free: 93.39 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.528/3.889, allocations: 0.7788 GB / 1.711 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/3.889, allocations: 0 / 1.711 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001462/3.889, allocations: 35.98 kB / 1.711 GB, free: 15.02 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.003596/3.893, allocations: 1.755 MB / 1.713 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/3.893, allocations: 16.02 kB / 1.713 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/3.895, allocations: 477.6 kB / 1.713 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003353/3.899, allocations: 1.725 MB / 1.715 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/3.899, allocations: 105.9 kB / 1.715 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/3.899, allocations: 64 kB / 1.715 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001535/3.901, allocations: 0.8398 MB / 1.716 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/3.902, allocations: 1.049 MB / 1.717 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/3.902, allocations: 0 / 1.717 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/3.902, allocations: 7.984 kB / 1.717 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/3.902, allocations: 34 kB / 1.717 GB, free: 8.766 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.008233/3.911, allocations: 6.888 MB / 1.724 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008835/3.912, allocations: 0.5447 MB / 1.724 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/3.912, allocations: 234 kB / 1.724 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4017/4.314, allocations: 1.565 MB / 1.726 GB, free: 69.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/4.314, allocations: 41.38 kB / 1.726 GB, free: 69.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 3.396e-06/4.314, allocations: 0.625 kB / 1.726 GB, free: 69.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.003182/4.317, allocations: 0.7771 MB / 1.727 GB, free: 69.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/4.317, allocations: 57.77 kB / 1.727 GB, free: 69.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/4.319, allocations: 0.9525 MB / 1.728 GB, free: 69.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.995e-05/4.319, allocations: 30.67 kB / 1.728 GB, free: 69.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006329/4.32, allocations: 0.6849 MB / 1.728 GB, free: 69.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/4.32, allocations: 161.9 kB / 1.728 GB, free: 69.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/4.32, allocations: 0 / 1.728 GB, free: 69.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.901e-05/4.32, allocations: 333.7 kB / 1.729 GB, free: 69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/4.32, allocations: 236.4 kB / 1.729 GB, free: 69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007287/4.321, allocations: 0.5294 MB / 1.73 GB, free: 68.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/4.323, allocations: 0.5117 MB / 1.73 GB, free: 68.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/4.323, allocations: 2.531 kB / 1.73 GB, free: 68.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002941/4.326, allocations: 1.057 MB / 1.731 GB, free: 68.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/4.326, allocations: 10.72 kB / 1.731 GB, free: 68.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/4.326, allocations: 6.469 kB / 1.731 GB, free: 68.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008438/4.327, allocations: 222.4 kB / 1.731 GB, free: 68.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/4.328, allocations: 189.5 kB / 1.732 GB, free: 68.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000682/4.329, allocations: 0.7427 MB / 1.732 GB, free: 68.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/4.33, allocations: 196.9 kB / 1.732 GB, free: 67.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/4.33, allocations: 49.03 kB / 1.732 GB, free: 67.99 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_b.chi.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real 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 () * 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.0002111/4.33, allocations: 132.1 kB / 1.733 GB, free: 67.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/4.331, allocations: 114.4 kB / 1.733 GB, free: 67.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/4.333, allocations: 1.012 MB / 1.734 GB, free: 67.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/4.333, allocations: 12.91 kB / 1.734 GB, free: 67.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/4.333, allocations: 1.188 kB / 1.734 GB, free: 67.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/4.333, allocations: 3.375 kB / 1.734 GB, free: 67.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00539/4.338, allocations: 2.343 MB / 1.736 GB, free: 67.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/4.338, allocations: 2.688 kB / 1.736 GB, free: 67.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/4.339, allocations: 86 kB / 1.736 GB, free: 67.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007246/4.34, allocations: 224.8 kB / 1.736 GB, free: 67.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/4.34, allocations: 13.19 kB / 1.736 GB, free: 67.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006715/4.34, allocations: 0.7338 MB / 1.737 GB, free: 66.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/4.34, allocations: 1.609 kB / 1.737 GB, free: 66.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/4.344, allocations: 1.273 MB / 1.738 GB, free: 66.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006187/4.344, allocations: 324.5 kB / 1.739 GB, free: 66.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/4.345, allocations: 3.562 kB / 1.739 GB, free: 66.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009689/4.346, allocations: 94.59 kB / 1.739 GB, free: 66.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/4.346, allocations: 43.97 kB / 1.739 GB, free: 66.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.014e-05/4.346, allocations: 28.73 kB / 1.739 GB, free: 66.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001215/4.347, allocations: 0.7151 MB / 1.739 GB, free: 66.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/4.347, allocations: 2 kB / 1.739 GB, free: 66.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001878/4.349, allocations: 0.4989 MB / 1.74 GB, free: 66.22 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 () * 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.001545/4.35, allocations: 0.8379 MB / 1.741 GB, free: 66.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001433/4.352, allocations: 0.6448 MB / 1.741 GB, free: 66.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/4.352, allocations: 0 / 1.741 GB, free: 66.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006045/4.352, allocations: 346.5 kB / 1.742 GB, free: 66.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/4.354, allocations: 429.8 kB / 1.742 GB, free: 66.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/4.358, allocations: 1.594 MB / 1.744 GB, free: 65.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00076/4.359, allocations: 1.191 MB / 1.745 GB, free: 64.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001079/4.36, allocations: 218.9 kB / 1.745 GB, free: 64.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/4.36, allocations: 93.78 kB / 1.745 GB, free: 64.8 MB / 0.6198 GB Notification: Performance of SimCode: time 6.92e-07/4.36, allocations: 4.688 kB / 1.745 GB, free: 64.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.04186/4.402, allocations: 23.42 MB / 1.768 GB, free: 64.02 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)