Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1768/0.1776, allocations: 82.22 MB / 0.5934 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.04937/0.2271, allocations: 49.9 MB / 0.6421 GB, free: 3.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.2422, allocations: 10.13 MB / 0.652 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.2449, allocations: 55.62 kB / 0.652 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.2481, allocations: 0.8941 MB / 0.6529 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007718/0.2558, allocations: 2.059 MB / 0.6549 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.2604, allocations: 1.337 MB / 0.6562 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005509/0.2659, allocations: 2.565 MB / 0.6587 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.2679, allocations: 1.019 MB / 0.6597 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002741/0.2706, allocations: 1.281 MB / 0.661 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.2719, allocations: 0.8478 MB / 0.6618 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.2721, allocations: 60 kB / 0.6619 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.2743, allocations: 0.7607 MB / 0.6626 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.2746, allocations: 322.7 kB / 0.6629 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004562/0.2751, allocations: 388.7 kB / 0.6633 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.2774, allocations: 1.929 MB / 0.6652 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2774, allocations: 0 / 0.6652 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2775, allocations: 4 kB / 0.6652 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.157e-05/0.2775, allocations: 4 kB / 0.6652 GB, free: 12.29 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.00374/0.2812, allocations: 1.957 MB / 0.6671 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2813, allocations: 8.031 kB / 0.6671 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/0.285, allocations: 0.6535 MB / 0.6677 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003036/0.288, allocations: 1.379 MB / 0.6691 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.2883, allocations: 212.8 kB / 0.6693 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.2884, allocations: 108 kB / 0.6694 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00396/0.2924, allocations: 1.669 MB / 0.671 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.2925, allocations: 0 / 0.671 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.2926, allocations: 55.98 kB / 0.6711 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.194e-05/0.2927, allocations: 31.94 kB / 0.6711 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00452/0.2972, allocations: 1.62 MB / 0.6727 GB, free: 4.328 MB / 0.5137 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.008061/0.3053, allocations: 6.957 MB / 0.6795 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006216/0.3115, allocations: 1.67 MB / 0.6811 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005098/0.312, allocations: 0.5862 MB / 0.6817 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002607/0.3147, allocations: 0.8627 MB / 0.6825 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=71): time 2.515e-06/0.3147, allocations: 0 / 0.6825 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71): time 0.007317/0.322, allocations: 2.293 MB / 0.6848 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.3222, allocations: 222.2 kB / 0.685 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.3241, allocations: 1.313 MB / 0.6863 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001874/0.3243, allocations: 45.7 kB / 0.6863 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007112/0.325, allocations: 0.724 MB / 0.687 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.3253, allocations: 252.4 kB / 0.6872 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.3254, allocations: 20 kB / 0.6873 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3255, allocations: 337.9 kB / 0.6876 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/0.3272, allocations: 0.6109 MB / 0.6882 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.3294, allocations: 0.9938 MB / 0.6892 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.3313, allocations: 0.678 MB / 0.6898 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3313, allocations: 7.938 kB / 0.6898 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.004285/0.3356, allocations: 1.668 MB / 0.6914 GB, free: 140 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.3354/0.671, allocations: 2.624 MB / 0.694 GB, free: 93.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/0.671, allocations: 6.875 kB / 0.694 GB, free: 93.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.88e-05/0.6711, allocations: 11.47 kB / 0.694 GB, free: 93.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004672/0.6758, allocations: 0.7959 MB / 0.6948 GB, free: 93.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005038/0.6808, allocations: 4.471 MB / 0.6992 GB, free: 89.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.6833, allocations: 301.6 kB / 0.6995 GB, free: 89.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.6835, allocations: 44.89 kB / 0.6995 GB, free: 89.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.6835, allocations: 3.688 kB / 0.6995 GB, free: 89.49 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003373/0.6869, allocations: 1.434 MB / 0.7009 GB, free: 89.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6869, allocations: 5.969 kB / 0.7009 GB, free: 89.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.6869, allocations: 12.5 kB / 0.7009 GB, free: 89.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.6884, allocations: 363.2 kB / 0.7013 GB, free: 89.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004687/0.6889, allocations: 1.208 MB / 0.7025 GB, free: 88.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/0.6909, allocations: 265.7 kB / 0.7027 GB, free: 88.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/0.691, allocations: 42.66 kB / 0.7027 GB, free: 88.21 MB / 0.5294 GB Warning: Assuming fixed start value for the following 2 variables: chi.vol2.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = chi.vol2.V * chi.vol2.rho_start unit = "kg" fixed = true protected = true final = true ) "Mass of fluid" type: Real chi.vol1.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = chi.vol1.V * chi.vol1.rho_start unit = "kg" fixed = true protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008505/0.6919, allocations: 448.9 kB / 0.7032 GB, free: 88.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.6921, allocations: 152.3 kB / 0.7033 GB, free: 88.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/0.6962, allocations: 1.625 MB / 0.7049 GB, free: 87.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.6963, allocations: 9.812 kB / 0.7049 GB, free: 87.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6963, allocations: 0.5625 kB / 0.7049 GB, free: 87.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003658/0.6999, allocations: 1.458 MB / 0.7063 GB, free: 87.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006734/0.7067, allocations: 3.081 MB / 0.7093 GB, free: 87.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.7067, allocations: 4.031 kB / 0.7094 GB, free: 87.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003479/0.7102, allocations: 0.66 MB / 0.71 GB, free: 87.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/0.7107, allocations: 131 kB / 0.7101 GB, free: 87.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.149e-05/0.7108, allocations: 26.44 kB / 0.7101 GB, free: 87.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006466/0.7172, allocations: 7.025 MB / 0.717 GB, free: 80.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.7173, allocations: 6.438 kB / 0.717 GB, free: 80.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007245/0.7245, allocations: 2.602 MB / 0.7196 GB, free: 80.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000851/0.7254, allocations: 372.7 kB / 0.7199 GB, free: 80.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.7256, allocations: 16.81 kB / 0.7199 GB, free: 80.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/0.7271, allocations: 197.8 kB / 0.7201 GB, free: 80.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/0.7273, allocations: 79.28 kB / 0.7202 GB, free: 80.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-05/0.7274, allocations: 41.06 kB / 0.7202 GB, free: 80.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001493/0.7289, allocations: 0.8874 MB / 0.7211 GB, free: 79.78 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7289, allocations: 0.5 kB / 0.7211 GB, free: 79.78 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002675/0.7316, allocations: 0.8505 MB / 0.7219 GB, free: 79.64 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol2.dynBal.U,chi.vol2.dynBal.m) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008207/0.7324, allocations: 441.5 kB / 0.7223 GB, free: 79.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008687/0.7411, allocations: 2.825 MB / 0.7251 GB, free: 78.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.7412, allocations: 5.375 kB / 0.7251 GB, free: 78.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006638/0.7478, allocations: 1.74 MB / 0.7268 GB, free: 77.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004737/0.7526, allocations: 0.7526 MB / 0.7275 GB, free: 77.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008871/0.7615, allocations: 3.883 MB / 0.7313 GB, free: 74.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.7622, allocations: 1.281 MB / 0.7326 GB, free: 74 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001935/0.7641, allocations: 364 kB / 0.7329 GB, free: 73.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.7645, allocations: 119.3 kB / 0.7331 GB, free: 73.79 MB / 0.5294 GB Notification: Performance of SimCode: time 1.383e-06/0.7645, allocations: 0 / 0.7331 GB, free: 73.79 MB / 0.5294 GB Notification: Performance of Templates: time 0.04265/0.8071, allocations: 31.5 MB / 0.7638 GB, free: 43.32 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) Environment - environmentSimulation: