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.409/1.409, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 180 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001098/0.001098, allocations: 82.38 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003949, allocations: 9.344 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2729, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.088/1.361, allocations: 409.6 MB / 1.3 GB, free: 6 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/1.361, allocations: 92.14 kB / 1.3 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.629/3.99, allocations: 0.6074 GB / 1.908 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.166e-06/3.99, allocations: 2.125 kB / 1.908 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003616/3.99, allocations: 42.31 kB / 1.908 GB, free: 178.2 MB / 0.8855 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.008313/3.999, allocations: 2.053 MB / 1.91 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/3.999, allocations: 11.34 kB / 1.91 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006588/3.999, allocations: 151.5 kB / 1.91 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004229/4.004, allocations: 0.6341 MB / 1.911 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005933/4.01, allocations: 1.655 MB / 1.912 GB, free: 175.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002908/4.01, allocations: 145 kB / 1.912 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005614/4.01, allocations: 101.3 kB / 1.912 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004465/4.015, allocations: 1.32 MB / 1.914 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.106e-05/4.015, allocations: 3.906 kB / 1.914 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002402/4.015, allocations: 39.59 kB / 1.914 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/4.015, allocations: 26.86 kB / 1.914 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004027/4.019, allocations: 1.377 MB / 1.915 GB, free: 173.6 MB / 0.8855 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.01104/4.03, allocations: 5.365 MB / 1.92 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005743/4.036, allocations: 1.359 MB / 1.922 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009929/4.037, allocations: 1.243 MB / 1.923 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001916/4.039, allocations: 0.7015 MB / 1.924 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=67): time 4.208e-06/4.039, allocations: 0 / 1.924 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67): time 0.005663/4.045, allocations: 1.827 MB / 1.925 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/4.045, allocations: 59.97 kB / 1.925 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/4.048, allocations: 1.146 MB / 1.926 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000262/4.048, allocations: 45.7 kB / 1.927 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009787/4.049, allocations: 0.6707 MB / 1.927 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/4.05, allocations: 225.8 kB / 1.927 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/4.05, allocations: 16 kB / 1.927 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001498/4.05, allocations: 330 kB / 1.928 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/4.052, allocations: 0.5543 MB / 1.928 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/4.054, allocations: 0.8146 MB / 1.929 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/4.056, allocations: 0.6048 MB / 1.93 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/4.056, allocations: 4 kB / 1.93 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004716/4.06, allocations: 1.445 MB / 1.931 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005843/4.061, allocations: 1.197 MB / 1.932 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/4.061, allocations: 4 kB / 1.932 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.936e-05/4.061, allocations: 7.984 kB / 1.932 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/4.062, allocations: 272.6 kB / 1.933 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.349e-05/4.062, allocations: 15.92 kB / 1.933 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/4.065, allocations: 234.3 kB / 1.933 GB, free: 154.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/4.065, allocations: 47.97 kB / 1.933 GB, free: 154.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/4.066, allocations: 4 kB / 1.933 GB, free: 154.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003454/4.069, allocations: 1.29 MB / 1.934 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/4.069, allocations: 4 kB / 1.934 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/4.069, allocations: 4 kB / 1.934 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/4.07, allocations: 279.9 kB / 1.934 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/4.07, allocations: 7.953 kB / 1.934 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/4.073, allocations: 231.1 kB / 1.935 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/4.073, allocations: 51.91 kB / 1.935 GB, free: 152.9 MB / 0.8855 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 (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.001256/4.074, allocations: 420.5 kB / 1.935 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006681/4.075, allocations: 142.2 kB / 1.935 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/4.079, allocations: 1.507 MB / 1.937 GB, free: 150.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/4.079, allocations: 8 kB / 1.937 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/4.079, allocations: 3.953 kB / 1.937 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003083/4.082, allocations: 1.338 MB / 1.938 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008017/4.09, allocations: 3.367 MB / 1.941 GB, free: 146 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/4.091, allocations: 4 kB / 1.941 GB, free: 146 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/4.092, allocations: 239.9 kB / 1.941 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.892e-05/4.092, allocations: 8 kB / 1.941 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.474e-05/4.092, allocations: 39.92 kB / 1.942 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/4.092, allocations: 7.938 kB / 1.942 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/4.092, allocations: 8 kB / 1.942 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005548/4.097, allocations: 2.681 MB / 1.944 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/4.099, allocations: 483.6 kB / 1.945 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005762/4.099, allocations: 19.95 kB / 1.945 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/4.101, allocations: 187.7 kB / 1.945 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/4.102, allocations: 68.38 kB / 1.945 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/4.102, allocations: 47.91 kB / 1.945 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002003/4.104, allocations: 0.9241 MB / 1.946 GB, free: 141 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.002e-06/4.104, allocations: 7.5 kB / 1.946 GB, free: 141 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00417/4.108, allocations: 0.8383 MB / 1.947 GB, free: 140.1 MB / 0.8855 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.007825/4.116, allocations: 5.018 MB / 1.952 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004952/4.121, allocations: 2.046 MB / 1.954 GB, free: 133 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/4.121, allocations: 4.125 kB / 1.954 GB, free: 133 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001664/4.122, allocations: 0.7146 MB / 1.954 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004479/4.127, allocations: 0.7598 MB / 1.955 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/4.149, allocations: 11.43 MB / 1.966 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/4.15, allocations: 1.257 MB / 1.967 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002288/4.152, allocations: 377.7 kB / 1.968 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009601/4.153, allocations: 0.5774 MB / 1.968 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.162e-06/4.153, allocations: 0 / 1.968 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07934/4.233, allocations: 47.6 MB / 2.015 GB, free: 71 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/4.233, allocations: 225.2 kB / 2.015 GB, free: 70.75 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.796/8.029, allocations: 0 / 2.015 GB, free: 70.75 MB / 0.8855 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)