Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001463/0.001463, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002045/0.002045, allocations: 194.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.874/1.874, allocations: 292.2 MB / 0.5485 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 71.03 kB / 0.671 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2845, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07546/0.36, allocations: 74.52 MB / 0.8556 GB, free: 3.121 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.3782, allocations: 12.56 MB / 0.8679 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003234/0.3814, allocations: 55.62 kB / 0.8679 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002632/0.3841, allocations: 0.7151 MB / 0.8686 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00685/0.391, allocations: 2.267 MB / 0.8709 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003861/0.3949, allocations: 1.296 MB / 0.8721 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008084/0.403, allocations: 4.372 MB / 0.8764 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002777/0.4058, allocations: 1.429 MB / 0.8778 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004626/0.4105, allocations: 1.625 MB / 0.8794 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.4131, allocations: 1.241 MB / 0.8806 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004681/0.4136, allocations: 164 kB / 0.8807 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003995/0.4176, allocations: 1.415 MB / 0.8821 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004858/0.4181, allocations: 394.6 kB / 0.8825 GB, free: 7.504 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.4194, allocations: 0.9099 MB / 0.8834 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005446/0.4248, allocations: 2.855 MB / 0.8862 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.168e-06/0.4249, allocations: 4 kB / 0.8862 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4249, allocations: 4 kB / 0.8862 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.459e-05/0.4249, allocations: 0 / 0.8862 GB, free: 3.719 MB / 0.7012 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.004678/0.4296, allocations: 2.075 MB / 0.8882 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.4297, allocations: 12.03 kB / 0.8882 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008578/0.4306, allocations: 230.8 kB / 0.8884 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.4331, allocations: 1.477 MB / 0.8899 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.4332, allocations: 77.98 kB / 0.89 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.4334, allocations: 107.9 kB / 0.8901 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.4354, allocations: 1.1 MB / 0.8911 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.4354, allocations: 3.938 kB / 0.8911 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.4355, allocations: 40 kB / 0.8912 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.4355, allocations: 24 kB / 0.8912 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.4373, allocations: 0.8861 MB / 0.8921 GB, free: 13.54 MB / 0.7169 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.006414/0.4437, allocations: 4.926 MB / 0.8969 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.4451, allocations: 0.6112 MB / 0.8975 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/0.4458, allocations: 350.3 kB / 0.8978 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007416/0.4466, allocations: 0.8238 MB / 0.8986 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.4466, allocations: 47.11 kB / 0.8987 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 1.783e-06/0.4466, allocations: 0 / 0.8987 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.006752/0.4534, allocations: 1.67 MB / 0.9003 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.4534, allocations: 59.97 kB / 0.9003 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.4552, allocations: 1.205 MB / 0.9015 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.4554, allocations: 45.64 kB / 0.9016 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005051/0.4559, allocations: 0.6064 MB / 0.9022 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.4561, allocations: 205 kB / 0.9024 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.4564, allocations: 154.6 kB / 0.9025 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4565, allocations: 337.9 kB / 0.9028 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006044/0.4571, allocations: 292.7 kB / 0.9031 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000773/0.4579, allocations: 494.8 kB / 0.9036 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.4592, allocations: 0.7167 MB / 0.9043 GB, free: 340 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.4592, allocations: 4 kB / 0.9043 GB, free: 336 kB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004503/0.4637, allocations: 1.265 MB / 0.9055 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.4638, allocations: 8 kB / 0.9055 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.4638, allocations: 4 kB / 0.9055 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/0.4644, allocations: 137 kB / 0.9057 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/0.465, allocations: 163.7 kB / 0.9058 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008813/0.4659, allocations: 0.7005 MB / 0.9065 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.4675, allocations: 162.9 kB / 0.9067 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.189e-05/0.4676, allocations: 39.98 kB / 0.9067 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001368/0.469, allocations: 0.5527 MB / 0.9072 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008817/0.4699, allocations: 483.9 kB / 0.9077 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001382/0.4713, allocations: 0.709 MB / 0.9084 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.4713, allocations: 0 / 0.9084 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004685/0.476, allocations: 1.261 MB / 0.9096 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.476, allocations: 8 kB / 0.9096 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.476, allocations: 4 kB / 0.9096 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004788/0.4765, allocations: 137 kB / 0.9098 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/0.4771, allocations: 167.8 kB / 0.9099 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007892/0.4779, allocations: 0.6889 MB / 0.9106 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.4793, allocations: 143.5 kB / 0.9107 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-05/0.4794, allocations: 31.98 kB / 0.9108 GB, free: 9.477 MB / 0.7325 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.0002597/0.4796, allocations: 228.1 kB / 0.911 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.4799, allocations: 134.3 kB / 0.9111 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.4842, allocations: 1.263 MB / 0.9123 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.4842, allocations: 4 kB / 0.9123 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4842, allocations: 0 / 0.9123 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003744/0.488, allocations: 1.107 MB / 0.9134 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006299/0.4943, allocations: 2.609 MB / 0.916 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.4944, allocations: 4 kB / 0.916 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.4948, allocations: 107.9 kB / 0.9161 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004581/0.4953, allocations: 137 kB / 0.9162 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.4954, allocations: 23.98 kB / 0.9162 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004908/0.5003, allocations: 2.567 MB / 0.9187 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.5003, allocations: 7.938 kB / 0.9187 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5505/1.051, allocations: 1.686 MB / 0.9204 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.052, allocations: 305.5 kB / 0.9207 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/1.052, allocations: 23.03 kB / 0.9207 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/1.054, allocations: 83.67 kB / 0.9208 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/1.054, allocations: 62.09 kB / 0.9208 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.1e-05/1.054, allocations: 32.44 kB / 0.9209 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001511/1.055, allocations: 0.8672 MB / 0.9217 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/1.055, allocations: 0 / 0.9217 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002925/1.058, allocations: 0.7121 MB / 0.9224 GB, free: 135.1 MB / 0.7325 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.001269/1.06, allocations: 433.5 kB / 0.9228 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00307/1.063, allocations: 1.161 MB / 0.924 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.063, allocations: 1.75 kB / 0.924 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/1.064, allocations: 0.5586 MB / 0.9245 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/1.068, allocations: 0.8163 MB / 0.9253 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/1.072, allocations: 2.756 MB / 0.928 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/1.072, allocations: 1.172 MB / 0.9291 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001389/1.074, allocations: 307.2 kB / 0.9294 GB, free: 132.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/1.074, allocations: 106 kB / 0.9295 GB, free: 132.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.222e-06/1.074, allocations: 0 / 0.9295 GB, free: 132.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.06323/1.137, allocations: 31.76 MB / 0.9606 GB, free: 120.5 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)