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.5281/0.5281, allocations: 94.69 MB / 107.2 MB, free: 5.184 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.001044/0.001044, allocations: 176.4 kB / 130.7 MB, free: 7.555 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.615/1.615, allocations: 170.5 MB / 324.5 MB, free: 4.082 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.001629/0.001629, allocations: 111.2 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.832e-05, allocations: 3.984 kB / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4964, allocations: 61.51 MB / 0.5054 GB, free: 49.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.298/1.794, allocations: 422 MB / 0.9175 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.795, allocations: 86.78 kB / 0.9176 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.795/3.589, allocations: 454.2 MB / 1.361 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.718e-06/3.589, allocations: 1.312 kB / 1.361 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0006642/3.59, allocations: 48.31 kB / 1.361 GB, free: 62.25 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.01033/3.6, allocations: 1.828 MB / 1.363 GB, free: 61.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.927e-05/3.6, allocations: 16.06 kB / 1.363 GB, free: 61.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002657/3.603, allocations: 221.1 kB / 1.363 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008734/3.612, allocations: 1.704 MB / 1.365 GB, free: 60.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/3.612, allocations: 144.5 kB / 1.365 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000642/3.613, allocations: 109.7 kB / 1.365 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004907/3.618, allocations: 1.152 MB / 1.366 GB, free: 60.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/3.618, allocations: 0.75 kB / 1.366 GB, free: 60.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002816/3.618, allocations: 48.05 kB / 1.366 GB, free: 60.63 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/3.618, allocations: 25.69 kB / 1.366 GB, free: 60.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/3.621, allocations: 0.8488 MB / 1.367 GB, free: 60.62 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.01032/3.631, allocations: 5.408 MB / 1.372 GB, free: 57.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/3.633, allocations: 0.6901 MB / 1.373 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006075/3.634, allocations: 310.5 kB / 1.373 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000953/3.635, allocations: 1.08 MB / 1.374 GB, free: 56.49 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/3.636, allocations: 449.2 kB / 1.375 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=65): time 4.919e-06/3.636, allocations: 0 / 1.375 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75): time 0.01521/3.651, allocations: 3.122 MB / 1.378 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/3.651, allocations: 324 kB / 1.378 GB, free: 54.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003714/3.655, allocations: 1.147 MB / 1.379 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003309/3.655, allocations: 43.55 kB / 1.379 GB, free: 54.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/3.656, allocations: 0.7682 MB / 1.38 GB, free: 54.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/3.657, allocations: 254.2 kB / 1.38 GB, free: 54.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/3.657, allocations: 21.44 kB / 1.38 GB, free: 54.22 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001587/3.657, allocations: 347.9 kB / 1.381 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005992/3.658, allocations: 283.9 kB / 1.381 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/3.659, allocations: 0.6893 MB / 1.382 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000778/3.66, allocations: 415.6 kB / 1.382 GB, free: 53.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/3.66, allocations: 3.938 kB / 1.382 GB, free: 53.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002393/3.662, allocations: 1.08 MB / 1.383 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001061/3.663, allocations: 3.35 MB / 1.386 GB, free: 49.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/3.663, allocations: 7.406 kB / 1.386 GB, free: 49.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-05/3.663, allocations: 13.12 kB / 1.386 GB, free: 49.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/3.664, allocations: 286.3 kB / 1.387 GB, free: 49.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.952e-05/3.664, allocations: 19.66 kB / 1.387 GB, free: 49.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/3.666, allocations: 125.8 kB / 1.387 GB, free: 49.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/3.667, allocations: 53.39 kB / 1.387 GB, free: 49.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/3.667, allocations: 7.875 kB / 1.387 GB, free: 49.68 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001903/3.669, allocations: 0.9086 MB / 1.388 GB, free: 49.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/3.669, allocations: 9.406 kB / 1.388 GB, free: 49.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/3.669, allocations: 16.47 kB / 1.388 GB, free: 49.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/3.67, allocations: 278.2 kB / 1.388 GB, free: 49.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.578e-05/3.67, allocations: 23.78 kB / 1.388 GB, free: 49.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/3.672, allocations: 126.5 kB / 1.388 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/3.672, allocations: 51.41 kB / 1.388 GB, free: 49.62 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.0005015/3.672, allocations: 179.5 kB / 1.388 GB, free: 49.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007027/3.673, allocations: 160.6 kB / 1.389 GB, free: 49.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/3.675, allocations: 0.834 MB / 1.389 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/3.675, allocations: 7.812 kB / 1.389 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/3.675, allocations: 0 / 1.389 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/3.675, allocations: 7.828 kB / 1.389 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00612/3.681, allocations: 2.882 MB / 1.392 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/3.681, allocations: 9.75 kB / 1.392 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007645/3.682, allocations: 198 kB / 1.392 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.127e-05/3.682, allocations: 13.88 kB / 1.392 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-05/3.682, allocations: 28.38 kB / 1.392 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-05/3.682, allocations: 15.98 kB / 1.392 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/3.682, allocations: 6.844 kB / 1.392 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/3.685, allocations: 1.795 MB / 1.394 GB, free: 47.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/3.687, allocations: 334.6 kB / 1.395 GB, free: 47.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003568/3.687, allocations: 20.75 kB / 1.395 GB, free: 47.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/3.688, allocations: 111.4 kB / 1.395 GB, free: 47.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/3.688, allocations: 82.45 kB / 1.395 GB, free: 47.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-05/3.688, allocations: 48.23 kB / 1.395 GB, free: 47.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001389/3.69, allocations: 0.8738 MB / 1.396 GB, free: 47.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.834e-06/3.69, allocations: 0 / 1.396 GB, free: 47.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003609/3.693, allocations: 0.8877 MB / 1.397 GB, free: 46.94 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.002254/3.696, allocations: 0.888 MB / 1.397 GB, free: 46.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002362/3.698, allocations: 1.387 MB / 1.399 GB, free: 46.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/3.698, allocations: 4.375 kB / 1.399 GB, free: 46.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008221/3.699, allocations: 437.4 kB / 1.399 GB, free: 46.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/3.702, allocations: 0.7164 MB / 1.4 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005775/3.708, allocations: 2.471 MB / 1.402 GB, free: 45.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007554/3.709, allocations: 1.281 MB / 1.404 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002455/3.711, allocations: 491 kB / 1.404 GB, free: 45.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/3.711, allocations: 100.3 kB / 1.404 GB, free: 45.09 MB / 0.5261 GB Notification: Performance of SimCode: time 1.793e-06/3.712, allocations: 1.688 kB / 1.404 GB, free: 45.09 MB / 0.5261 GB Notification: Performance of Templates: time 0.0597/3.771, allocations: 36.4 MB / 1.44 GB, free: 42.85 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)