Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.835/1.835, allocations: 288.4 MB / 303.4 MB, free: 8.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001037, allocations: 172.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000959/0.000959, allocations: 94.3 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004054, allocations: 15.53 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2616, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.04886/0.3105, allocations: 55.76 MB / 1.034 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0209/0.3314, allocations: 12.23 MB / 1.046 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004423/0.3359, allocations: 63.56 kB / 1.046 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003178/0.3391, allocations: 0.6987 MB / 1.047 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007521/0.3467, allocations: 1.824 MB / 1.049 GB, free: 4.934 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.3508, allocations: 1.158 MB / 1.05 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007655/0.3584, allocations: 4.748 MB / 1.054 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/0.3607, allocations: 0.9852 MB / 1.055 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003726/0.3645, allocations: 1.299 MB / 1.056 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.3665, allocations: 1.085 MB / 1.058 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.3667, allocations: 60 kB / 1.058 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.3696, allocations: 0.9901 MB / 1.059 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003549/0.3699, allocations: 314.6 kB / 1.059 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005581/0.3705, allocations: 356.8 kB / 1.059 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.373, allocations: 1.94 MB / 1.061 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.373, allocations: 4 kB / 1.061 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.505e-06/0.373, allocations: 0 / 1.061 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.413e-05/0.3731, allocations: 0 / 1.061 GB, free: 7.965 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003457/0.3765, allocations: 1.89 MB / 1.063 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3766, allocations: 8.031 kB / 1.063 GB, free: 6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003448/0.38, allocations: 0.6301 MB / 1.064 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.3824, allocations: 1.319 MB / 1.065 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.3826, allocations: 141.4 kB / 1.065 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.3827, allocations: 96 kB / 1.065 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.3857, allocations: 1.338 MB / 1.066 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.3857, allocations: 3.938 kB / 1.066 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.3858, allocations: 40 kB / 1.066 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/0.3859, allocations: 24 kB / 1.066 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/0.3895, allocations: 1.37 MB / 1.068 GB, free: 0.9414 MB / 0.6823 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.4981/0.8876, allocations: 5.355 MB / 1.073 GB, free: 87.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0059/0.8935, allocations: 1.483 MB / 1.074 GB, free: 87.13 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/0.8954, allocations: 0.6203 MB / 1.075 GB, free: 86.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009219/0.8963, allocations: 1.237 MB / 1.076 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002247/0.8986, allocations: 0.6857 MB / 1.077 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 2.567e-05/0.8986, allocations: 0 / 1.077 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.006295/0.9049, allocations: 1.774 MB / 1.079 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.905, allocations: 59.89 kB / 1.079 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/0.9074, allocations: 1.247 MB / 1.08 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.9075, allocations: 45.05 kB / 1.08 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006143/0.9082, allocations: 0.6455 MB / 1.081 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.9084, allocations: 239 kB / 1.081 GB, free: 83.67 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.9085, allocations: 15.19 kB / 1.081 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.9086, allocations: 342.5 kB / 1.081 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.9104, allocations: 0.5454 MB / 1.082 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/0.9123, allocations: 0.7672 MB / 1.083 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.9141, allocations: 0.5962 MB / 1.083 GB, free: 82.63 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.9141, allocations: 1.562 kB / 1.083 GB, free: 82.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004324/0.9185, allocations: 1.448 MB / 1.085 GB, free: 82.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.9186, allocations: 208.3 kB / 1.085 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.9186, allocations: 6.281 kB / 1.085 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.9187, allocations: 6.281 kB / 1.085 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.92, allocations: 278.4 kB / 1.085 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.92, allocations: 12.58 kB / 1.085 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.922, allocations: 240.5 kB / 1.085 GB, free: 81.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.9221, allocations: 36.47 kB / 1.085 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.9221, allocations: 3.562 kB / 1.085 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00362/0.9258, allocations: 1.303 MB / 1.087 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.9258, allocations: 3.375 kB / 1.087 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.9258, allocations: 7.359 kB / 1.087 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.9271, allocations: 273.8 kB / 1.087 GB, free: 81.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.9271, allocations: 6.172 kB / 1.087 GB, free: 81.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.9289, allocations: 228.7 kB / 1.087 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.391e-05/0.9291, allocations: 42.81 kB / 1.087 GB, free: 81.31 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008504/0.9299, allocations: 413.6 kB / 1.087 GB, free: 81 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/0.9302, allocations: 144.4 kB / 1.088 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/0.9342, allocations: 1.511 MB / 1.089 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.9342, allocations: 12 kB / 1.089 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.9343, allocations: 1.562 kB / 1.089 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003235/0.9375, allocations: 1.285 MB / 1.09 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007119/0.9446, allocations: 3.24 MB / 1.094 GB, free: 78.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.9447, allocations: 4.219 kB / 1.094 GB, free: 78.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.9459, allocations: 236.2 kB / 1.094 GB, free: 78.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.259e-05/0.9459, allocations: 8.875 kB / 1.094 GB, free: 78.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.147e-05/0.946, allocations: 24.28 kB / 1.094 GB, free: 78.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-05/0.946, allocations: 13 kB / 1.094 GB, free: 78.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.946, allocations: 5.125 kB / 1.094 GB, free: 78.42 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005712/0.9517, allocations: 2.308 MB / 1.096 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008851/0.9526, allocations: 368.2 kB / 1.096 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003508/0.953, allocations: 21.62 kB / 1.096 GB, free: 77.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/0.9547, allocations: 182.2 kB / 1.097 GB, free: 77.17 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.9549, allocations: 78.81 kB / 1.097 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.9551, allocations: 38.25 kB / 1.097 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001858/0.9569, allocations: 0.8887 MB / 1.098 GB, free: 76.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9569, allocations: 1.031 kB / 1.098 GB, free: 76.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002898/0.9598, allocations: 0.7797 MB / 1.098 GB, free: 76.66 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * 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): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/0.961, allocations: 492 kB / 1.099 GB, free: 76.49 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005696/0.9667, allocations: 2.069 MB / 1.101 GB, free: 75.85 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.9667, allocations: 5.531 kB / 1.101 GB, free: 75.85 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.9687, allocations: 0.7067 MB / 1.102 GB, free: 75.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004663/0.9734, allocations: 0.7645 MB / 1.102 GB, free: 75.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006083/0.9795, allocations: 3.159 MB / 1.105 GB, free: 73.21 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.9807, allocations: 1.225 MB / 1.107 GB, free: 72.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002414/0.9831, allocations: 370.8 kB / 1.107 GB, free: 72.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005318/0.9836, allocations: 126.3 kB / 1.107 GB, free: 72.05 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/0.9836, allocations: 0 / 1.107 GB, free: 72.05 MB / 0.6823 GB Notification: Performance of Templates: time 0.04552/1.029, allocations: 29.01 MB / 1.135 GB, free: 49.85 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)