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.692/1.692, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001113/0.001112, allocations: 179.5 kB / 371.6 MB, free: 3.43 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.683/1.683, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009376/0.0009376, allocations: 91.67 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.797e-05, allocations: 0 / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3096, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.888/2.197, allocations: 418.2 MB / 1.388 GB, free: 294.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/2.198, allocations: 87.91 kB / 1.388 GB, free: 294.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.957/4.154, allocations: 0.6229 GB / 2.011 GB, free: 111.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.383e-06/4.154, allocations: 0 / 2.011 GB, free: 111.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001343/4.155, allocations: 47.83 kB / 2.011 GB, free: 111.1 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.003473/4.158, allocations: 1.754 MB / 2.013 GB, free: 109.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/4.158, allocations: 8.031 kB / 2.013 GB, free: 109.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/4.158, allocations: 147.7 kB / 2.013 GB, free: 109.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003334/4.162, allocations: 0.6311 MB / 2.014 GB, free: 108.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/4.165, allocations: 1.628 MB / 2.015 GB, free: 106.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/4.165, allocations: 145.4 kB / 2.015 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/4.165, allocations: 104 kB / 2.016 GB, free: 106.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/4.167, allocations: 1.108 MB / 2.017 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/4.167, allocations: 4 kB / 2.017 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/4.167, allocations: 38.73 kB / 2.017 GB, free: 105.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/4.167, allocations: 27.94 kB / 2.017 GB, free: 105.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/4.169, allocations: 0.9527 MB / 2.018 GB, free: 104.4 MB / 0.948 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.006341/4.175, allocations: 5.387 MB / 2.023 GB, free: 98.78 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004226/4.179, allocations: 1.099 MB / 2.024 GB, free: 97.68 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006387/4.18, allocations: 450.3 kB / 2.024 GB, free: 97.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007063/4.181, allocations: 1.239 MB / 2.026 GB, free: 95.72 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007332/4.181, allocations: 0.5376 MB / 2.026 GB, free: 95.16 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 3.015e-06/4.181, allocations: 0 / 2.026 GB, free: 95.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.00173/4.183, allocations: 0.8721 MB / 2.027 GB, free: 94.28 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/4.183, allocations: 119.4 kB / 2.027 GB, free: 94.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/4.185, allocations: 1.129 MB / 2.028 GB, free: 93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/4.185, allocations: 45.7 kB / 2.028 GB, free: 92.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004688/4.185, allocations: 0.6774 MB / 2.029 GB, free: 92.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/4.185, allocations: 224.6 kB / 2.029 GB, free: 92.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/4.186, allocations: 16 kB / 2.029 GB, free: 92.03 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/4.186, allocations: 329.9 kB / 2.029 GB, free: 91.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/4.186, allocations: 353.4 kB / 2.03 GB, free: 91.36 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/4.187, allocations: 0.6078 MB / 2.03 GB, free: 90.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/4.187, allocations: 409.8 kB / 2.031 GB, free: 90.24 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/4.187, allocations: 0 / 2.031 GB, free: 90.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001535/4.189, allocations: 1.019 MB / 2.032 GB, free: 89.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002494/4.189, allocations: 1.199 MB / 2.033 GB, free: 87.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/4.189, allocations: 7.984 kB / 2.033 GB, free: 87.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/4.189, allocations: 4 kB / 2.033 GB, free: 87.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/4.19, allocations: 275.7 kB / 2.033 GB, free: 87.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/4.19, allocations: 11.98 kB / 2.033 GB, free: 87.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/4.192, allocations: 239 kB / 2.033 GB, free: 87.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/4.192, allocations: 43.97 kB / 2.034 GB, free: 87.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/4.192, allocations: 8 kB / 2.034 GB, free: 87.31 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001309/4.194, allocations: 0.8748 MB / 2.034 GB, free: 86.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/4.194, allocations: 4 kB / 2.034 GB, free: 86.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/4.194, allocations: 4 kB / 2.034 GB, free: 86.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/4.195, allocations: 279.7 kB / 2.035 GB, free: 86.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/4.195, allocations: 4 kB / 2.035 GB, free: 86.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/4.197, allocations: 235.1 kB / 2.035 GB, free: 85.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/4.197, allocations: 51.97 kB / 2.035 GB, free: 85.87 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 () * 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.0002481/4.197, allocations: 148.8 kB / 2.035 GB, free: 85.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/4.197, allocations: 154.2 kB / 2.035 GB, free: 85.56 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/4.199, allocations: 1.084 MB / 2.036 GB, free: 84.46 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/4.199, allocations: 12 kB / 2.036 GB, free: 84.45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/4.199, allocations: 3.984 kB / 2.036 GB, free: 84.45 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001095/4.2, allocations: 0.9051 MB / 2.037 GB, free: 83.52 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004354/4.205, allocations: 3.086 MB / 2.04 GB, free: 80.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/4.205, allocations: 4 kB / 2.04 GB, free: 80.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/4.206, allocations: 244.2 kB / 2.04 GB, free: 80.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/4.206, allocations: 8 kB / 2.04 GB, free: 80.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-05/4.206, allocations: 31.97 kB / 2.04 GB, free: 80.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/4.206, allocations: 7.938 kB / 2.04 GB, free: 80 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/4.206, allocations: 11.95 kB / 2.041 GB, free: 79.99 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/4.208, allocations: 2.053 MB / 2.043 GB, free: 77.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008162/4.209, allocations: 475.8 kB / 2.043 GB, free: 77.18 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/4.209, allocations: 32.05 kB / 2.043 GB, free: 77.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/4.211, allocations: 179.6 kB / 2.043 GB, free: 76.97 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/4.211, allocations: 72.41 kB / 2.043 GB, free: 76.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.136e-05/4.211, allocations: 51.84 kB / 2.043 GB, free: 76.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001172/4.212, allocations: 0.9073 MB / 2.044 GB, free: 75.95 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.01e-07/4.212, allocations: 0 / 2.044 GB, free: 75.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002276/4.214, allocations: 0.8382 MB / 2.045 GB, free: 75.11 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) * 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.003888/4.218, allocations: 4.407 MB / 2.049 GB, free: 70.65 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002192/4.22, allocations: 1.468 MB / 2.051 GB, free: 69.15 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/4.221, allocations: 4 kB / 2.051 GB, free: 69.14 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007568/4.221, allocations: 0.5028 MB / 2.051 GB, free: 68.64 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003991/4.225, allocations: 0.7647 MB / 2.052 GB, free: 67.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/4.23, allocations: 2.353 MB / 2.054 GB, free: 65.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/4.23, allocations: 1.264 MB / 2.055 GB, free: 64.15 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002188/4.233, allocations: 482.2 kB / 2.056 GB, free: 63.68 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006767/4.233, allocations: 0.5578 MB / 2.057 GB, free: 63.12 MB / 0.948 GB Notification: Performance of SimCode: time 1.113e-06/4.233, allocations: 0 / 2.057 GB, free: 63.12 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07338/4.307, allocations: 50.36 MB / 2.106 GB, free: 13.14 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/4.307, allocations: 175.9 kB / 2.106 GB, free: 12.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.163/8.47, allocations: 0 / 2.106 GB, free: 12.93 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)