Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 176.9 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009013/0.0009012, allocations: 84.2 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.909e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2126, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.526/1.739, allocations: 409.9 MB / 1.286 GB, free: 261.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/1.739, allocations: 92.14 kB / 1.286 GB, free: 261.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.631/3.371, allocations: 0.602 GB / 1.888 GB, free: 37.46 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.453e-06/3.371, allocations: 0 / 1.888 GB, free: 37.46 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001293/3.371, allocations: 39.52 kB / 1.888 GB, free: 37.43 MB / 0.8698 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.003049/3.374, allocations: 1.757 MB / 1.889 GB, free: 35.62 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/3.374, allocations: 8.031 kB / 1.889 GB, free: 35.62 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/3.377, allocations: 0.6301 MB / 1.89 GB, free: 34.98 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002923/3.38, allocations: 1.629 MB / 1.892 GB, free: 33.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/3.38, allocations: 113.3 kB / 1.892 GB, free: 33.22 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/3.38, allocations: 60 kB / 1.892 GB, free: 33.16 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001399/3.382, allocations: 0.9021 MB / 1.893 GB, free: 32.26 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/3.383, allocations: 0.9753 MB / 1.894 GB, free: 31.25 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/3.383, allocations: 4 kB / 1.894 GB, free: 31.24 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-05/3.383, allocations: 0 / 1.894 GB, free: 31.24 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/3.383, allocations: 27.95 kB / 1.894 GB, free: 31.21 MB / 0.8698 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.00561/3.389, allocations: 5.194 MB / 1.899 GB, free: 25.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004028/3.393, allocations: 1.076 MB / 1.9 GB, free: 24.66 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005318/3.393, allocations: 428.6 kB / 1.9 GB, free: 24.24 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006651/3.394, allocations: 1.239 MB / 1.901 GB, free: 22.73 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006328/3.395, allocations: 0.5131 MB / 1.902 GB, free: 22.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 2.755e-06/3.395, allocations: 0 / 1.902 GB, free: 22.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.0018/3.397, allocations: 0.8683 MB / 1.903 GB, free: 21.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/3.397, allocations: 119.3 kB / 1.903 GB, free: 21.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/3.398, allocations: 0.9981 MB / 1.904 GB, free: 20.17 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.063e-05/3.398, allocations: 29.7 kB / 1.904 GB, free: 20.13 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/3.398, allocations: 0.6655 MB / 1.904 GB, free: 19.46 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/3.399, allocations: 216.8 kB / 1.905 GB, free: 19.25 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/3.399, allocations: 4 kB / 1.905 GB, free: 19.24 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.576e-05/3.399, allocations: 334 kB / 1.905 GB, free: 18.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/3.399, allocations: 337.5 kB / 1.905 GB, free: 18.58 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/3.4, allocations: 0.5836 MB / 1.906 GB, free: 17.89 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007717/3.4, allocations: 406.5 kB / 1.906 GB, free: 17.49 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/3.4, allocations: 3.938 kB / 1.906 GB, free: 17.49 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001579/3.402, allocations: 0.9827 MB / 1.907 GB, free: 16.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002224/3.402, allocations: 1.193 MB / 1.908 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/3.402, allocations: 4 kB / 1.908 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/3.402, allocations: 12 kB / 1.908 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/3.403, allocations: 275.6 kB / 1.909 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/3.404, allocations: 4 kB / 1.909 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/3.405, allocations: 211.1 kB / 1.909 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/3.405, allocations: 47.97 kB / 1.909 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/3.405, allocations: 4 kB / 1.909 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/3.407, allocations: 0.8226 MB / 1.91 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/3.407, allocations: 8.062 kB / 1.91 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/3.407, allocations: 4 kB / 1.91 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/3.408, allocations: 275.7 kB / 1.91 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/3.408, allocations: 8 kB / 1.91 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/3.409, allocations: 199.2 kB / 1.91 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.643e-05/3.409, allocations: 47.97 kB / 1.91 GB, free: 13.33 MB / 0.8698 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.0002108/3.409, allocations: 120.8 kB / 1.91 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00138/3.411, allocations: 0.8643 MB / 1.911 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/3.411, allocations: 142.3 kB / 1.911 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/3.413, allocations: 1.056 MB / 1.912 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/3.413, allocations: 8 kB / 1.912 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/3.413, allocations: 8 kB / 1.912 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/3.414, allocations: 0.8895 MB / 1.913 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00403/3.418, allocations: 2.9 MB / 1.916 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/3.418, allocations: 8.094 kB / 1.916 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/3.419, allocations: 235.7 kB / 1.916 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/3.419, allocations: 12 kB / 1.916 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/3.419, allocations: 23.97 kB / 1.916 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/3.419, allocations: 11.94 kB / 1.916 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/3.419, allocations: 7.953 kB / 1.916 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/3.422, allocations: 1.986 MB / 1.918 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006205/3.422, allocations: 456.1 kB / 1.919 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/3.422, allocations: 11.98 kB / 1.919 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/3.424, allocations: 167.7 kB / 1.919 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/3.424, allocations: 68.36 kB / 1.919 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.209e-05/3.424, allocations: 51.97 kB / 1.919 GB, free: 3.895 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008957/3.425, allocations: 0.7609 MB / 1.92 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/3.425, allocations: 0 / 1.92 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002173/3.427, allocations: 0.8183 MB / 1.921 GB, free: 2.316 MB / 0.8698 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.6001/4.027, allocations: 4.362 MB / 1.925 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002735/4.03, allocations: 1.406 MB / 1.926 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/4.03, allocations: 3.562 kB / 1.926 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009271/4.031, allocations: 0.4895 MB / 1.927 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003943/4.035, allocations: 0.6263 MB / 1.927 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/4.04, allocations: 2.271 MB / 1.93 GB, free: 144 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/4.041, allocations: 1.265 MB / 1.931 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002604/4.044, allocations: 452.2 kB / 1.931 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000768/4.045, allocations: 0.5522 MB / 1.932 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of SimCode: time 9.42e-07/4.045, allocations: 0 / 1.932 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09117/4.136, allocations: 41.42 MB / 1.972 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/4.136, allocations: 173.1 kB / 1.972 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.434/7.57, allocations: 7.938 kB / 1.972 GB, free: 142.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)