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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7497/0.7497, allocations: 132.4 MB / 139.9 MB, free: 15.36 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00163/0.00163, allocations: 169.3 kB / 171.8 MB, free: 2.039 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.575/1.575, allocations: 170.6 MB / 374.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001753/0.001753, allocations: 113.3 kB / 444.8 MB, free: 9.188 MB / 346.7 MB [/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.5282/0.5282, allocations: 73.39 MB / 0.6666 GB, free: 46.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8493/1.378, allocations: 371.5 MB / 1.029 GB, free: 35 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/1.378, allocations: 89.14 kB / 1.03 GB, free: 34.95 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.822/3.2, allocations: 0.5648 GB / 1.594 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.854e-06/3.2, allocations: 4 kB / 1.594 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002052/3.2, allocations: 46.28 kB / 1.594 GB, free: 10.14 MB / 0.6198 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.005991/3.206, allocations: 1.825 MB / 1.596 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/3.206, allocations: 8.031 kB / 1.596 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007046/3.214, allocations: 0.6418 MB / 1.597 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4294/3.643, allocations: 12.58 MB / 1.609 GB, free: 71.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/3.643, allocations: 114.2 kB / 1.609 GB, free: 71.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/3.643, allocations: 65.97 kB / 1.609 GB, free: 71.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001811/3.645, allocations: 0.9452 MB / 1.61 GB, free: 71.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/3.647, allocations: 1.162 MB / 1.611 GB, free: 71.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/3.647, allocations: 11.72 kB / 1.611 GB, free: 71.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/3.647, allocations: 2.812 kB / 1.611 GB, free: 71.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/3.647, allocations: 37.16 kB / 1.611 GB, free: 71.4 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.00714/3.654, allocations: 6.632 MB / 1.618 GB, free: 67.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005134/3.659, allocations: 1.139 MB / 1.619 GB, free: 67.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/3.661, allocations: 423.5 kB / 1.619 GB, free: 67.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/3.661, allocations: 0.5862 MB / 1.62 GB, free: 66.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000982/3.662, allocations: 0.5077 MB / 1.62 GB, free: 66.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=69): time 2.565e-06/3.662, allocations: 2.938 kB / 1.62 GB, free: 66.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71): time 0.005426/3.668, allocations: 2.066 MB / 1.622 GB, free: 65.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/3.668, allocations: 218.6 kB / 1.623 GB, free: 65.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/3.669, allocations: 0.9891 MB / 1.624 GB, free: 65.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/3.669, allocations: 32.77 kB / 1.624 GB, free: 65.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004906/3.67, allocations: 0.7399 MB / 1.624 GB, free: 65.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/3.67, allocations: 234.1 kB / 1.625 GB, free: 65.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/3.67, allocations: 1.312 kB / 1.625 GB, free: 65.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.365e-05/3.67, allocations: 343.5 kB / 1.625 GB, free: 64.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/3.671, allocations: 347.4 kB / 1.625 GB, free: 64.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006727/3.671, allocations: 0.7616 MB / 1.626 GB, free: 64.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/3.672, allocations: 429.7 kB / 1.626 GB, free: 64.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/3.672, allocations: 3.219 kB / 1.626 GB, free: 64.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001974/3.674, allocations: 1.089 MB / 1.628 GB, free: 64.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005508/3.675, allocations: 3.145 MB / 1.631 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/3.675, allocations: 7.938 kB / 1.631 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.793e-05/3.675, allocations: 18.02 kB / 1.631 GB, free: 61.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/3.676, allocations: 332.5 kB / 1.631 GB, free: 61.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/3.676, allocations: 23.16 kB / 1.631 GB, free: 61.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/3.678, allocations: 181.7 kB / 1.631 GB, free: 61.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/3.678, allocations: 53.91 kB / 1.631 GB, free: 61.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/3.678, allocations: 6.594 kB / 1.631 GB, free: 61.04 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001685/3.68, allocations: 0.9113 MB / 1.632 GB, free: 61.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/3.68, allocations: 6.844 kB / 1.632 GB, free: 61.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/3.68, allocations: 13.44 kB / 1.632 GB, free: 61.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/3.681, allocations: 327.6 kB / 1.632 GB, free: 61.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/3.682, allocations: 19.84 kB / 1.632 GB, free: 61.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/3.683, allocations: 181.5 kB / 1.633 GB, free: 61.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/3.684, allocations: 50.59 kB / 1.633 GB, free: 61.01 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * 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.00031/3.684, allocations: 137.4 kB / 1.633 GB, free: 60.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/3.684, allocations: 144.4 kB / 1.633 GB, free: 60.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/3.687, allocations: 1.077 MB / 1.634 GB, free: 60.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/3.687, allocations: 7.562 kB / 1.634 GB, free: 60.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/3.687, allocations: 0 / 1.634 GB, free: 60.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001544/3.688, allocations: 0.935 MB / 1.635 GB, free: 60.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005357/3.694, allocations: 2.713 MB / 1.638 GB, free: 59.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/3.694, allocations: 7.438 kB / 1.638 GB, free: 59.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/3.695, allocations: 258.7 kB / 1.638 GB, free: 59.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/3.695, allocations: 90.48 kB / 1.638 GB, free: 59.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.19e-05/3.695, allocations: 23.5 kB / 1.638 GB, free: 59.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006162/3.696, allocations: 1.165 MB / 1.639 GB, free: 58.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/3.696, allocations: 14.36 kB / 1.639 GB, free: 58.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/3.699, allocations: 2.299 MB / 1.641 GB, free: 57.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007134/3.699, allocations: 445 kB / 1.642 GB, free: 57.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/3.7, allocations: 16.05 kB / 1.642 GB, free: 57.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/3.701, allocations: 177.8 kB / 1.642 GB, free: 57.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/3.701, allocations: 85.33 kB / 1.642 GB, free: 57.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.785e-05/3.701, allocations: 53.61 kB / 1.642 GB, free: 57.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009663/3.702, allocations: 0.7399 MB / 1.643 GB, free: 57.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/3.702, allocations: 0 / 1.643 GB, free: 57.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002315/3.705, allocations: 0.7103 MB / 1.643 GB, free: 57.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001324/3.706, allocations: 0.7432 MB / 1.644 GB, free: 57.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002176/3.708, allocations: 1.526 MB / 1.646 GB, free: 57.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/3.708, allocations: 2.281 kB / 1.646 GB, free: 57.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009796/3.709, allocations: 0.5451 MB / 1.646 GB, free: 57.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/3.713, allocations: 0.6861 MB / 1.647 GB, free: 57.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006346/3.719, allocations: 2.503 MB / 1.649 GB, free: 56.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/3.72, allocations: 1.292 MB / 1.651 GB, free: 55.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002731/3.722, allocations: 477.3 kB / 1.651 GB, free: 55.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/3.723, allocations: 96.91 kB / 1.651 GB, free: 55.6 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/3.723, allocations: 2.938 kB / 1.651 GB, free: 55.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.05193/3.775, allocations: 31.08 MB / 1.681 GB, free: 54.14 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (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)