Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_latest_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.001474/0.001474, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002109/0.002109, allocations: 194.7 kB / 16.14 MB, free: 6.648 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.271/1.271, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.373/2.373, allocations: 461.9 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 66 kB / 0.8985 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2899, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05717/0.3471, allocations: 60.24 MB / 1.111 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01923/0.3664, allocations: 13.26 MB / 1.124 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.3684, allocations: 67.56 kB / 1.124 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.3705, allocations: 0.816 MB / 1.125 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004622/0.3751, allocations: 2.145 MB / 1.127 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.3783, allocations: 1.425 MB / 1.128 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005129/0.3835, allocations: 5.568 MB / 1.134 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.3848, allocations: 1.126 MB / 1.135 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.3869, allocations: 1.361 MB / 1.136 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.3882, allocations: 1.209 MB / 1.137 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.3883, allocations: 76 kB / 1.137 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.391, allocations: 1.388 MB / 1.139 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.3913, allocations: 350.5 kB / 1.139 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007751/0.3921, allocations: 0.8469 MB / 1.14 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.3948, allocations: 2.714 MB / 1.143 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3948, allocations: 4 kB / 1.143 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3949, allocations: 0 / 1.143 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.3949, allocations: 0 / 1.143 GB, free: 11.38 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.003473/0.3984, allocations: 2.185 MB / 1.145 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3984, allocations: 11.97 kB / 1.145 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.3986, allocations: 147.9 kB / 1.145 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003546/0.4021, allocations: 0.5525 MB / 1.145 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.4041, allocations: 1.406 MB / 1.147 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.4043, allocations: 153.4 kB / 1.147 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.4044, allocations: 96 kB / 1.147 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002818/0.4073, allocations: 1.323 MB / 1.148 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.4073, allocations: 3.938 kB / 1.148 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.4074, allocations: 48 kB / 1.148 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.4075, allocations: 27.94 kB / 1.148 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003518/0.411, allocations: 1.327 MB / 1.15 GB, free: 3.922 MB / 0.9044 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.006444/0.4174, allocations: 5.446 MB / 1.155 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005264/0.4227, allocations: 1.343 MB / 1.156 GB, free: 12.75 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/0.4243, allocations: 0.6003 MB / 1.157 GB, free: 12.15 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008775/0.4252, allocations: 1.24 MB / 1.158 GB, free: 10.63 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001751/0.4269, allocations: 0.651 MB / 1.159 GB, free: 9.973 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 2.815e-06/0.427, allocations: 0 / 1.159 GB, free: 9.973 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.004673/0.4316, allocations: 1.699 MB / 1.16 GB, free: 8.266 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.4317, allocations: 55.97 kB / 1.16 GB, free: 8.199 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.4331, allocations: 1.275 MB / 1.162 GB, free: 6.914 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.325e-05/0.4332, allocations: 41.7 kB / 1.162 GB, free: 6.867 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005092/0.4337, allocations: 0.6619 MB / 1.162 GB, free: 6.195 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.434, allocations: 236.6 kB / 1.163 GB, free: 5.961 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/0.4342, allocations: 182.4 kB / 1.163 GB, free: 5.777 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.4344, allocations: 334 kB / 1.163 GB, free: 5.445 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.4359, allocations: 0.5317 MB / 1.164 GB, free: 4.91 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.4375, allocations: 0.7649 MB / 1.164 GB, free: 4.062 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/0.4404, allocations: 1.14 MB / 1.166 GB, free: 2.875 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.4404, allocations: 4 kB / 1.166 GB, free: 2.871 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003421/0.4439, allocations: 1.411 MB / 1.167 GB, free: 1.449 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.4439, allocations: 37.7 kB / 1.167 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4439, allocations: 0 / 1.167 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.444, allocations: 11.94 kB / 1.167 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.4452, allocations: 251.8 kB / 1.167 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.4452, allocations: 11.94 kB / 1.167 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.4466, allocations: 226.9 kB / 1.167 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.514e-05/0.4467, allocations: 39.97 kB / 1.167 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001796/0.4485, allocations: 0.7868 MB / 1.168 GB, free: 84 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001631/0.4501, allocations: 0.7361 MB / 1.169 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002815/0.453, allocations: 1.14 MB / 1.17 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.414e-06/0.453, allocations: 0 / 1.17 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.003421/0.4564, allocations: 1.391 MB / 1.171 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.4564, allocations: 33.7 kB / 1.171 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4565, allocations: 4 kB / 1.171 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.4565, allocations: 8 kB / 1.171 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.4577, allocations: 263.8 kB / 1.172 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.4577, allocations: 8 kB / 1.172 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.4591, allocations: 219.2 kB / 1.172 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.752e-05/0.4592, allocations: 39.98 kB / 1.172 GB, free: 12.1 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.y,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 (97): * Single equations (assignments): 96 * 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.0002482/0.4594, allocations: 236 kB / 1.172 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.4597, allocations: 142.2 kB / 1.172 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003583/0.4633, allocations: 1.462 MB / 1.174 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.4633, allocations: 12 kB / 1.174 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.4633, allocations: 3.984 kB / 1.174 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002987/0.4663, allocations: 1.218 MB / 1.175 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005846/0.4722, allocations: 3.202 MB / 1.178 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.4722, allocations: 4 kB / 1.178 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.4733, allocations: 224.1 kB / 1.178 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.4733, allocations: 15.94 kB / 1.178 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/0.4733, allocations: 23.98 kB / 1.178 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/0.4734, allocations: 15.97 kB / 1.178 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.4734, allocations: 7.938 kB / 1.178 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004937/0.4783, allocations: 2.212 MB / 1.181 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.4788, allocations: 346.9 kB / 1.181 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.479, allocations: 23.92 kB / 1.181 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.4803, allocations: 163.7 kB / 1.181 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.4805, allocations: 76.34 kB / 1.181 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.077e-05/0.4806, allocations: 35.97 kB / 1.181 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001085/0.4817, allocations: 0.9168 MB / 1.182 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4817, allocations: 0 / 1.182 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001736/0.4834, allocations: 0.7915 MB / 1.183 GB, free: 0.6758 MB / 0.9356 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 (74): * Single equations (assignments): 66 * 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.005889/0.4893, allocations: 3.166 MB / 1.186 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004798/0.4941, allocations: 1.992 MB / 1.188 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4941, allocations: 0 / 1.188 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/0.4959, allocations: 0.6835 MB / 1.189 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.4989, allocations: 0.7493 MB / 1.189 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/0.5218, allocations: 13.46 MB / 1.202 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.5225, allocations: 1.238 MB / 1.204 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001434/0.5239, allocations: 371.5 kB / 1.204 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000763/0.5247, allocations: 0.5929 MB / 1.205 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.5247, allocations: 0 / 1.205 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05876/0.5835, allocations: 42.12 MB / 1.246 GB, free: 140 kB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.4646/1.048, allocations: 247.3 kB / 1.246 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/3.849, allocations: 0.875 kB / 1.246 GB, free: 198.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)