Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.656/1.656, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001821/0.001821, allocations: 181.9 kB / 327.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 0.5786 GB, free: 20.44 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006997/0.0006997, allocations: 94.84 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.0003162, allocations: 15.42 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1779, allocations: 106.3 MB / 0.9014 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04625/0.2242, allocations: 68.88 MB / 0.9687 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0217/0.246, allocations: 18.64 MB / 0.9869 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.2481, allocations: 63.56 kB / 0.987 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.25, allocations: 0.6488 MB / 0.9876 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006991/0.2571, allocations: 2.596 MB / 0.9901 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.2609, allocations: 1.507 MB / 0.9916 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006002/0.2669, allocations: 5.003 MB / 0.9965 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.2692, allocations: 1.148 MB / 0.9976 GB, free: 13 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003414/0.2727, allocations: 1.458 MB / 0.999 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.2749, allocations: 1.12 MB / 1 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003672/0.2752, allocations: 60 kB / 1 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.2784, allocations: 1.185 MB / 1.001 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005201/0.279, allocations: 266.6 kB / 1.002 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.2806, allocations: 0.806 MB / 1.002 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003415/0.284, allocations: 2.377 MB / 1.005 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.284, allocations: 0 / 1.005 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.633e-06/0.284, allocations: 4 kB / 1.005 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.784e-05/0.2841, allocations: 0 / 1.005 GB, free: 5.695 MB / 0.6511 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.003719/0.2879, allocations: 1.715 MB / 1.006 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2879, allocations: 8.031 kB / 1.006 GB, free: 3.91 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/0.2903, allocations: 0.4985 MB / 1.007 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.2934, allocations: 1.52 MB / 1.008 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003871/0.2938, allocations: 146 kB / 1.009 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.2941, allocations: 104 kB / 1.009 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/0.297, allocations: 1.315 MB / 1.01 GB, free: 188 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.297, allocations: 4 kB / 1.01 GB, free: 184 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.2971, allocations: 40 kB / 1.01 GB, free: 144 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.2972, allocations: 28 kB / 1.01 GB, free: 116 kB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/0.3001, allocations: 1.179 MB / 1.011 GB, free: 14.93 MB / 0.6667 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.009338/0.3094, allocations: 6.944 MB / 1.018 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003283/0.3127, allocations: 0.9398 MB / 1.019 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007518/0.3135, allocations: 318 kB / 1.019 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/0.3148, allocations: 1.722 MB / 1.021 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.3149, allocations: 42.98 kB / 1.021 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 3.066e-06/0.3149, allocations: 0 / 1.021 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.00503/0.3199, allocations: 1.502 MB / 1.022 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.32, allocations: 55.84 kB / 1.022 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/0.3229, allocations: 1.533 MB / 1.024 GB, free: 0.9766 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.138e-05/0.323, allocations: 41.64 kB / 1.024 GB, free: 0.9297 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006144/0.3236, allocations: 0.6653 MB / 1.025 GB, free: 264 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.3238, allocations: 181.4 kB / 1.025 GB, free: 80 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/0.3239, allocations: 16 kB / 1.025 GB, free: 64 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.324, allocations: 334 kB / 1.025 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.3251, allocations: 401.8 kB / 1.025 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.3263, allocations: 0.6783 MB / 1.026 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/0.3282, allocations: 0.9147 MB / 1.027 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.3282, allocations: 4 kB / 1.027 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003173/0.3314, allocations: 1.26 MB / 1.028 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.3314, allocations: 10.34 kB / 1.028 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.3315, allocations: 15.94 kB / 1.028 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009121/0.3324, allocations: 224.6 kB / 1.028 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008163/0.3332, allocations: 203.7 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008799/0.3341, allocations: 0.7318 MB / 1.029 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.3359, allocations: 262.6 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.336, allocations: 43.97 kB / 1.03 GB, free: 10.75 MB / 0.6823 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 (82): * Single equations (assignments): 81 * 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.0007123/0.3367, allocations: 357.6 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003552/0.3371, allocations: 146.2 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.3398, allocations: 1.211 MB / 1.031 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.3398, allocations: 19.92 kB / 1.031 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3398, allocations: 4 kB / 1.031 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.3398, allocations: 3.984 kB / 1.031 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005913/0.3457, allocations: 2.658 MB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.3458, allocations: 0 / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/0.3462, allocations: 95.88 kB / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007905/0.347, allocations: 228.8 kB / 1.034 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.725e-05/0.3471, allocations: 19.98 kB / 1.034 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.3484, allocations: 0.7982 MB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3484, allocations: 4.031 kB / 1.035 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003684/0.3521, allocations: 1.328 MB / 1.036 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008626/0.353, allocations: 382.9 kB / 1.037 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003338/0.3533, allocations: 12 kB / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.3545, allocations: 111.7 kB / 1.037 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3546, allocations: 44.5 kB / 1.037 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.874e-05/0.3547, allocations: 27.97 kB / 1.037 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002137/0.3568, allocations: 1.086 MB / 1.038 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3569, allocations: 0 / 1.038 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001519/0.3584, allocations: 431.4 kB / 1.038 GB, free: 1.621 MB / 0.6823 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 (56): * Single equations (assignments): 45 * 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.000999/0.3594, allocations: 452.8 kB / 1.039 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002403/0.3618, allocations: 0.907 MB / 1.04 GB, free: 276 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3618, allocations: 0 / 1.04 GB, free: 276 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.3633, allocations: 0.4918 MB / 1.04 GB, free: 15.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004131/0.3674, allocations: 0.737 MB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.3723, allocations: 2.836 MB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008661/0.3732, allocations: 1.165 MB / 1.045 GB, free: 10.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/0.3737, allocations: 127.4 kB / 1.045 GB, free: 10.85 MB / 0.698 GB Notification: Performance of SimCode: time 7.32e-07/0.3737, allocations: 0 / 1.045 GB, free: 10.85 MB / 0.698 GB Notification: Performance of Templates: time 0.3812/0.755, allocations: 33.86 MB / 1.078 GB, free: 69.33 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)