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.357/1.357, allocations: 252 MB / 267.6 MB, free: 10.91 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.001318/0.001318, allocations: 174.6 kB / 327.3 MB, free: 2.219 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.493/1.493, allocations: 205.4 MB / 0.5783 GB, free: 20.27 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.000727/0.000727, allocations: 94.3 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002971, allocations: 10.16 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2033, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.03892/0.2423, allocations: 56.54 MB / 0.956 GB, free: 7.207 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01534/0.2577, allocations: 11.08 MB / 0.9669 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.2605, allocations: 51.62 kB / 0.9669 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002995/0.2635, allocations: 464.9 kB / 0.9674 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008139/0.2717, allocations: 1.519 MB / 0.9688 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004896/0.2766, allocations: 0.8768 MB / 0.9697 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007684/0.2843, allocations: 3.381 MB / 0.973 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.2867, allocations: 0.7859 MB / 0.9738 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003791/0.2905, allocations: 1.034 MB / 0.9748 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002363/0.2929, allocations: 0.8127 MB / 0.9756 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002705/0.2932, allocations: 44 kB / 0.9756 GB, free: 3.094 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00421/0.2974, allocations: 1.103 MB / 0.9767 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004269/0.2979, allocations: 207 kB / 0.9769 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008206/0.2987, allocations: 285 kB / 0.9772 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003722/0.3024, allocations: 1.633 MB / 0.9787 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3025, allocations: 0 / 0.9787 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3025, allocations: 0 / 0.9787 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.325e-05/0.3025, allocations: 0 / 0.9787 GB, free: 15.86 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.004578/0.3071, allocations: 1.52 MB / 0.9802 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.3072, allocations: 8.031 kB / 0.9802 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002536/0.3097, allocations: 386 kB / 0.9806 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003457/0.3132, allocations: 1.086 MB / 0.9817 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005422/0.3138, allocations: 125.9 kB / 0.9818 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.314, allocations: 84 kB / 0.9819 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.317, allocations: 0.9605 MB / 0.9828 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.317, allocations: 3.938 kB / 0.9828 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.3172, allocations: 32 kB / 0.9828 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.3172, allocations: 20 kB / 0.9829 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.3202, allocations: 0.8587 MB / 0.9837 GB, free: 10.64 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.008978/0.3292, allocations: 4.548 MB / 0.9881 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.3318, allocations: 0.6417 MB / 0.9888 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.3329, allocations: 309.9 kB / 0.9891 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002183/0.3351, allocations: 1.389 MB / 0.9904 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.3352, allocations: 39 kB / 0.9905 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 3.847e-06/0.3352, allocations: 0 / 0.9905 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.01138/0.3466, allocations: 1.893 MB / 0.9923 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.3467, allocations: 55.84 kB / 0.9924 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/0.3492, allocations: 1.048 MB / 0.9934 GB, free: 36 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.3493, allocations: 37.75 kB / 0.9934 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006509/0.35, allocations: 0.5352 MB / 0.9939 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.3503, allocations: 157.7 kB / 0.9941 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.3503, allocations: 16 kB / 0.9941 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.3505, allocations: 330 kB / 0.9944 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.3517, allocations: 292.9 kB / 0.9947 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.3532, allocations: 499.2 kB / 0.9952 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.3546, allocations: 332.6 kB / 0.9955 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.3546, allocations: 4 kB / 0.9955 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003871/0.3585, allocations: 1.003 MB / 0.9965 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.3587, allocations: 192.4 kB / 0.9967 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.3588, allocations: 4 kB / 0.9967 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/0.3606, allocations: 329.8 kB / 0.997 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/0.3614, allocations: 123.8 kB / 0.9971 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.3636, allocations: 0.9347 MB / 0.998 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.3655, allocations: 187.2 kB / 0.9982 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.3656, allocations: 31.98 kB / 0.9982 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3656, allocations: 4 kB / 0.9982 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003593/0.3692, allocations: 0.8697 MB / 0.9991 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3692, allocations: 4 kB / 0.9991 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/0.3711, allocations: 322.8 kB / 0.9994 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/0.3719, allocations: 123.8 kB / 0.9995 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.3742, allocations: 0.9309 MB / 1 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.3762, allocations: 163.3 kB / 1.001 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.3764, allocations: 27.98 kB / 1.001 GB, free: 8.434 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 (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 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008417/0.3772, allocations: 345 kB / 1.001 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.3775, allocations: 122.5 kB / 1.001 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004946/0.3825, allocations: 1.115 MB / 1.002 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.3825, allocations: 7.984 kB / 1.002 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3825, allocations: 4 kB / 1.002 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.3826, allocations: 0 / 1.002 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008131/0.3907, allocations: 2.212 MB / 1.004 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/0.3908, allocations: 11.89 kB / 1.004 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.3912, allocations: 63.89 kB / 1.004 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.3929, allocations: 316.9 kB / 1.005 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/0.393, allocations: 19.98 kB / 1.005 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/0.3954, allocations: 0.9728 MB / 1.006 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/0.3954, allocations: 3.938 kB / 1.006 GB, free: 3.125 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005739/0.4012, allocations: 1.239 MB / 1.007 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008932/0.4021, allocations: 275.4 kB / 1.007 GB, free: 1.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.4023, allocations: 19.94 kB / 1.007 GB, free: 1.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.4038, allocations: 103.8 kB / 1.007 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.4039, allocations: 43.89 kB / 1.007 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.323e-05/0.404, allocations: 23.98 kB / 1.007 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001949/0.406, allocations: 0.7313 MB / 1.008 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.41e-07/0.406, allocations: 0 / 1.008 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002751/0.4088, allocations: 0.5653 MB / 1.009 GB, free: 56 kB / 0.6511 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 (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 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.00123/0.41, allocations: 375.9 kB / 1.009 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00417/0.4142, allocations: 1.104 MB / 1.01 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.4142, allocations: 3.938 kB / 1.01 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.4155, allocations: 351.1 kB / 1.01 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003783/0.4193, allocations: 0.5266 MB / 1.011 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.4231, allocations: 2.268 MB / 1.013 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.4237, allocations: 1.066 MB / 1.014 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.4239, allocations: 83.41 kB / 1.014 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of SimCode: time 6.91e-07/0.4239, allocations: 0 / 1.014 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of Templates: time 0.0331/0.457, allocations: 24 MB / 1.038 GB, free: 2.34 MB / 0.6823 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)