Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009716/0.0009715, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009102/0.0009103, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.3 MB / 0.6643 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 71.88 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7311, allocations: 140.3 MB / 0.949 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05497/0.7861, allocations: 60.1 MB / 1.008 GB, free: 5.816 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02007/0.8062, allocations: 13.23 MB / 1.021 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003731/0.81, allocations: 67.56 kB / 1.021 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003218/0.8133, allocations: 0.8141 MB / 1.022 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007865/0.8212, allocations: 2.13 MB / 1.024 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004818/0.826, allocations: 1.396 MB / 1.025 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008055/0.8341, allocations: 5.527 MB / 1.03 GB, free: 14.61 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.8365, allocations: 1.118 MB / 1.031 GB, free: 13.46 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003845/0.8404, allocations: 1.365 MB / 1.033 GB, free: 12.09 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.8431, allocations: 1.19 MB / 1.034 GB, free: 10.9 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005107/0.8437, allocations: 72 kB / 1.034 GB, free: 10.83 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004372/0.848, allocations: 1.353 MB / 1.035 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006948/0.8487, allocations: 350.4 kB / 1.036 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002012/0.8508, allocations: 0.8392 MB / 1.036 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004256/0.855, allocations: 2.672 MB / 1.039 GB, free: 5.605 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.8551, allocations: 0 / 1.039 GB, free: 5.605 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8551, allocations: 0 / 1.039 GB, free: 5.605 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.025e-05/0.8552, allocations: 0 / 1.039 GB, free: 5.605 MB / 0.795 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.004683/0.8599, allocations: 2.17 MB / 1.041 GB, free: 3.371 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.8599, allocations: 12.03 kB / 1.041 GB, free: 3.359 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002669/0.8602, allocations: 147.9 kB / 1.041 GB, free: 3.207 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003532/0.8637, allocations: 0.5993 MB / 1.042 GB, free: 2.605 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.8659, allocations: 1.396 MB / 1.043 GB, free: 1.156 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.866, allocations: 145.4 kB / 1.043 GB, free: 1 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.8662, allocations: 100 kB / 1.044 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.8688, allocations: 1.303 MB / 1.045 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.8689, allocations: 3.938 kB / 1.045 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.571e-05/0.869, allocations: 36 kB / 1.045 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.869, allocations: 31.94 kB / 1.045 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003189/0.8722, allocations: 1.315 MB / 1.046 GB, free: 14.17 MB / 0.8106 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.00587/0.8781, allocations: 5.339 MB / 1.051 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004871/0.8829, allocations: 1.416 MB / 1.053 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.8844, allocations: 0.5963 MB / 1.053 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007496/0.8851, allocations: 1.235 MB / 1.055 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001577/0.8867, allocations: 0.651 MB / 1.055 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 2.205e-06/0.8867, allocations: 4 kB / 1.055 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.004343/0.8911, allocations: 1.68 MB / 1.057 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.8911, allocations: 63.95 kB / 1.057 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.8925, allocations: 1.267 MB / 1.058 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-05/0.8926, allocations: 41.7 kB / 1.058 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.893, allocations: 0.6502 MB / 1.059 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.8932, allocations: 232.6 kB / 1.059 GB, free: 280 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.8935, allocations: 178.4 kB / 1.059 GB, free: 96 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.8936, allocations: 334 kB / 1.06 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.895, allocations: 0.52 MB / 1.06 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.8965, allocations: 0.7469 MB / 1.061 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/0.8992, allocations: 1.132 MB / 1.062 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8992, allocations: 0 / 1.062 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003248/0.9025, allocations: 1.387 MB / 1.063 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.9025, allocations: 37.69 kB / 1.063 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.9025, allocations: 7.938 kB / 1.063 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.9026, allocations: 4 kB / 1.063 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.9037, allocations: 259.9 kB / 1.064 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.9037, allocations: 8 kB / 1.064 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.9051, allocations: 222.9 kB / 1.064 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-05/0.9052, allocations: 39.98 kB / 1.064 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001685/0.9069, allocations: 0.7829 MB / 1.065 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001506/0.9084, allocations: 0.7352 MB / 1.065 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002646/0.9111, allocations: 1.112 MB / 1.066 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.9111, allocations: 4 kB / 1.066 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003175/0.9143, allocations: 1.384 MB / 1.068 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.9143, allocations: 34.02 kB / 1.068 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.9143, allocations: 11.88 kB / 1.068 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.9143, allocations: 11.94 kB / 1.068 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.9155, allocations: 251.6 kB / 1.068 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.9155, allocations: 8 kB / 1.068 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.9169, allocations: 215.2 kB / 1.068 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-05/0.917, allocations: 35.98 kB / 1.068 GB, free: 6.539 MB / 0.8262 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 (chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002369/0.9172, allocations: 232 kB / 1.068 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.9175, allocations: 154.2 kB / 1.069 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.921, allocations: 1.454 MB / 1.07 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.921, allocations: 8 kB / 1.07 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.921, allocations: 4 kB / 1.07 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002904/0.9239, allocations: 1.218 MB / 1.071 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006049/0.93, allocations: 3.171 MB / 1.074 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.93, allocations: 4 kB / 1.074 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.9311, allocations: 224.2 kB / 1.075 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/0.9312, allocations: 15.88 kB / 1.075 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.9312, allocations: 27.92 kB / 1.075 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.9313, allocations: 8 kB / 1.075 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.9313, allocations: 7.984 kB / 1.075 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005038/0.9363, allocations: 2.204 MB / 1.077 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/0.937, allocations: 346.8 kB / 1.077 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/0.9372, allocations: 23.98 kB / 1.077 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.9387, allocations: 159.8 kB / 1.077 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.9388, allocations: 76.34 kB / 1.077 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/0.9389, allocations: 39.97 kB / 1.077 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001316/0.9403, allocations: 0.9009 MB / 1.078 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9403, allocations: 0 / 1.078 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002161/0.9424, allocations: 0.7837 MB / 1.079 GB, free: 11.19 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00632/0.9488, allocations: 3.151 MB / 1.082 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004873/0.9537, allocations: 1.984 MB / 1.084 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9537, allocations: 8.062 kB / 1.084 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/0.9554, allocations: 0.6716 MB / 1.085 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/0.9586, allocations: 0.741 MB / 1.085 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/0.9801, allocations: 13.2 MB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/0.9808, allocations: 1.23 MB / 1.099 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001443/0.9822, allocations: 367.3 kB / 1.1 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007408/0.983, allocations: 0.589 MB / 1.1 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.983, allocations: 0 / 1.1 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6564/1.639, allocations: 41.88 MB / 1.141 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/1.64, allocations: 239.5 kB / 1.142 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.879/4.518, allocations: 3.938 kB / 1.142 GB, free: 10.93 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)