Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.692/2.692, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001585/0.001585, allocations: 186.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.286/2.286, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001122/0.001122, allocations: 93.14 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006649/0.0006652, allocations: 13.48 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2216, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07531/0.297, allocations: 50.6 MB / 1.028 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02601/0.3231, allocations: 11.23 MB / 1.039 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.3259, allocations: 55.56 kB / 1.039 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004736/0.3307, allocations: 0.9252 MB / 1.04 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.3408, allocations: 2.217 MB / 1.042 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00823/0.3491, allocations: 1.714 MB / 1.043 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006916/0.356, allocations: 2.542 MB / 1.046 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002454/0.3585, allocations: 0.9854 MB / 1.047 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003937/0.3625, allocations: 1.179 MB / 1.048 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.3647, allocations: 0.7894 MB / 1.049 GB, free: 3.922 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003714/0.3652, allocations: 56 kB / 1.049 GB, free: 3.867 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004283/0.3694, allocations: 0.901 MB / 1.05 GB, free: 2.965 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006669/0.3702, allocations: 290.8 kB / 1.05 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008943/0.3711, allocations: 364.8 kB / 1.05 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004494/0.3756, allocations: 1.843 MB / 1.052 GB, free: 480 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3757, allocations: 0 / 1.052 GB, free: 480 kB / 0.6667 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3757, allocations: 3.938 kB / 1.052 GB, free: 476 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.317e-05/0.3757, allocations: 0 / 1.052 GB, free: 476 kB / 0.6667 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.005682/0.3814, allocations: 1.866 MB / 1.054 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.3815, allocations: 8.031 kB / 1.054 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004005/0.3819, allocations: 151.6 kB / 1.054 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006313/0.3882, allocations: 0.634 MB / 1.055 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004034/0.3923, allocations: 1.233 MB / 1.056 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.3926, allocations: 141.4 kB / 1.056 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/0.3929, allocations: 100 kB / 1.056 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005273/0.3982, allocations: 1.323 MB / 1.058 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/0.3983, allocations: 11.97 kB / 1.058 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.3985, allocations: 39.98 kB / 1.058 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-05/0.3986, allocations: 24 kB / 1.058 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006765/0.4054, allocations: 1.366 MB / 1.059 GB, free: 9.402 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.01232/0.4177, allocations: 5.378 MB / 1.064 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.4283, allocations: 1.511 MB / 1.066 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/0.4298, allocations: 1.232 MB / 1.067 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6301/1.06, allocations: 0.6817 MB / 1.068 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 4.238e-06/1.06, allocations: 1.312 kB / 1.068 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.01026/1.07, allocations: 1.767 MB / 1.069 GB, free: 89.83 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/1.07, allocations: 60.02 kB / 1.069 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002911/1.073, allocations: 1.257 MB / 1.071 GB, free: 89.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002744/1.074, allocations: 45.05 kB / 1.071 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007669/1.074, allocations: 0.6554 MB / 1.071 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004216/1.075, allocations: 238.4 kB / 1.071 GB, free: 88.81 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.738e-05/1.075, allocations: 15.09 kB / 1.071 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.075, allocations: 339.5 kB / 1.072 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/1.078, allocations: 0.5442 MB / 1.072 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/1.082, allocations: 0.7663 MB / 1.073 GB, free: 87.99 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/1.085, allocations: 0.5941 MB / 1.074 GB, free: 87.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/1.085, allocations: 4.5 kB / 1.074 GB, free: 87.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.007484/1.092, allocations: 1.451 MB / 1.075 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003118/1.093, allocations: 1.2 MB / 1.076 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/1.093, allocations: 2.312 kB / 1.076 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.612e-05/1.093, allocations: 7.281 kB / 1.076 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/1.095, allocations: 274.5 kB / 1.076 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-05/1.096, allocations: 11.39 kB / 1.077 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/1.099, allocations: 244.9 kB / 1.077 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/1.099, allocations: 40.22 kB / 1.077 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.099, allocations: 3.312 kB / 1.077 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006683/1.106, allocations: 1.298 MB / 1.078 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/1.106, allocations: 3.594 kB / 1.078 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/1.106, allocations: 11.33 kB / 1.078 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/1.108, allocations: 280.8 kB / 1.078 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.613e-05/1.108, allocations: 7.391 kB / 1.078 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/1.111, allocations: 231.8 kB / 1.079 GB, free: 85.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/1.112, allocations: 47.95 kB / 1.079 GB, free: 85.59 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.001216/1.113, allocations: 406.2 kB / 1.079 GB, free: 85.28 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005541/1.114, allocations: 143.8 kB / 1.079 GB, free: 85.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007577/1.121, allocations: 1.513 MB / 1.081 GB, free: 84.72 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.183e-05/1.121, allocations: 8.297 kB / 1.081 GB, free: 84.72 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.121, allocations: 0.7188 kB / 1.081 GB, free: 84.72 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006269/1.128, allocations: 1.29 MB / 1.082 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/1.139, allocations: 3.232 MB / 1.085 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/1.139, allocations: 5.5 kB / 1.085 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/1.141, allocations: 235.6 kB / 1.085 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.789e-05/1.141, allocations: 8.031 kB / 1.085 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/1.142, allocations: 25.77 kB / 1.085 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-05/1.142, allocations: 16.7 kB / 1.085 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/1.142, allocations: 7.969 kB / 1.085 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.152, allocations: 2.574 MB / 1.088 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.153, allocations: 378.3 kB / 1.088 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000389/1.153, allocations: 18.31 kB / 1.088 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00288/1.156, allocations: 188 kB / 1.088 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/1.157, allocations: 73.34 kB / 1.088 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/1.157, allocations: 42.36 kB / 1.088 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002053/1.159, allocations: 0.8964 MB / 1.089 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/1.159, allocations: 0 / 1.089 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003587/1.163, allocations: 0.7878 MB / 1.09 GB, free: 80.46 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.0117/1.174, allocations: 4.692 MB / 1.095 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009742/1.184, allocations: 2.076 MB / 1.097 GB, free: 76.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/1.184, allocations: 1.859 kB / 1.097 GB, free: 76.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003511/1.188, allocations: 0.7078 MB / 1.097 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006621/1.194, allocations: 0.7334 MB / 1.098 GB, free: 76.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/1.205, allocations: 5.753 MB / 1.104 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/1.206, allocations: 1.258 MB / 1.105 GB, free: 71.47 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003088/1.209, allocations: 358.3 kB / 1.105 GB, free: 71.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/1.21, allocations: 0.572 MB / 1.106 GB, free: 70.94 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/1.21, allocations: 0 / 1.106 GB, free: 70.94 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/1.321, allocations: 41.7 MB / 1.147 GB, free: 38 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/1.322, allocations: 216 kB / 1.147 GB, free: 37.76 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.513/5.834, allocations: 0 / 1.147 GB, free: 37.76 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)