Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 249.3 MB / 261.8 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009857/0.0009857, allocations: 176.9 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008765/0.0008765, allocations: 82.55 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.922e-05/3.924e-05, allocations: 7.984 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2188, allocations: 106.3 MB / 0.8919 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.509/1.728, allocations: 409.6 MB / 1.292 GB, free: 320.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/1.729, allocations: 89.34 kB / 1.292 GB, free: 320.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.688/3.416, allocations: 0.6056 GB / 1.898 GB, free: 43.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/3.416, allocations: 0 / 1.898 GB, free: 43.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001354/3.417, allocations: 39.98 kB / 1.898 GB, free: 43.34 MB / 0.8698 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.003379/3.42, allocations: 1.761 MB / 1.899 GB, free: 41.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/3.42, allocations: 8.031 kB / 1.899 GB, free: 41.51 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/3.42, allocations: 143.7 kB / 1.899 GB, free: 41.36 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00344/3.424, allocations: 0.6316 MB / 1.9 GB, free: 40.73 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/3.427, allocations: 1.628 MB / 1.902 GB, free: 39.05 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/3.427, allocations: 145.4 kB / 1.902 GB, free: 38.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/3.427, allocations: 104 kB / 1.902 GB, free: 38.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/3.429, allocations: 1.1 MB / 1.903 GB, free: 37.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/3.429, allocations: 7.938 kB / 1.903 GB, free: 37.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/3.429, allocations: 40 kB / 1.903 GB, free: 37.62 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/3.429, allocations: 24 kB / 1.903 GB, free: 37.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/3.431, allocations: 0.9566 MB / 1.904 GB, free: 36.64 MB / 0.8698 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.006698/3.437, allocations: 5.362 MB / 1.909 GB, free: 30.93 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004127/3.442, allocations: 1.102 MB / 1.91 GB, free: 29.83 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006571/3.442, allocations: 446.8 kB / 1.911 GB, free: 29.39 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007668/3.443, allocations: 1.239 MB / 1.912 GB, free: 27.87 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007401/3.444, allocations: 0.5299 MB / 1.912 GB, free: 27.32 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 4.077e-06/3.444, allocations: 0 / 1.912 GB, free: 27.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.001837/3.446, allocations: 0.8798 MB / 1.913 GB, free: 26.43 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/3.446, allocations: 111.4 kB / 1.913 GB, free: 26.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/3.447, allocations: 1.129 MB / 1.914 GB, free: 25.16 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/3.447, allocations: 45.7 kB / 1.915 GB, free: 25.11 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/3.448, allocations: 0.6777 MB / 1.915 GB, free: 24.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/3.448, allocations: 224.8 kB / 1.915 GB, free: 24.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/3.448, allocations: 12 kB / 1.915 GB, free: 24.19 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.763e-05/3.448, allocations: 333.9 kB / 1.916 GB, free: 23.86 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/3.449, allocations: 349.5 kB / 1.916 GB, free: 23.52 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/3.449, allocations: 0.6078 MB / 1.917 GB, free: 22.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/3.45, allocations: 397.8 kB / 1.917 GB, free: 22.41 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/3.45, allocations: 0 / 1.917 GB, free: 22.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001706/3.452, allocations: 1.027 MB / 1.918 GB, free: 21.37 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003062/3.452, allocations: 1.199 MB / 1.919 GB, free: 20.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/3.452, allocations: 7.938 kB / 1.919 GB, free: 20.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/3.452, allocations: 4 kB / 1.919 GB, free: 20.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/3.453, allocations: 283.6 kB / 1.919 GB, free: 19.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/3.453, allocations: 8 kB / 1.919 GB, free: 19.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/3.455, allocations: 235 kB / 1.92 GB, free: 19.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/3.455, allocations: 47.97 kB / 1.92 GB, free: 19.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/3.455, allocations: 4 kB / 1.92 GB, free: 19.48 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001291/3.457, allocations: 0.8787 MB / 1.921 GB, free: 18.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/3.457, allocations: 4 kB / 1.921 GB, free: 18.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/3.457, allocations: 4 kB / 1.921 GB, free: 18.58 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/3.458, allocations: 276 kB / 1.921 GB, free: 18.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/3.458, allocations: 11.89 kB / 1.921 GB, free: 18.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/3.459, allocations: 231.1 kB / 1.921 GB, free: 18.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/3.46, allocations: 47.97 kB / 1.921 GB, free: 18.03 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0002422/3.46, allocations: 157 kB / 1.921 GB, free: 17.87 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/3.46, allocations: 142.2 kB / 1.921 GB, free: 17.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/3.462, allocations: 1.087 MB / 1.923 GB, free: 16.62 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/3.462, allocations: 8 kB / 1.923 GB, free: 16.61 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/3.462, allocations: 3.938 kB / 1.923 GB, free: 16.61 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/3.463, allocations: 0.909 MB / 1.923 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004175/3.467, allocations: 3.091 MB / 1.926 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/3.467, allocations: 4 kB / 1.926 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/3.468, allocations: 243.9 kB / 1.927 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/3.468, allocations: 8 kB / 1.927 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/3.468, allocations: 27.98 kB / 1.927 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.168e-06/3.469, allocations: 11.95 kB / 1.927 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/3.469, allocations: 7.938 kB / 1.927 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/3.471, allocations: 2.049 MB / 1.929 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007673/3.472, allocations: 476.4 kB / 1.929 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/3.472, allocations: 23.95 kB / 1.929 GB, free: 9.285 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/3.473, allocations: 179.7 kB / 1.929 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/3.473, allocations: 80.36 kB / 1.929 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.304e-05/3.473, allocations: 43.97 kB / 1.929 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001147/3.475, allocations: 0.9034 MB / 1.93 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/3.475, allocations: 0 / 1.93 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002239/3.477, allocations: 0.8461 MB / 1.931 GB, free: 7.238 MB / 0.8698 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) * 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.003764/3.481, allocations: 4.394 MB / 1.935 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002143/3.483, allocations: 1.464 MB / 1.937 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/3.483, allocations: 4 kB / 1.937 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007417/3.484, allocations: 0.5032 MB / 1.937 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5189/4.002, allocations: 0.7658 MB / 1.938 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005276/4.008, allocations: 2.346 MB / 1.94 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008585/4.009, allocations: 1.265 MB / 1.942 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002495/4.011, allocations: 483.1 kB / 1.942 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007699/4.012, allocations: 0.55 MB / 1.943 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/4.012, allocations: 2.156 kB / 1.943 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09826/4.11, allocations: 50.25 MB / 1.992 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/4.11, allocations: 192.8 kB / 1.992 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.983/8.093, allocations: 4 kB / 1.992 GB, free: 140.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)