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: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.62/1.62, allocations: 289.7 MB / 302.3 MB, free: 2.125 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.001233/0.001233, allocations: 182.2 kB / 371.6 MB, free: 3.414 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.731/1.731, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001027/0.001028, allocations: 90.52 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.434e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2841, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.713/1.998, allocations: 418.2 MB / 1.388 GB, free: 294.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/1.998, allocations: 87 kB / 1.388 GB, free: 294.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.896/3.894, allocations: 0.6229 GB / 2.011 GB, free: 111.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.944e-06/3.894, allocations: 0 / 2.011 GB, free: 111.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001431/3.894, allocations: 42.89 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.003576/3.898, allocations: 1.757 MB / 2.013 GB, free: 109.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/3.898, allocations: 8.031 kB / 2.013 GB, free: 109.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/3.901, allocations: 0.6311 MB / 2.014 GB, free: 108.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/3.905, allocations: 1.63 MB / 2.015 GB, free: 107 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/3.905, allocations: 149.4 kB / 2.015 GB, free: 106.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/3.905, allocations: 100 kB / 2.015 GB, free: 106.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/3.907, allocations: 1.116 MB / 2.016 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/3.907, allocations: 3.938 kB / 2.016 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.695e-05/3.907, allocations: 40 kB / 2.016 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.415e-05/3.907, allocations: 28.84 kB / 2.017 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/3.908, allocations: 0.9488 MB / 2.017 GB, free: 104.6 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.006784/3.915, allocations: 5.384 MB / 2.023 GB, free: 98.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004095/3.919, allocations: 1.103 MB / 2.024 GB, free: 97.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006335/3.92, allocations: 446.3 kB / 2.024 GB, free: 97.38 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009498/3.921, allocations: 1.242 MB / 2.025 GB, free: 95.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007791/3.922, allocations: 0.5377 MB / 2.026 GB, free: 95.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 2.625e-06/3.922, allocations: 0 / 2.026 GB, free: 95.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.002015/3.924, allocations: 0.8759 MB / 2.027 GB, free: 94.42 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/3.924, allocations: 111.3 kB / 2.027 GB, free: 94.28 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/3.926, allocations: 1.129 MB / 2.028 GB, free: 93.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/3.926, allocations: 45.7 kB / 2.028 GB, free: 93.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/3.926, allocations: 0.6727 MB / 2.029 GB, free: 92.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/3.927, allocations: 243.9 kB / 2.029 GB, free: 92.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/3.927, allocations: 8 kB / 2.029 GB, free: 92.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001362/3.927, allocations: 334 kB / 2.029 GB, free: 91.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/3.927, allocations: 349.5 kB / 2.03 GB, free: 91.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/3.928, allocations: 0.6039 MB / 2.03 GB, free: 90.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/3.929, allocations: 401.8 kB / 2.031 GB, free: 90.39 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/3.929, allocations: 0 / 2.031 GB, free: 90.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00162/3.93, allocations: 1.027 MB / 2.032 GB, free: 89.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004213/3.931, allocations: 1.201 MB / 2.033 GB, free: 88.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/3.931, allocations: 4 kB / 2.033 GB, free: 88.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/3.931, allocations: 8 kB / 2.033 GB, free: 88.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/3.932, allocations: 279.6 kB / 2.033 GB, free: 87.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/3.932, allocations: 7.984 kB / 2.033 GB, free: 87.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/3.934, allocations: 235 kB / 2.033 GB, free: 87.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/3.934, allocations: 51.97 kB / 2.033 GB, free: 87.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/3.934, allocations: 4 kB / 2.033 GB, free: 87.46 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001323/3.935, allocations: 0.8748 MB / 2.034 GB, free: 86.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/3.935, allocations: 4 kB / 2.034 GB, free: 86.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/3.935, allocations: 8 kB / 2.034 GB, free: 86.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/3.937, allocations: 279.9 kB / 2.034 GB, free: 86.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/3.937, allocations: 7.938 kB / 2.034 GB, free: 86.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/3.938, allocations: 227.2 kB / 2.035 GB, free: 86.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.772e-05/3.938, allocations: 51.92 kB / 2.035 GB, free: 86.01 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.0002677/3.939, allocations: 153 kB / 2.035 GB, free: 85.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/3.939, allocations: 149.7 kB / 2.035 GB, free: 85.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/3.941, allocations: 1.088 MB / 2.036 GB, free: 84.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/3.941, allocations: 11.98 kB / 2.036 GB, free: 84.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/3.941, allocations: 4 kB / 2.036 GB, free: 84.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001095/3.942, allocations: 0.9013 MB / 2.037 GB, free: 83.66 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00425/3.946, allocations: 3.086 MB / 2.04 GB, free: 80.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/3.946, allocations: 8 kB / 2.04 GB, free: 80.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/3.947, allocations: 239.8 kB / 2.04 GB, free: 80.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/3.947, allocations: 8 kB / 2.04 GB, free: 80.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.926e-05/3.948, allocations: 31.97 kB / 2.04 GB, free: 80.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/3.948, allocations: 8 kB / 2.04 GB, free: 80.15 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/3.948, allocations: 11.89 kB / 2.04 GB, free: 80.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/3.95, allocations: 2.049 MB / 2.042 GB, free: 77.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007748/3.951, allocations: 483.8 kB / 2.043 GB, free: 77.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/3.951, allocations: 16 kB / 2.043 GB, free: 77.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/3.952, allocations: 183.7 kB / 2.043 GB, free: 77.13 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/3.952, allocations: 76.36 kB / 2.043 GB, free: 77.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.99e-05/3.952, allocations: 43.97 kB / 2.043 GB, free: 77.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001179/3.954, allocations: 0.9113 MB / 2.044 GB, free: 76.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/3.954, allocations: 0 / 2.044 GB, free: 76.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002338/3.956, allocations: 0.846 MB / 2.045 GB, free: 75.25 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.001468/3.957, allocations: 0.8238 MB / 2.046 GB, free: 74.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00209/3.96, allocations: 1.464 MB / 2.047 GB, free: 73.04 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/3.96, allocations: 0 / 2.047 GB, free: 73.04 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007591/3.96, allocations: 0.5072 MB / 2.047 GB, free: 72.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/3.964, allocations: 0.7599 MB / 2.048 GB, free: 71.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/3.967, allocations: 1.991 MB / 2.05 GB, free: 69.71 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/3.968, allocations: 1.264 MB / 2.051 GB, free: 68.42 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002192/3.97, allocations: 481.7 kB / 2.052 GB, free: 67.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/3.97, allocations: 99.41 kB / 2.052 GB, free: 67.85 MB / 0.948 GB Notification: Performance of SimCode: time 1.743e-06/3.97, allocations: 3.938 kB / 2.052 GB, free: 67.85 MB / 0.948 GB Notification: Performance of Templates: time 0.05351/4.024, allocations: 36.57 MB / 2.088 GB, free: 31.62 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (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 & ./Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)