Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y") translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.00136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001322, allocations: 190.8 kB / 16.14 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002477/0.002477, allocations: 287 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 98.75 kB / 0.6057 GB, free: 25.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1662, allocations: 89.16 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_y): time 0.4117/0.578, allocations: 74.65 MB / 0.7657 GB, free: 30.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01695/0.5949, allocations: 12.82 MB / 0.7782 GB, free: 29.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/0.5979, allocations: 61.22 kB / 0.7783 GB, free: 29.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.6006, allocations: 0.6785 MB / 0.7789 GB, free: 29.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007317/0.6079, allocations: 2.272 MB / 0.7811 GB, free: 29.63 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003745/0.6117, allocations: 1.27 MB / 0.7824 GB, free: 29.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00852/0.6202, allocations: 5.546 MB / 0.7878 GB, free: 27.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002296/0.6225, allocations: 1.197 MB / 0.789 GB, free: 27.19 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004205/0.6268, allocations: 1.35 MB / 0.7903 GB, free: 26.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.6295, allocations: 1.187 MB / 0.7915 GB, free: 26.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.6299, allocations: 72.56 kB / 0.7915 GB, free: 26.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004429/0.6344, allocations: 1.257 MB / 0.7927 GB, free: 25.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004485/0.6348, allocations: 311.4 kB / 0.793 GB, free: 25.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.6363, allocations: 0.8111 MB / 0.7938 GB, free: 25.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004999/0.6413, allocations: 2.776 MB / 0.7965 GB, free: 24.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6413, allocations: 5.438 kB / 0.7966 GB, free: 24.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6413, allocations: 4 kB / 0.7966 GB, free: 24.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.107e-05/0.6414, allocations: 0 / 0.7966 GB, free: 24.34 MB / 0.545 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.003954/0.6453, allocations: 2.078 MB / 0.7986 GB, free: 22.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.6454, allocations: 9.344 kB / 0.7986 GB, free: 22.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008759/0.6463, allocations: 231.1 kB / 0.7988 GB, free: 22.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.6485, allocations: 1.491 MB / 0.8003 GB, free: 22.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.449e-05/0.6486, allocations: 75.72 kB / 0.8003 GB, free: 21.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.6487, allocations: 105.9 kB / 0.8004 GB, free: 21.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.6506, allocations: 1.104 MB / 0.8015 GB, free: 21.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.6507, allocations: 5.438 kB / 0.8015 GB, free: 21.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.672e-05/0.6508, allocations: 37.06 kB / 0.8016 GB, free: 21.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.6508, allocations: 28 kB / 0.8016 GB, free: 21.42 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.6526, allocations: 0.8837 MB / 0.8025 GB, free: 20.98 MB / 0.545 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.005332/0.658, allocations: 4.901 MB / 0.8072 GB, free: 16.81 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.6594, allocations: 0.6108 MB / 0.8078 GB, free: 16.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007123/0.6601, allocations: 357.8 kB / 0.8082 GB, free: 16.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004674/0.6606, allocations: 0.8243 MB / 0.809 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.6606, allocations: 47.98 kB / 0.809 GB, free: 15.33 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 2.224e-06/0.6606, allocations: 0 / 0.809 GB, free: 15.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.007442/0.6681, allocations: 1.681 MB / 0.8107 GB, free: 14.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.6681, allocations: 62.47 kB / 0.8107 GB, free: 14.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.6699, allocations: 1.208 MB / 0.8119 GB, free: 13.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.67, allocations: 39.52 kB / 0.8119 GB, free: 13.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004027/0.6704, allocations: 0.6069 MB / 0.8125 GB, free: 13.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.6706, allocations: 214.5 kB / 0.8127 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.6708, allocations: 151.2 kB / 0.8129 GB, free: 12.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.446e-05/0.6709, allocations: 339 kB / 0.8132 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006356/0.6715, allocations: 289 kB / 0.8135 GB, free: 12.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007808/0.6723, allocations: 491 kB / 0.814 GB, free: 12.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.6736, allocations: 0.7111 MB / 0.8146 GB, free: 11.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6737, allocations: 1.469 kB / 0.8147 GB, free: 11.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004838/0.6785, allocations: 1.279 MB / 0.8159 GB, free: 10.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.6786, allocations: 6.875 kB / 0.8159 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.6786, allocations: 2.75 kB / 0.8159 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/0.6792, allocations: 134 kB / 0.816 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.6799, allocations: 162 kB / 0.8162 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007052/0.6806, allocations: 0.6985 MB / 0.8169 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.682, allocations: 149.1 kB / 0.817 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/0.6821, allocations: 36.2 kB / 0.817 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00106/0.6832, allocations: 0.5585 MB / 0.8176 GB, free: 9.766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007305/0.6839, allocations: 491.9 kB / 0.8181 GB, free: 9.395 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001232/0.6852, allocations: 0.6996 MB / 0.8187 GB, free: 8.953 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/0.6852, allocations: 2.938 kB / 0.8188 GB, free: 8.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00463/0.6898, allocations: 1.266 MB / 0.82 GB, free: 8.316 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6898, allocations: 5.312 kB / 0.82 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.6898, allocations: 5.406 kB / 0.82 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000501/0.6904, allocations: 132.7 kB / 0.8201 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.691, allocations: 161.9 kB / 0.8203 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006744/0.6917, allocations: 0.6993 MB / 0.821 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.6932, allocations: 133.8 kB / 0.8211 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.92e-05/0.6933, allocations: 43.2 kB / 0.8211 GB, free: 7.496 MB / 0.545 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 (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 prepare postOptimizeDAE: time 0.0002398/0.6935, allocations: 220.8 kB / 0.8213 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.6938, allocations: 135.9 kB / 0.8215 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004543/0.6983, allocations: 1.265 MB / 0.8227 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.6984, allocations: 9.688 kB / 0.8227 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6984, allocations: 0 / 0.8227 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004061/0.7025, allocations: 1.099 MB / 0.8238 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006998/0.7095, allocations: 2.608 MB / 0.8263 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.7095, allocations: 9.719 kB / 0.8263 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.71, allocations: 114.6 kB / 0.8265 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004667/0.7105, allocations: 126.8 kB / 0.8266 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.7106, allocations: 17.88 kB / 0.8266 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004208/0.7148, allocations: 2.343 MB / 0.8289 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.7148, allocations: 9.562 kB / 0.8289 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005246/0.7201, allocations: 1.692 MB / 0.8305 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008173/0.7209, allocations: 311.2 kB / 0.8308 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.7211, allocations: 16 kB / 0.8309 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009243/0.7221, allocations: 83.86 kB / 0.8309 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.7222, allocations: 64.23 kB / 0.831 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/0.7223, allocations: 27.98 kB / 0.831 GB, free: 480 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001272/0.7236, allocations: 0.8699 MB / 0.8319 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7236, allocations: 0 / 0.8319 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002196/0.7258, allocations: 0.7135 MB / 0.8326 GB, free: 14.88 MB / 0.5606 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 (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.0009754/0.7268, allocations: 456.3 kB / 0.833 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00287/0.7296, allocations: 1.102 MB / 0.8341 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7297, allocations: 0 / 0.8341 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.7313, allocations: 0.5603 MB / 0.8346 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/0.7352, allocations: 0.7581 MB / 0.8354 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.7395, allocations: 2.746 MB / 0.838 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009368/0.7404, allocations: 1.169 MB / 0.8392 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001253/0.7417, allocations: 310.9 kB / 0.8395 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.742, allocations: 103.4 kB / 0.8396 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.742, allocations: 0 / 0.8396 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of Templates: time 0.0563/0.7983, allocations: 30.42 MB / 0.8693 GB, free: 9.668 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)