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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001556/0.001556, allocations: 177.1 kB / 377.1 MB, free: 1.516 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.873/1.873, allocations: 205.4 MB / 0.6366 GB, free: 8.52 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.0009982/0.0009984, allocations: 96.16 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005258/0.0005258, allocations: 8 kB / 0.8748 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3079, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.727/2.035, allocations: 418.2 MB / 1.397 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/2.036, allocations: 92.67 kB / 1.397 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.159/4.195, allocations: 0.6248 GB / 2.022 GB, free: 70.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.647e-06/4.195, allocations: 0 / 2.022 GB, free: 70.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000366/4.196, allocations: 39.91 kB / 2.022 GB, free: 70.2 MB / 0.948 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.009576/4.205, allocations: 2.077 MB / 2.024 GB, free: 68.08 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.113e-05/4.205, allocations: 11.97 kB / 2.024 GB, free: 68.07 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006675/4.206, allocations: 147.7 kB / 2.024 GB, free: 67.92 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005356/4.211, allocations: 0.6262 MB / 2.025 GB, free: 67.29 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006387/4.218, allocations: 1.653 MB / 2.026 GB, free: 65.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/4.218, allocations: 141.4 kB / 2.026 GB, free: 65.47 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002942/4.218, allocations: 115.9 kB / 2.026 GB, free: 65.36 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004959/4.223, allocations: 1.323 MB / 2.028 GB, free: 64 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/4.223, allocations: 0 / 2.028 GB, free: 64 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/4.224, allocations: 36 kB / 2.028 GB, free: 63.96 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.934e-05/4.224, allocations: 24 kB / 2.028 GB, free: 63.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005921/4.23, allocations: 1.379 MB / 2.029 GB, free: 62.56 MB / 0.948 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.01157/4.241, allocations: 5.379 MB / 2.034 GB, free: 56.89 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009775/4.251, allocations: 1.366 MB / 2.036 GB, free: 55.52 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/4.252, allocations: 1.245 MB / 2.037 GB, free: 54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003181/4.256, allocations: 0.7017 MB / 2.038 GB, free: 53.29 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 6.161e-06/4.256, allocations: 0 / 2.038 GB, free: 53.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.008232/4.264, allocations: 1.824 MB / 2.039 GB, free: 51.45 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/4.264, allocations: 63.88 kB / 2.039 GB, free: 51.38 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002799/4.267, allocations: 1.142 MB / 2.041 GB, free: 50.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000265/4.267, allocations: 45.7 kB / 2.041 GB, free: 50.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007998/4.268, allocations: 0.6705 MB / 2.041 GB, free: 49.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003585/4.268, allocations: 228.6 kB / 2.041 GB, free: 49.28 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/4.268, allocations: 16 kB / 2.041 GB, free: 49.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001097/4.269, allocations: 333.9 kB / 2.042 GB, free: 48.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002284/4.271, allocations: 0.5562 MB / 2.042 GB, free: 48.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002424/4.273, allocations: 0.8166 MB / 2.043 GB, free: 47.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/4.275, allocations: 0.6007 MB / 2.044 GB, free: 46.84 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/4.275, allocations: 0 / 2.044 GB, free: 46.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005884/4.281, allocations: 1.442 MB / 2.045 GB, free: 45.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003212/4.282, allocations: 1.202 MB / 2.046 GB, free: 44.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/4.282, allocations: 4 kB / 2.046 GB, free: 44.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.432e-05/4.282, allocations: 8 kB / 2.046 GB, free: 44.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/4.284, allocations: 271.7 kB / 2.047 GB, free: 43.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/4.284, allocations: 7.938 kB / 2.047 GB, free: 43.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/4.287, allocations: 245.4 kB / 2.047 GB, free: 43.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/4.288, allocations: 47.97 kB / 2.047 GB, free: 43.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/4.288, allocations: 8 kB / 2.047 GB, free: 43.49 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005109/4.293, allocations: 1.29 MB / 2.048 GB, free: 42.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/4.293, allocations: 4 kB / 2.048 GB, free: 42.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/4.293, allocations: 11.94 kB / 2.048 GB, free: 42.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/4.295, allocations: 268 kB / 2.048 GB, free: 41.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/4.295, allocations: 8 kB / 2.048 GB, free: 41.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003113/4.298, allocations: 231.2 kB / 2.049 GB, free: 41.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/4.298, allocations: 51.92 kB / 2.049 GB, free: 41.63 MB / 0.948 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 (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.001395/4.3, allocations: 412.1 kB / 2.049 GB, free: 41.22 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006366/4.3, allocations: 150.2 kB / 2.049 GB, free: 41.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006384/4.307, allocations: 1.511 MB / 2.051 GB, free: 39.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.039e-05/4.307, allocations: 8 kB / 2.051 GB, free: 39.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/4.307, allocations: 4 kB / 2.051 GB, free: 39.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005148/4.312, allocations: 1.335 MB / 2.052 GB, free: 38.17 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/4.323, allocations: 3.377 MB / 2.055 GB, free: 34.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/4.323, allocations: 4 kB / 2.055 GB, free: 34.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/4.324, allocations: 244 kB / 2.056 GB, free: 34.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/4.324, allocations: 8 kB / 2.056 GB, free: 34.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/4.325, allocations: 27.98 kB / 2.056 GB, free: 34.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-05/4.325, allocations: 11.94 kB / 2.056 GB, free: 34.37 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/4.325, allocations: 11.94 kB / 2.056 GB, free: 34.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008989/4.334, allocations: 2.681 MB / 2.058 GB, free: 31.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/4.335, allocations: 479.8 kB / 2.059 GB, free: 30.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/4.335, allocations: 23.98 kB / 2.059 GB, free: 30.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/4.337, allocations: 183.7 kB / 2.059 GB, free: 30.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/4.338, allocations: 68.41 kB / 2.059 GB, free: 30.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/4.338, allocations: 47.97 kB / 2.059 GB, free: 30.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001464/4.339, allocations: 0.9241 MB / 2.06 GB, free: 29.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/4.339, allocations: 4 kB / 2.06 GB, free: 29.67 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002646/4.342, allocations: 0.846 MB / 2.061 GB, free: 28.82 MB / 0.948 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.007795/4.35, allocations: 5.018 MB / 2.066 GB, free: 23.75 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004719/4.354, allocations: 2.046 MB / 2.068 GB, free: 21.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/4.354, allocations: 4.125 kB / 2.068 GB, free: 21.67 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/4.356, allocations: 0.7146 MB / 2.068 GB, free: 20.96 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003716/4.36, allocations: 0.7599 MB / 2.069 GB, free: 20.22 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/4.376, allocations: 11.44 MB / 2.08 GB, free: 8.348 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/4.377, allocations: 1.261 MB / 2.081 GB, free: 7.059 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00191/4.379, allocations: 374.6 kB / 2.082 GB, free: 6.699 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007256/4.38, allocations: 0.5774 MB / 2.082 GB, free: 6.121 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/4.38, allocations: 0 / 2.082 GB, free: 6.121 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7887/5.168, allocations: 47.73 MB / 2.129 GB, free: 142.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/5.169, allocations: 208.5 kB / 2.129 GB, free: 142.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.026/9.195, allocations: 0 / 2.129 GB, free: 142.6 MB / 0.948 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)