Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.944/1.944, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001296/0.001296, allocations: 168.9 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009128/0.0009127, allocations: 92.02 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.172e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7263/0.7264, allocations: 115.3 MB / 0.9644 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.789, allocations: 416.5 MB / 1.371 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/1.789, allocations: 89.89 kB / 1.371 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.428/4.217, allocations: 0.6193 GB / 1.991 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.736e-06/4.217, allocations: 0 / 1.991 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001332/4.217, allocations: 42.44 kB / 1.991 GB, free: 160.6 MB / 0.9323 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.003199/4.22, allocations: 1.76 MB / 1.992 GB, free: 160 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/4.22, allocations: 7.906 kB / 1.992 GB, free: 160 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003356/4.224, allocations: 0.6322 MB / 1.993 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/4.227, allocations: 1.63 MB / 1.995 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/4.227, allocations: 113.5 kB / 1.995 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/4.227, allocations: 60.69 kB / 1.995 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001469/4.228, allocations: 0.9044 MB / 1.996 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/4.23, allocations: 0.9855 MB / 1.997 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/4.23, allocations: 0 / 1.997 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.752e-05/4.23, allocations: 2.625 kB / 1.997 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/4.23, allocations: 26.66 kB / 1.997 GB, free: 159.4 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.006155/4.236, allocations: 5.195 MB / 2.002 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004161/4.24, allocations: 1.08 MB / 2.003 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005739/4.241, allocations: 430.5 kB / 2.003 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007224/4.242, allocations: 1.243 MB / 2.004 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007056/4.242, allocations: 0.5131 MB / 2.005 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 2.425e-06/4.242, allocations: 2.938 kB / 2.005 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.001944/4.244, allocations: 0.8697 MB / 2.006 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/4.244, allocations: 111.2 kB / 2.006 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/4.246, allocations: 0.9941 MB / 2.007 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.577e-05/4.246, allocations: 29.33 kB / 2.007 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006042/4.247, allocations: 0.6708 MB / 2.007 GB, free: 155 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/4.247, allocations: 222.2 kB / 2.008 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/4.247, allocations: 0 / 2.008 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.445e-05/4.247, allocations: 334.8 kB / 2.008 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/4.247, allocations: 338.7 kB / 2.008 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006757/4.248, allocations: 0.5844 MB / 2.009 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009527/4.249, allocations: 404.9 kB / 2.009 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/4.249, allocations: 0 / 2.009 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002063/4.251, allocations: 0.9837 MB / 2.01 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002945/4.251, allocations: 1.194 MB / 2.011 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/4.252, allocations: 2.531 kB / 2.011 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/4.252, allocations: 6.375 kB / 2.011 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/4.253, allocations: 283.2 kB / 2.012 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/4.253, allocations: 11.47 kB / 2.012 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/4.255, allocations: 207.8 kB / 2.012 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/4.255, allocations: 51.83 kB / 2.012 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/4.255, allocations: 2.812 kB / 2.012 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001673/4.256, allocations: 0.8137 MB / 2.013 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/4.256, allocations: 2.75 kB / 2.013 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/4.257, allocations: 9.062 kB / 2.013 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/4.258, allocations: 277.9 kB / 2.013 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/4.258, allocations: 6.688 kB / 2.013 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/4.26, allocations: 196.6 kB / 2.013 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/4.26, allocations: 47.12 kB / 2.013 GB, free: 152.9 MB / 0.9323 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0002907/4.26, allocations: 135.4 kB / 2.013 GB, free: 152.8 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001972/4.262, allocations: 0.8659 MB / 2.014 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003537/4.262, allocations: 141.9 kB / 2.014 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/4.265, allocations: 1.051 MB / 2.015 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/4.265, allocations: 9.891 kB / 2.015 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/4.265, allocations: 1.094 kB / 2.015 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001594/4.266, allocations: 0.8991 MB / 2.016 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006007/4.272, allocations: 2.915 MB / 2.019 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/4.272, allocations: 4 kB / 2.019 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/4.274, allocations: 243 kB / 2.019 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.347e-05/4.274, allocations: 7.969 kB / 2.019 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.718e-05/4.274, allocations: 20.81 kB / 2.019 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.657e-05/4.274, allocations: 10.62 kB / 2.019 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/4.274, allocations: 7.281 kB / 2.019 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/4.277, allocations: 1.984 MB / 2.021 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/4.278, allocations: 464.6 kB / 2.022 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000466/4.279, allocations: 13.47 kB / 2.022 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/4.281, allocations: 164.7 kB / 2.022 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/4.281, allocations: 73.05 kB / 2.022 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/4.281, allocations: 48.34 kB / 2.022 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001796/4.283, allocations: 0.7568 MB / 2.023 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/4.283, allocations: 3.469 kB / 2.023 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003561/4.286, allocations: 0.83 MB / 2.024 GB, free: 150.3 MB / 0.9323 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) * 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.005538/4.292, allocations: 4.362 MB / 2.028 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0029/4.295, allocations: 1.408 MB / 2.029 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/4.295, allocations: 1.094 kB / 2.029 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/4.296, allocations: 498.4 kB / 2.03 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004357/4.3, allocations: 0.6244 MB / 2.03 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007446/4.308, allocations: 2.27 MB / 2.033 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/4.309, allocations: 1.261 MB / 2.034 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003517/4.313, allocations: 461.3 kB / 2.034 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/4.314, allocations: 0.5544 MB / 2.035 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.633e-06/4.314, allocations: 1.406 kB / 2.035 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08943/4.403, allocations: 41.56 MB / 2.075 GB, free: 144.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/4.404, allocations: 165.1 kB / 2.076 GB, free: 144.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.636/8.04, allocations: 7.969 kB / 2.076 GB, free: 144.7 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)