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_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001249/0.001249, allocations: 168.8 kB / 326.5 MB, free: 2.695 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.704/1.704, allocations: 205 MB / 0.5766 GB, free: 20.97 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.000808/0.000808, allocations: 81.25 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 11.06 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2207, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.0415/0.2623, allocations: 60.55 MB / 0.9559 GB, free: 7.422 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.2759, allocations: 11.93 MB / 0.9675 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.2782, allocations: 51.69 kB / 0.9676 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.2804, allocations: 0.5516 MB / 0.9681 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005721/0.2861, allocations: 1.786 MB / 0.9698 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.2893, allocations: 1.098 MB / 0.9709 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005062/0.2944, allocations: 3.889 MB / 0.9747 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.2959, allocations: 0.8845 MB / 0.9756 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.2983, allocations: 1.124 MB / 0.9767 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.2997, allocations: 0.8592 MB / 0.9775 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.2998, allocations: 44 kB / 0.9776 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/0.3025, allocations: 1.322 MB / 0.9788 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.3028, allocations: 214.8 kB / 0.979 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007392/0.3035, allocations: 0.606 MB / 0.9796 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.3057, allocations: 1.699 MB / 0.9813 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3058, allocations: 0 / 0.9813 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3058, allocations: 0 / 0.9813 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.3058, allocations: 0 / 0.9813 GB, free: 13.27 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002652/0.3084, allocations: 1.501 MB / 0.9828 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3085, allocations: 8.031 kB / 0.9828 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.3102, allocations: 387 kB / 0.9831 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.3122, allocations: 1.128 MB / 0.9842 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003682/0.3126, allocations: 137.9 kB / 0.9844 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3127, allocations: 79.98 kB / 0.9845 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.3146, allocations: 0.9683 MB / 0.9854 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.3146, allocations: 0 / 0.9854 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.716e-05/0.3147, allocations: 32 kB / 0.9854 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.3147, allocations: 20 kB / 0.9854 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.3168, allocations: 0.8587 MB / 0.9863 GB, free: 8 MB / 0.6355 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.006345/0.3231, allocations: 4.565 MB / 0.9907 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.3248, allocations: 0.634 MB / 0.9914 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006855/0.3255, allocations: 305 kB / 0.9917 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001604/0.3272, allocations: 1.4 MB / 0.993 GB, free: 496 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.3272, allocations: 35 kB / 0.9931 GB, free: 452 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 4.909e-06/0.3272, allocations: 3.938 kB / 0.9931 GB, free: 448 kB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.007429/0.3347, allocations: 1.904 MB / 0.9949 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3347, allocations: 55.84 kB / 0.995 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.3363, allocations: 1.063 MB / 0.996 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.181e-05/0.3363, allocations: 33.7 kB / 0.996 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.3368, allocations: 0.5274 MB / 0.9966 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.3369, allocations: 165.6 kB / 0.9967 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.337, allocations: 49.69 kB / 0.9968 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3371, allocations: 330 kB / 0.9971 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007817/0.3379, allocations: 300.9 kB / 0.9974 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000926/0.3389, allocations: 0.4887 MB / 0.9978 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.3404, allocations: 0.6777 MB / 0.9985 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3404, allocations: 4 kB / 0.9985 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002519/0.3429, allocations: 1.011 MB / 0.9995 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.3431, allocations: 192.3 kB / 0.9997 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3431, allocations: 4 kB / 0.9997 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.3444, allocations: 332.5 kB / 1 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.3449, allocations: 127.8 kB / 1 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.3463, allocations: 0.9329 MB / 1.001 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.3476, allocations: 187.2 kB / 1.001 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.459e-05/0.3477, allocations: 31.98 kB / 1.001 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.3477, allocations: 4 kB / 1.001 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002279/0.35, allocations: 0.8658 MB / 1.002 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.35, allocations: 7.938 kB / 1.002 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.3511, allocations: 324.9 kB / 1.002 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.3516, allocations: 119.8 kB / 1.003 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.353, allocations: 0.9413 MB / 1.003 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.3543, allocations: 155.3 kB / 1.004 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.3544, allocations: 27.98 kB / 1.004 GB, free: 5.305 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 54 * 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.0007537/0.3552, allocations: 353 kB / 1.004 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.3554, allocations: 110.6 kB / 1.004 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/0.3585, allocations: 1.126 MB / 1.005 GB, free: 3.699 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.3585, allocations: 8 kB / 1.005 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3585, allocations: 0 / 1.005 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.3585, allocations: 11.92 kB / 1.005 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00485/0.3634, allocations: 2.212 MB / 1.007 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.3634, allocations: 8.219 kB / 1.007 GB, free: 1.371 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.3636, allocations: 67.91 kB / 1.007 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.3647, allocations: 324.5 kB / 1.008 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.3647, allocations: 15.98 kB / 1.008 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.3662, allocations: 0.9675 MB / 1.009 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3662, allocations: 7.938 kB / 1.009 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/0.3697, allocations: 1.235 MB / 1.01 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.3702, allocations: 267.5 kB / 1.01 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.3703, allocations: 19.92 kB / 1.01 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008768/0.3712, allocations: 99.81 kB / 1.01 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.3713, allocations: 39.89 kB / 1.01 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-05/0.3714, allocations: 23.98 kB / 1.01 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001153/0.3726, allocations: 0.7469 MB / 1.011 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3726, allocations: 0 / 1.011 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001533/0.3741, allocations: 0.5652 MB / 1.012 GB, free: 12.91 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0008172/0.3749, allocations: 392.2 kB / 1.012 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002897/0.3778, allocations: 1.112 MB / 1.013 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3779, allocations: 0 / 1.013 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008333/0.3787, allocations: 355 kB / 1.013 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/0.3818, allocations: 0.5184 MB / 1.014 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.3858, allocations: 2.297 MB / 1.016 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.3864, allocations: 1.058 MB / 1.017 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.3867, allocations: 87.41 kB / 1.017 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of SimCode: time 9.61e-07/0.3867, allocations: 0 / 1.017 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of Templates: time 0.03296/0.4197, allocations: 24 MB / 1.041 GB, free: 15.14 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)