Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5963/0.5963, allocations: 94.77 MB / 102.2 MB, free: 10.15 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001425/0.001425, allocations: 178.8 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.703/1.703, allocations: 170.6 MB / 319.4 MB, free: 9.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001727/0.001727, allocations: 105 kB / 381.3 MB, free: 18.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.049e-05/2.053e-05, allocations: 0 / 449.1 MB, free: 1.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1763, allocations: 61.53 MB / 0.4987 GB, free: 4.133 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.653/1.829, allocations: 421.4 MB / 0.9101 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/1.83, allocations: 86.73 kB / 0.9102 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.773/3.603, allocations: 451.4 MB / 1.351 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.523e-06/3.603, allocations: 2.875 kB / 1.351 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002702/3.603, allocations: 44.59 kB / 1.351 GB, free: 62.48 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.005918/3.609, allocations: 1.827 MB / 1.353 GB, free: 61.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/3.609, allocations: 12.72 kB / 1.353 GB, free: 61.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/3.611, allocations: 226.8 kB / 1.353 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005949/3.617, allocations: 1.711 MB / 1.355 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/3.617, allocations: 103.2 kB / 1.355 GB, free: 61.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003889/3.618, allocations: 65.33 kB / 1.355 GB, free: 61.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00221/3.62, allocations: 0.7519 MB / 1.356 GB, free: 61.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/3.622, allocations: 0.9996 MB / 1.357 GB, free: 60.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/3.622, allocations: 1.844 kB / 1.357 GB, free: 60.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/3.622, allocations: 6.031 kB / 1.357 GB, free: 60.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/3.622, allocations: 23.94 kB / 1.357 GB, free: 60.98 MB / 0.5261 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.007558/3.63, allocations: 5.222 MB / 1.362 GB, free: 58.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/3.631, allocations: 0.6499 MB / 1.362 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004758/3.632, allocations: 289.4 kB / 1.363 GB, free: 58.13 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006775/3.632, allocations: 1.076 MB / 1.364 GB, free: 56.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006474/3.633, allocations: 420.7 kB / 1.364 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=65): time 3.246e-06/3.633, allocations: 4.531 kB / 1.364 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75): time 0.01207/3.645, allocations: 2.92 MB / 1.367 GB, free: 55.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/3.645, allocations: 323.3 kB / 1.367 GB, free: 55.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/3.647, allocations: 1.02 MB / 1.368 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.509e-05/3.647, allocations: 28.98 kB / 1.368 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006476/3.647, allocations: 0.762 MB / 1.369 GB, free: 54.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/3.648, allocations: 249.1 kB / 1.369 GB, free: 54.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/3.648, allocations: 3.562 kB / 1.369 GB, free: 54.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.621e-05/3.648, allocations: 342.3 kB / 1.37 GB, free: 54.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/3.648, allocations: 264.4 kB / 1.37 GB, free: 54.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/3.649, allocations: 0.6701 MB / 1.37 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/3.65, allocations: 454.8 kB / 1.371 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/3.651, allocations: 5.188 kB / 1.371 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002582/3.653, allocations: 1.044 MB / 1.372 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006673/3.654, allocations: 3.335 MB / 1.375 GB, free: 50.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/3.654, allocations: 13 kB / 1.375 GB, free: 50.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.709e-05/3.654, allocations: 15.44 kB / 1.375 GB, free: 50.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/3.655, allocations: 281.8 kB / 1.376 GB, free: 50.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.627e-05/3.655, allocations: 21.09 kB / 1.376 GB, free: 50.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/3.657, allocations: 107 kB / 1.376 GB, free: 50.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/3.657, allocations: 50.42 kB / 1.376 GB, free: 50.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/3.657, allocations: 4.219 kB / 1.376 GB, free: 50.34 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00187/3.659, allocations: 0.7895 MB / 1.376 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/3.659, allocations: 12.03 kB / 1.376 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/3.659, allocations: 19.59 kB / 1.376 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/3.66, allocations: 278.6 kB / 1.377 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/3.66, allocations: 23 kB / 1.377 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/3.661, allocations: 102.7 kB / 1.377 GB, free: 50.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/3.662, allocations: 44.94 kB / 1.377 GB, free: 50.31 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,chi.on,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * 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.0003436/3.662, allocations: 145.1 kB / 1.377 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/3.662, allocations: 153 kB / 1.377 GB, free: 50.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/3.664, allocations: 0.8239 MB / 1.378 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/3.665, allocations: 15.28 kB / 1.378 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/3.665, allocations: 0 / 1.378 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/3.665, allocations: 4.75 kB / 1.378 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005318/3.67, allocations: 2.723 MB / 1.381 GB, free: 49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/3.67, allocations: 6.031 kB / 1.381 GB, free: 49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008816/3.671, allocations: 205.3 kB / 1.381 GB, free: 49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.717e-05/3.671, allocations: 10 kB / 1.381 GB, free: 49 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/3.671, allocations: 21.2 kB / 1.381 GB, free: 49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.437e-05/3.671, allocations: 17.58 kB / 1.381 GB, free: 49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/3.671, allocations: 9.719 kB / 1.381 GB, free: 49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/3.674, allocations: 1.763 MB / 1.383 GB, free: 48.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/3.675, allocations: 333.1 kB / 1.383 GB, free: 47.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000511/3.676, allocations: 14.97 kB / 1.383 GB, free: 47.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/3.677, allocations: 92.91 kB / 1.383 GB, free: 47.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/3.677, allocations: 83.25 kB / 1.383 GB, free: 47.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/3.677, allocations: 45.52 kB / 1.383 GB, free: 47.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001756/3.679, allocations: 0.7583 MB / 1.384 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.103e-06/3.679, allocations: 2.438 kB / 1.384 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003833/3.683, allocations: 0.8293 MB / 1.385 GB, free: 47.67 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 2 (chi.vol1.dynBal.medium.T,chi.vol2.dynBal.medium.T) * Number of discrete variables: 4 ($whenCondition1,chi.on,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002217/3.685, allocations: 0.8861 MB / 1.386 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002493/3.688, allocations: 1.294 MB / 1.387 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/3.688, allocations: 2.25 kB / 1.387 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008229/3.689, allocations: 414 kB / 1.387 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003919/3.693, allocations: 0.667 MB / 1.388 GB, free: 47.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00707/3.7, allocations: 2.411 MB / 1.39 GB, free: 46.56 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/3.701, allocations: 1.286 MB / 1.392 GB, free: 45.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003276/3.704, allocations: 469.3 kB / 1.392 GB, free: 45.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/3.705, allocations: 97.3 kB / 1.392 GB, free: 45.82 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/3.705, allocations: 0 / 1.392 GB, free: 45.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.05591/3.761, allocations: 31.07 MB / 1.422 GB, free: 43.95 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)