Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_11_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.007326/0.007326, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.002161/0.002161, allocations: 199 kB / 16.68 MB, free: 5.969 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.212/1.212, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.485/2.485, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 67.89 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2474, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.4969/0.7444, allocations: 60.62 MB / 1.279 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.7609, allocations: 13.2 MB / 1.292 GB, free: 6.988 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.7625, allocations: 67.28 kB / 1.292 GB, free: 6.965 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.7645, allocations: 0.9593 MB / 1.293 GB, free: 6.383 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004856/0.7694, allocations: 2.324 MB / 1.296 GB, free: 4.992 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.7729, allocations: 1.583 MB / 1.297 GB, free: 4.141 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004789/0.7777, allocations: 4.321 MB / 1.301 GB, free: 2.062 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.7793, allocations: 1.362 MB / 1.303 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002726/0.7821, allocations: 1.571 MB / 1.304 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.7834, allocations: 1.209 MB / 1.305 GB, free: 124 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.7836, allocations: 142.6 kB / 1.305 GB, free: 124 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.7865, allocations: 1.469 MB / 1.307 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000396/0.7869, allocations: 422.1 kB / 1.307 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008709/0.7878, allocations: 0.918 MB / 1.308 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003461/0.7913, allocations: 2.792 MB / 1.311 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.7913, allocations: 0 / 1.311 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.957e-06/0.7913, allocations: 0.9062 kB / 1.311 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.7913, allocations: 3.938 kB / 1.311 GB, free: 13.7 MB / 1.029 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.003406/0.7947, allocations: 2.242 MB / 1.313 GB, free: 12.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.7948, allocations: 13.84 kB / 1.313 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.7949, allocations: 151.6 kB / 1.313 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003768/0.7987, allocations: 0.6184 MB / 1.314 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.8008, allocations: 1.472 MB / 1.315 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.801, allocations: 147.7 kB / 1.315 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.8011, allocations: 105.7 kB / 1.316 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/0.804, allocations: 1.37 MB / 1.317 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.8041, allocations: 6.016 kB / 1.317 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.8042, allocations: 44.38 kB / 1.317 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.8042, allocations: 25.81 kB / 1.317 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/0.808, allocations: 1.423 MB / 1.318 GB, free: 9.992 MB / 1.029 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.006964/0.815, allocations: 5.569 MB / 1.324 GB, free: 6.211 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005091/0.8201, allocations: 1.389 MB / 1.325 GB, free: 5.773 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.8217, allocations: 0.6328 MB / 1.326 GB, free: 5.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000963/0.8227, allocations: 1.239 MB / 1.327 GB, free: 4.156 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001778/0.8244, allocations: 0.6813 MB / 1.328 GB, free: 3.953 MB / 1.029 GB Notification: Performance of pre-optimization done (n=70): time 2.645e-06/0.8245, allocations: 0 / 1.328 GB, free: 3.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=70): time 0.004957/0.8294, allocations: 1.764 MB / 1.329 GB, free: 3.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.8295, allocations: 68.16 kB / 1.329 GB, free: 3.359 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.8309, allocations: 1.289 MB / 1.331 GB, free: 2.863 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.823e-05/0.831, allocations: 43.8 kB / 1.331 GB, free: 2.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005515/0.8316, allocations: 0.6583 MB / 1.331 GB, free: 2.297 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.8318, allocations: 258.1 kB / 1.332 GB, free: 2.094 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.8321, allocations: 179 kB / 1.332 GB, free: 2.012 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.8323, allocations: 333.1 kB / 1.332 GB, free: 1.695 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.8339, allocations: 0.557 MB / 1.333 GB, free: 1.535 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.8356, allocations: 0.7766 MB / 1.333 GB, free: 1.145 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002945/0.8385, allocations: 1.186 MB / 1.335 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.8385, allocations: 1.219 kB / 1.335 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003506/0.8421, allocations: 1.466 MB / 1.336 GB, free: 156 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.8421, allocations: 32.05 kB / 1.336 GB, free: 124 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.8421, allocations: 3.688 kB / 1.336 GB, free: 124 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.8421, allocations: 10.22 kB / 1.336 GB, free: 120 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.8433, allocations: 267.8 kB / 1.336 GB, free: 96 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.8433, allocations: 12.67 kB / 1.336 GB, free: 92 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.8446, allocations: 197.9 kB / 1.337 GB, free: 24 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-05/0.8447, allocations: 44.25 kB / 1.337 GB, free: 16 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001803/0.8465, allocations: 0.8014 MB / 1.337 GB, free: 15.7 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001674/0.8482, allocations: 0.7783 MB / 1.338 GB, free: 15.29 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00298/0.8512, allocations: 1.175 MB / 1.339 GB, free: 14.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.8512, allocations: 1.469 kB / 1.339 GB, free: 14.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.003605/0.8548, allocations: 1.451 MB / 1.341 GB, free: 14.04 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.8549, allocations: 32.55 kB / 1.341 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.8549, allocations: 4.469 kB / 1.341 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.323e-06/0.8549, allocations: 10.75 kB / 1.341 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.8561, allocations: 264.7 kB / 1.341 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.8561, allocations: 9.906 kB / 1.341 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.8574, allocations: 187.2 kB / 1.341 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.438e-05/0.8575, allocations: 38.75 kB / 1.341 GB, free: 13.81 MB / 1.045 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.0002503/0.8578, allocations: 231.9 kB / 1.341 GB, free: 13.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.858, allocations: 153.3 kB / 1.342 GB, free: 13.51 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/0.8618, allocations: 1.51 MB / 1.343 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.8618, allocations: 16.59 kB / 1.343 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8619, allocations: 0 / 1.343 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003246/0.8651, allocations: 1.272 MB / 1.344 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006136/0.8713, allocations: 3.268 MB / 1.348 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.8713, allocations: 8.109 kB / 1.348 GB, free: 9.797 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.8724, allocations: 229.8 kB / 1.348 GB, free: 9.727 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.8725, allocations: 7.75 kB / 1.348 GB, free: 9.727 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/0.8725, allocations: 31.42 kB / 1.348 GB, free: 9.707 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.8725, allocations: 15.56 kB / 1.348 GB, free: 9.699 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.8726, allocations: 9.625 kB / 1.348 GB, free: 9.695 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005378/0.8779, allocations: 2.293 MB / 1.35 GB, free: 8.418 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/0.8785, allocations: 359.1 kB / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.8787, allocations: 29.02 kB / 1.35 GB, free: 8.094 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.8799, allocations: 128.2 kB / 1.351 GB, free: 8.043 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.8801, allocations: 77.64 kB / 1.351 GB, free: 7.996 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-05/0.8802, allocations: 41.88 kB / 1.351 GB, free: 7.98 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001124/0.8813, allocations: 0.9207 MB / 1.352 GB, free: 7.48 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8813, allocations: 1.156 kB / 1.352 GB, free: 7.48 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00184/0.8831, allocations: 0.8133 MB / 1.352 GB, free: 7.301 MB / 1.045 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.006726/0.8899, allocations: 3.262 MB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005274/0.8952, allocations: 2.084 MB / 1.358 GB, free: 4.312 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8952, allocations: 0 / 1.358 GB, free: 4.312 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/0.897, allocations: 0.7046 MB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/0.9, allocations: 0.7647 MB / 1.359 GB, free: 3.594 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/0.9215, allocations: 12.24 MB / 1.371 GB, free: 9.727 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008949/0.9224, allocations: 1.238 MB / 1.372 GB, free: 8.457 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00134/0.9237, allocations: 367.6 kB / 1.372 GB, free: 8.094 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008648/0.9246, allocations: 0.5968 MB / 1.373 GB, free: 7.496 MB / 1.061 GB Notification: Performance of SimCode: time 2.5e-07/0.9246, allocations: 0 / 1.373 GB, free: 7.496 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.448/2.372, allocations: 44.25 MB / 1.416 GB, free: 11.75 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/16.87, allocations: 10.03 kB / 1.416 GB, free: 11.75 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_11_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)