Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_8_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.001114/0.001114, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001311/0.001312, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.059/2.059, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005158/0.000516, allocations: 18.72 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.274, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05285/0.3269, allocations: 50.6 MB / 0.8366 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01763/0.3446, allocations: 11.24 MB / 0.8476 GB, free: 13.92 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00275/0.3474, allocations: 55.56 kB / 0.8477 GB, free: 13.87 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.351, allocations: 0.9175 MB / 0.8486 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009287/0.3604, allocations: 2.22 MB / 0.8507 GB, free: 10.72 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006102/0.3665, allocations: 1.716 MB / 0.8524 GB, free: 9.035 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006692/0.3732, allocations: 2.534 MB / 0.8549 GB, free: 6.5 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.3761, allocations: 1.001 MB / 0.8559 GB, free: 5.477 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004458/0.3806, allocations: 1.172 MB / 0.857 GB, free: 4.301 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/0.383, allocations: 0.7815 MB / 0.8578 GB, free: 3.516 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.3835, allocations: 63.94 kB / 0.8578 GB, free: 3.453 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004378/0.3879, allocations: 0.9011 MB / 0.8587 GB, free: 2.551 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004862/0.3884, allocations: 298.8 kB / 0.859 GB, free: 2.258 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007028/0.3891, allocations: 352.8 kB / 0.8593 GB, free: 1.906 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.392, allocations: 1.859 MB / 0.8611 GB, free: 44 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.392, allocations: 3.938 kB / 0.8611 GB, free: 40 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.735e-06/0.392, allocations: 0 / 0.8611 GB, free: 40 kB / 0.67 GB Notification: Performance of Transformations before backend: time 2.985e-05/0.3921, allocations: 0 / 0.8611 GB, free: 40 kB / 0.67 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.003913/0.396, allocations: 1.855 MB / 0.863 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3961, allocations: 12.03 kB / 0.863 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002036/0.3963, allocations: 143.7 kB / 0.8631 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003436/0.3997, allocations: 0.6379 MB / 0.8637 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/0.4021, allocations: 1.225 MB / 0.8649 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.4023, allocations: 141.4 kB / 0.8651 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.4025, allocations: 111.9 kB / 0.8652 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/0.4053, allocations: 1.323 MB / 0.8665 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.4053, allocations: 4 kB / 0.8665 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.4055, allocations: 36 kB / 0.8665 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/0.4055, allocations: 28 kB / 0.8665 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003553/0.4091, allocations: 1.37 MB / 0.8679 GB, free: 8.988 MB / 0.6856 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.007984/0.4171, allocations: 5.37 MB / 0.8731 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006307/0.4234, allocations: 1.517 MB / 0.8746 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/0.4249, allocations: 1.232 MB / 0.8758 GB, free: 204 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002042/0.4269, allocations: 0.6824 MB / 0.8765 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=69): time 3.516e-06/0.427, allocations: 4 kB / 0.8765 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69): time 0.005171/0.4321, allocations: 1.766 MB / 0.8782 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.4322, allocations: 59.97 kB / 0.8782 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.4341, allocations: 1.255 MB / 0.8795 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.4343, allocations: 45.7 kB / 0.8795 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006641/0.435, allocations: 0.6618 MB / 0.8802 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.4353, allocations: 232.6 kB / 0.8804 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.4354, allocations: 16 kB / 0.8804 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4355, allocations: 337.9 kB / 0.8807 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.437, allocations: 0.5446 MB / 0.8813 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.4387, allocations: 0.7659 MB / 0.882 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.4403, allocations: 0.5941 MB / 0.8826 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.4403, allocations: 0 / 0.8826 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003741/0.4441, allocations: 1.454 MB / 0.884 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004855/0.4446, allocations: 1.196 MB / 0.8852 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.4446, allocations: 4 kB / 0.8852 GB, free: 6.367 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.4446, allocations: 11.89 kB / 0.8852 GB, free: 6.355 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.4459, allocations: 283.6 kB / 0.8855 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.446, allocations: 8 kB / 0.8855 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.4478, allocations: 239 kB / 0.8857 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.4479, allocations: 43.97 kB / 0.8857 GB, free: 5.793 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.448, allocations: 4 kB / 0.8857 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003349/0.4513, allocations: 1.301 MB / 0.887 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4513, allocations: 4 kB / 0.887 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.4514, allocations: 7.984 kB / 0.887 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.4526, allocations: 280 kB / 0.8873 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.4526, allocations: 7.938 kB / 0.8873 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.4545, allocations: 239 kB / 0.8875 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.661e-05/0.4546, allocations: 39.98 kB / 0.8876 GB, free: 3.918 MB / 0.7012 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.0008094/0.4554, allocations: 412.8 kB / 0.888 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/0.4556, allocations: 146.2 kB / 0.8881 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003779/0.4594, allocations: 1.516 MB / 0.8896 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.4595, allocations: 11.98 kB / 0.8896 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4595, allocations: 4 kB / 0.8896 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003192/0.4627, allocations: 1.281 MB / 0.8908 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006859/0.4696, allocations: 3.241 MB / 0.894 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.4696, allocations: 4 kB / 0.894 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.4708, allocations: 232 kB / 0.8942 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.902e-05/0.4708, allocations: 8 kB / 0.8942 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-05/0.4709, allocations: 31.97 kB / 0.8943 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-05/0.471, allocations: 11.94 kB / 0.8943 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.471, allocations: 4 kB / 0.8943 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006176/0.4771, allocations: 2.583 MB / 0.8968 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.4784, allocations: 370.8 kB / 0.8972 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.4787, allocations: 23.98 kB / 0.8972 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.4801, allocations: 171.8 kB / 0.8973 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.4803, allocations: 76.36 kB / 0.8974 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-05/0.4804, allocations: 35.97 kB / 0.8975 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001411/0.4818, allocations: 0.8968 MB / 0.8983 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.515e-06/0.4818, allocations: 4 kB / 0.8983 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002334/0.4842, allocations: 0.7914 MB / 0.8991 GB, free: 7.586 MB / 0.7169 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.00804/0.4922, allocations: 4.696 MB / 0.9037 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005535/0.4978, allocations: 2.074 MB / 0.9057 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.4979, allocations: 4 kB / 0.9057 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/0.4998, allocations: 0.7069 MB / 0.9064 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004121/0.5039, allocations: 0.7392 MB / 0.9071 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008236/0.5122, allocations: 5.749 MB / 0.9127 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009093/0.5131, allocations: 1.253 MB / 0.914 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002006/0.5152, allocations: 358.8 kB / 0.9143 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009466/0.5161, allocations: 0.5695 MB / 0.9149 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of SimCode: time 2.245e-06/0.5161, allocations: 0 / 0.9149 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4915/1.008, allocations: 41.69 MB / 0.9556 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/1.008, allocations: 204.3 kB / 0.9558 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.25/4.258, allocations: 7.906 kB / 0.9558 GB, free: 119.1 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) Environment - environmentSimulation: