Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.34/2.34, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.001499, allocations: 181.9 kB / 325.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.599/2.599, allocations: 205.4 MB / 0.5767 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.00104, allocations: 88.3 kB / 0.6812 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004956, allocations: 16.19 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2166, allocations: 106.3 MB / 0.899 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.09672/0.3133, allocations: 69.41 MB / 0.9668 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.04951/0.3629, allocations: 11.8 MB / 0.9783 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003266/0.3662, allocations: 55.62 kB / 0.9784 GB, free: 452 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.01059/0.3769, allocations: 0.5706 MB / 0.9789 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.02345/0.4004, allocations: 1.869 MB / 0.9808 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.007905/0.4084, allocations: 0.954 MB / 0.9817 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01355/0.422, allocations: 4.782 MB / 0.9864 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004759/0.4268, allocations: 1.072 MB / 0.9874 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0064/0.4333, allocations: 1.26 MB / 0.9886 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004312/0.4377, allocations: 1.066 MB / 0.9897 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008272/0.4386, allocations: 56 kB / 0.9897 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006159/0.4448, allocations: 0.9198 MB / 0.9906 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.446, allocations: 270.8 kB / 0.9909 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.4478, allocations: 356.9 kB / 0.9912 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007027/0.4549, allocations: 2.073 MB / 0.9933 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/0.455, allocations: 0 / 0.9933 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.526e-06/0.455, allocations: 0 / 0.9933 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001045/0.4552, allocations: 0 / 0.9933 GB, free: 1.137 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.008649/0.4638, allocations: 1.791 MB / 0.995 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/0.4639, allocations: 8.031 kB / 0.995 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.4662, allocations: 238.9 kB / 0.9952 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006456/0.4727, allocations: 1.432 MB / 0.9966 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.4729, allocations: 74 kB / 0.9967 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004275/0.4733, allocations: 104 kB / 0.9968 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005406/0.4788, allocations: 1.1 MB / 0.9979 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.033e-05/0.4789, allocations: 3.938 kB / 0.9979 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.4791, allocations: 44 kB / 0.9979 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.109e-05/0.4792, allocations: 24 kB / 0.998 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006522/0.4858, allocations: 0.9212 MB / 0.9989 GB, free: 11.25 MB / 0.6511 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.01109/0.4969, allocations: 4.911 MB / 1.004 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.4995, allocations: 0.6396 MB / 1.004 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.5009, allocations: 370.3 kB / 1.005 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009146/0.5018, allocations: 0.8277 MB / 1.005 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.5019, allocations: 43.06 kB / 1.005 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.286e-06/0.5019, allocations: 0 / 1.005 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.0134/0.5153, allocations: 1.881 MB / 1.007 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.5155, allocations: 59.91 kB / 1.007 GB, free: 1.996 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.5183, allocations: 1.194 MB / 1.009 GB, free: 0.7852 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002045/0.5186, allocations: 45.7 kB / 1.009 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008048/0.5194, allocations: 0.5986 MB / 1.009 GB, free: 132 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/0.5198, allocations: 209.1 kB / 1.009 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.5199, allocations: 16 kB / 1.009 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5201, allocations: 341.9 kB / 1.01 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.5214, allocations: 293.8 kB / 1.01 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.5229, allocations: 0.4998 MB / 1.01 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.5243, allocations: 363 kB / 1.011 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.5243, allocations: 4 kB / 1.011 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00878/0.5331, allocations: 1.39 MB / 1.012 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.5333, allocations: 194.2 kB / 1.012 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.5333, allocations: 4 kB / 1.012 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009824/0.5343, allocations: 152.7 kB / 1.013 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.5357, allocations: 159.8 kB / 1.013 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.5371, allocations: 0.7083 MB / 1.013 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.5393, allocations: 182.9 kB / 1.014 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.5395, allocations: 31.98 kB / 1.014 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5396, allocations: 8 kB / 1.014 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008259/0.5478, allocations: 1.242 MB / 1.015 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.5479, allocations: 4 kB / 1.015 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008761/0.5488, allocations: 149 kB / 1.015 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.55, allocations: 159.8 kB / 1.015 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.5514, allocations: 0.7162 MB / 1.016 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/0.5535, allocations: 155.2 kB / 1.016 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.5537, allocations: 39.98 kB / 1.016 GB, free: 8.941 MB / 0.6667 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 (79): * Single equations (assignments): 78 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009646/0.5547, allocations: 416.9 kB / 1.016 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004259/0.5551, allocations: 130.4 kB / 1.016 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008649/0.5638, allocations: 1.396 MB / 1.018 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.112e-05/0.5639, allocations: 15.92 kB / 1.018 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.5639, allocations: 0 / 1.018 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007938/0.5718, allocations: 1.228 MB / 1.019 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.5838, allocations: 2.719 MB / 1.022 GB, free: 2.871 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.5838, allocations: 4 kB / 1.022 GB, free: 2.867 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.5849, allocations: 128.2 kB / 1.022 GB, free: 2.742 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008457/0.5857, allocations: 132.8 kB / 1.022 GB, free: 2.609 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.5859, allocations: 19.98 kB / 1.022 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008181/0.5941, allocations: 2.443 MB / 1.024 GB, free: 4 kB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.255e-05/0.5941, allocations: 12.11 kB / 1.024 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/0.6042, allocations: 1.844 MB / 1.026 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.6053, allocations: 323.2 kB / 1.027 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/0.6057, allocations: 19.98 kB / 1.027 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.6074, allocations: 99.75 kB / 1.027 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.6077, allocations: 56.25 kB / 1.027 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.6078, allocations: 39.81 kB / 1.027 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002232/0.6101, allocations: 0.8541 MB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.11e-07/0.6101, allocations: 0 / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003385/0.6135, allocations: 0.7096 MB / 1.028 GB, free: 11.97 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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): 51 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001357/0.6149, allocations: 410.4 kB / 1.029 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004841/0.6198, allocations: 1.168 MB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.6199, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002794/0.6227, allocations: 0.5954 MB / 1.03 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006939/0.6297, allocations: 0.7726 MB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006466/0.6362, allocations: 2.754 MB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.6372, allocations: 1.172 MB / 1.035 GB, free: 5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002087/0.6393, allocations: 307 kB / 1.035 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.6398, allocations: 103.3 kB / 1.035 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of SimCode: time 1.442e-06/0.6398, allocations: 4 kB / 1.035 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.6766/1.316, allocations: 29.41 MB / 1.064 GB, free: 139.9 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)