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.874/1.874, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001471/0.001471, allocations: 181 kB / 377.1 MB, free: 1.559 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.94/1.94, allocations: 205.4 MB / 0.6367 GB, free: 8.516 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.0009866/0.0009869, allocations: 85.59 kB / 0.751 GB, free: 63.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3643, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.811/2.176, allocations: 418.2 MB / 1.397 GB, free: 280 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/2.176, allocations: 99.28 kB / 1.397 GB, free: 280 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.955/4.131, allocations: 0.6248 GB / 2.022 GB, free: 56.87 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.787e-06/4.131, allocations: 0 / 2.022 GB, free: 56.87 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001484/4.131, allocations: 53.25 kB / 2.022 GB, free: 56.82 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.004655/4.135, allocations: 2.058 MB / 2.024 GB, free: 54.72 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/4.136, allocations: 8.031 kB / 2.024 GB, free: 54.71 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/4.139, allocations: 0.6332 MB / 2.024 GB, free: 54.08 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/4.143, allocations: 1.652 MB / 2.026 GB, free: 52.41 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/4.143, allocations: 149.4 kB / 2.026 GB, free: 52.26 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/4.143, allocations: 104 kB / 2.026 GB, free: 52.16 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/4.146, allocations: 1.33 MB / 2.027 GB, free: 50.79 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/4.146, allocations: 3.906 kB / 2.027 GB, free: 50.79 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/4.146, allocations: 40 kB / 2.028 GB, free: 50.75 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/4.146, allocations: 27.98 kB / 2.028 GB, free: 50.72 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003222/4.149, allocations: 1.379 MB / 2.029 GB, free: 49.34 MB / 0.9323 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.006838/4.156, allocations: 5.372 MB / 2.034 GB, free: 43.68 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005409/4.161, allocations: 1.367 MB / 2.035 GB, free: 42.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007642/4.162, allocations: 1.243 MB / 2.037 GB, free: 40.79 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001642/4.164, allocations: 0.7057 MB / 2.037 GB, free: 40.07 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 3.266e-06/4.164, allocations: 0 / 2.037 GB, free: 40.07 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.004872/4.169, allocations: 1.82 MB / 2.039 GB, free: 38.24 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/4.169, allocations: 63.92 kB / 2.039 GB, free: 38.17 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/4.17, allocations: 1.142 MB / 2.04 GB, free: 37.02 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001704/4.171, allocations: 45.7 kB / 2.04 GB, free: 36.97 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005208/4.171, allocations: 0.6743 MB / 2.041 GB, free: 36.29 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/4.171, allocations: 224.2 kB / 2.041 GB, free: 36.07 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/4.171, allocations: 16 kB / 2.041 GB, free: 36.05 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.212e-05/4.172, allocations: 334 kB / 2.042 GB, free: 35.72 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/4.173, allocations: 0.5523 MB / 2.042 GB, free: 35.17 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/4.174, allocations: 0.8191 MB / 2.043 GB, free: 34.24 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/4.176, allocations: 0.6006 MB / 2.044 GB, free: 33.64 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/4.176, allocations: 0 / 2.044 GB, free: 33.64 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003655/4.18, allocations: 1.446 MB / 2.045 GB, free: 32.18 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003872/4.18, allocations: 1.202 MB / 2.046 GB, free: 30.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/4.18, allocations: 4 kB / 2.046 GB, free: 30.85 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/4.18, allocations: 8 kB / 2.046 GB, free: 30.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/4.181, allocations: 271.7 kB / 2.046 GB, free: 30.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/4.181, allocations: 7.984 kB / 2.046 GB, free: 30.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/4.183, allocations: 238.9 kB / 2.047 GB, free: 30.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/4.183, allocations: 55.97 kB / 2.047 GB, free: 30.28 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/4.183, allocations: 0 / 2.047 GB, free: 30.28 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003025/4.186, allocations: 1.293 MB / 2.048 GB, free: 28.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/4.187, allocations: 7.922 kB / 2.048 GB, free: 28.97 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/4.187, allocations: 8 kB / 2.048 GB, free: 28.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/4.188, allocations: 268 kB / 2.048 GB, free: 28.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/4.188, allocations: 11.94 kB / 2.048 GB, free: 28.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/4.19, allocations: 235.1 kB / 2.048 GB, free: 28.46 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-05/4.19, allocations: 47.97 kB / 2.048 GB, free: 28.42 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 () * 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.0009359/4.191, allocations: 408.8 kB / 2.049 GB, free: 28.01 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/4.191, allocations: 146.2 kB / 2.049 GB, free: 27.86 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/4.194, allocations: 1.518 MB / 2.05 GB, free: 26.33 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/4.194, allocations: 8 kB / 2.05 GB, free: 26.32 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/4.194, allocations: 0 / 2.05 GB, free: 26.32 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002961/4.197, allocations: 1.328 MB / 2.052 GB, free: 24.96 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007317/4.205, allocations: 3.377 MB / 2.055 GB, free: 21.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/4.205, allocations: 4 kB / 2.055 GB, free: 21.44 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/4.206, allocations: 248.2 kB / 2.055 GB, free: 21.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/4.206, allocations: 4 kB / 2.055 GB, free: 21.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/4.206, allocations: 31.97 kB / 2.055 GB, free: 21.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/4.206, allocations: 8 kB / 2.055 GB, free: 21.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/4.206, allocations: 11.89 kB / 2.055 GB, free: 21.14 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005163/4.211, allocations: 2.681 MB / 2.058 GB, free: 18.21 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/4.212, allocations: 475.9 kB / 2.058 GB, free: 17.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004416/4.213, allocations: 20 kB / 2.058 GB, free: 17.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/4.214, allocations: 183.7 kB / 2.059 GB, free: 17.51 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/4.215, allocations: 76.36 kB / 2.059 GB, free: 17.43 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/4.215, allocations: 47.97 kB / 2.059 GB, free: 17.39 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00135/4.216, allocations: 0.924 MB / 2.06 GB, free: 16.46 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/4.216, allocations: 0 / 2.06 GB, free: 16.46 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002669/4.219, allocations: 0.8499 MB / 2.061 GB, free: 15.61 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) * 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.001395/4.22, allocations: 0.8075 MB / 2.061 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004799/4.225, allocations: 2.039 MB / 2.063 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/4.225, allocations: 0 / 2.063 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/4.227, allocations: 0.7186 MB / 2.064 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/4.23, allocations: 0.7655 MB / 2.065 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/4.235, allocations: 3.157 MB / 2.068 GB, free: 8.125 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006203/4.235, allocations: 1.261 MB / 2.069 GB, free: 6.836 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001818/4.237, allocations: 381.6 kB / 2.069 GB, free: 6.469 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/4.238, allocations: 119.4 kB / 2.07 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of SimCode: time 8.62e-07/4.238, allocations: 0 / 2.07 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of Templates: time 0.6402/4.878, allocations: 33.17 MB / 2.102 GB, free: 142 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)