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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.738/1.738, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001154/0.001154, allocations: 177.8 kB / 371.8 MB, free: 10.28 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.762/1.762, allocations: 205.4 MB / 0.6305 GB, free: 10 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.00112/0.00112, allocations: 88.42 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003947, allocations: 11.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2315, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.04222/0.2738, allocations: 50.6 MB / 1.029 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0159/0.2897, allocations: 11.24 MB / 1.04 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.2923, allocations: 55.56 kB / 1.04 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00333/0.2957, allocations: 0.9213 MB / 1.041 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008076/0.3038, allocations: 2.219 MB / 1.043 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005932/0.3097, allocations: 1.718 MB / 1.045 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004576/0.3143, allocations: 2.537 MB / 1.047 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.3158, allocations: 1.001 MB / 1.048 GB, free: 5.191 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.3182, allocations: 1.175 MB / 1.049 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.3193, allocations: 0.7854 MB / 1.05 GB, free: 3.223 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.3195, allocations: 60 kB / 1.05 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.3217, allocations: 0.901 MB / 1.051 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.3221, allocations: 290.8 kB / 1.051 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004291/0.3225, allocations: 360.8 kB / 1.052 GB, free: 1.617 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.3248, allocations: 1.847 MB / 1.053 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3248, allocations: 4 kB / 1.053 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3248, allocations: 0 / 1.053 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.359e-05/0.3248, allocations: 0 / 1.053 GB, free: 15.76 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.003286/0.3281, allocations: 1.863 MB / 1.055 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3282, allocations: 12.03 kB / 1.055 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/0.3284, allocations: 155.6 kB / 1.055 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003311/0.3317, allocations: 0.634 MB / 1.056 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.3338, allocations: 1.225 MB / 1.057 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.3339, allocations: 145.4 kB / 1.057 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.3341, allocations: 96 kB / 1.057 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/0.3369, allocations: 1.326 MB / 1.059 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.3369, allocations: 4 kB / 1.059 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.523e-05/0.337, allocations: 43.94 kB / 1.059 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.3371, allocations: 27.98 kB / 1.059 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003468/0.3405, allocations: 1.366 MB / 1.06 GB, free: 8.695 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.007031/0.3476, allocations: 5.374 MB / 1.065 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00552/0.3531, allocations: 1.513 MB / 1.067 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5511/0.9043, allocations: 1.228 MB / 1.068 GB, free: 89.78 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002503/0.9069, allocations: 0.6832 MB / 1.069 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.496e-06/0.9069, allocations: 0 / 1.069 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.005995/0.9129, allocations: 1.771 MB / 1.07 GB, free: 89.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.913, allocations: 62.31 kB / 1.07 GB, free: 89.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.9152, allocations: 1.253 MB / 1.072 GB, free: 89.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.9153, allocations: 44.98 kB / 1.072 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007361/0.9161, allocations: 0.6532 MB / 1.072 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.9164, allocations: 240.5 kB / 1.073 GB, free: 88.53 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.9164, allocations: 15.06 kB / 1.073 GB, free: 88.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.9166, allocations: 336.5 kB / 1.073 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.9185, allocations: 0.5457 MB / 1.073 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.9206, allocations: 0.7697 MB / 1.074 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.9227, allocations: 0.5962 MB / 1.075 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.9228, allocations: 1.156 kB / 1.075 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004967/0.9277, allocations: 1.447 MB / 1.076 GB, free: 87.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003415/0.9281, allocations: 1.199 MB / 1.077 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.9281, allocations: 5.234 kB / 1.077 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.9282, allocations: 6.219 kB / 1.077 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.9299, allocations: 278.2 kB / 1.078 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.723e-05/0.9299, allocations: 11.8 kB / 1.078 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.932, allocations: 241.5 kB / 1.078 GB, free: 85.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.9322, allocations: 39.41 kB / 1.078 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.9322, allocations: 3.781 kB / 1.078 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004112/0.9363, allocations: 1.298 MB / 1.079 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.9364, allocations: 10.61 kB / 1.079 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.9364, allocations: 6.875 kB / 1.079 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.9379, allocations: 277 kB / 1.08 GB, free: 85.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.9379, allocations: 9.344 kB / 1.08 GB, free: 85.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.9399, allocations: 233.4 kB / 1.08 GB, free: 85.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.9401, allocations: 42.8 kB / 1.08 GB, free: 85.3 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.0009972/0.9411, allocations: 409.7 kB / 1.08 GB, free: 84.99 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/0.9415, allocations: 147.2 kB / 1.08 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00474/0.9463, allocations: 1.515 MB / 1.082 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.9463, allocations: 12.89 kB / 1.082 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.9463, allocations: 1.156 kB / 1.082 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003818/0.9502, allocations: 1.283 MB / 1.083 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008037/0.9582, allocations: 3.243 MB / 1.086 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.9583, allocations: 8.672 kB / 1.086 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.9595, allocations: 231.6 kB / 1.086 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.621e-05/0.9595, allocations: 7.469 kB / 1.086 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.892e-05/0.9596, allocations: 28.89 kB / 1.087 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.306e-05/0.9596, allocations: 8.938 kB / 1.087 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.9596, allocations: 12.7 kB / 1.087 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006202/0.9659, allocations: 2.578 MB / 1.089 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.967, allocations: 373.1 kB / 1.089 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.9672, allocations: 22.84 kB / 1.089 GB, free: 80.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.9687, allocations: 179.1 kB / 1.09 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.9689, allocations: 68.62 kB / 1.09 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.94e-05/0.969, allocations: 38.95 kB / 1.09 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001574/0.9706, allocations: 0.9034 MB / 1.091 GB, free: 80.31 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9706, allocations: 0 / 1.091 GB, free: 80.31 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002636/0.9733, allocations: 0.7925 MB / 1.091 GB, free: 80.17 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.007613/0.9809, allocations: 4.685 MB / 1.096 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005731/0.9866, allocations: 2.072 MB / 1.098 GB, free: 76.47 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.9867, allocations: 1.406 kB / 1.098 GB, free: 76.47 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.9887, allocations: 0.7131 MB / 1.099 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003994/0.9927, allocations: 0.7409 MB / 1.099 GB, free: 76.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007023/0.9997, allocations: 5.752 MB / 1.105 GB, free: 71.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009206/1.001, allocations: 1.258 MB / 1.106 GB, free: 71.17 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002066/1.003, allocations: 354.3 kB / 1.107 GB, free: 71.07 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007806/1.004, allocations: 0.5719 MB / 1.107 GB, free: 70.61 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/1.004, allocations: 0 / 1.107 GB, free: 70.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07481/1.078, allocations: 41.71 MB / 1.148 GB, free: 36.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/1.079, allocations: 227.1 kB / 1.148 GB, free: 36.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.366/4.444, allocations: 0 / 1.148 GB, free: 36.36 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)