Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5366/0.5366, allocations: 95.61 MB / 110.6 MB, free: 9.383 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.001103/0.001103, allocations: 166.1 kB / 134.2 MB, free: 2.27 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.467/1.467, allocations: 170.7 MB / 328.4 MB, free: 12.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.002128/0.002128, allocations: 112.4 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 12 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1642, allocations: 61.52 MB / 0.512 GB, free: 6.102 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.304, allocations: 422.1 MB / 0.9241 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/1.304, allocations: 87.95 kB / 0.9242 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.076/3.38, allocations: 456.2 MB / 1.37 GB, free: 66.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.167e-06/3.38, allocations: 1.219 kB / 1.37 GB, free: 66.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005344/3.38, allocations: 44.42 kB / 1.37 GB, free: 66.65 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.01015/3.391, allocations: 2.158 MB / 1.372 GB, free: 65.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.441e-05/3.391, allocations: 13.48 kB / 1.372 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/3.393, allocations: 231.6 kB / 1.372 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006713/3.4, allocations: 1.753 MB / 1.374 GB, free: 65.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/3.4, allocations: 146.1 kB / 1.374 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004588/3.4, allocations: 105.7 kB / 1.374 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003316/3.404, allocations: 1.255 MB / 1.375 GB, free: 65.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/3.404, allocations: 0 / 1.375 GB, free: 65.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/3.404, allocations: 45.62 kB / 1.375 GB, free: 65.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/3.404, allocations: 26.94 kB / 1.375 GB, free: 65.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/3.406, allocations: 1.027 MB / 1.376 GB, free: 65.06 MB / 0.5261 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.00862/3.415, allocations: 5.466 MB / 1.382 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/3.417, allocations: 0.7385 MB / 1.382 GB, free: 62.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00078/3.417, allocations: 1.072 MB / 1.383 GB, free: 60.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/3.419, allocations: 0.5211 MB / 1.384 GB, free: 60.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=65): time 4.238e-06/3.419, allocations: 1.781 kB / 1.384 GB, free: 60.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75): time 0.01386/3.433, allocations: 3.355 MB / 1.387 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/3.433, allocations: 267.8 kB / 1.387 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/3.435, allocations: 1.209 MB / 1.389 GB, free: 59.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/3.435, allocations: 42.64 kB / 1.389 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006729/3.435, allocations: 0.7785 MB / 1.389 GB, free: 59.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/3.436, allocations: 266.5 kB / 1.39 GB, free: 59.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/3.436, allocations: 18.47 kB / 1.39 GB, free: 59.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001138/3.436, allocations: 342.8 kB / 1.39 GB, free: 58.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007211/3.437, allocations: 377.4 kB / 1.39 GB, free: 58.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/3.438, allocations: 0.7826 MB / 1.391 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008403/3.438, allocations: 0.4889 MB / 1.392 GB, free: 58.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/3.438, allocations: 5.891 kB / 1.392 GB, free: 58.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002587/3.441, allocations: 1.267 MB / 1.393 GB, free: 58.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008522/3.442, allocations: 3.366 MB / 1.396 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/3.442, allocations: 8.562 kB / 1.396 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.678e-05/3.442, allocations: 14.78 kB / 1.396 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/3.443, allocations: 286.6 kB / 1.397 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.598e-05/3.443, allocations: 16.67 kB / 1.397 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/3.445, allocations: 127.9 kB / 1.397 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/3.445, allocations: 54.59 kB / 1.397 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/3.445, allocations: 3.938 kB / 1.397 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001907/3.447, allocations: 1.103 MB / 1.398 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/3.447, allocations: 7.781 kB / 1.398 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/3.447, allocations: 21.55 kB / 1.398 GB, free: 54.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009643/3.448, allocations: 280.1 kB / 1.398 GB, free: 54.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/3.448, allocations: 21.53 kB / 1.398 GB, free: 54.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/3.449, allocations: 126.3 kB / 1.398 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/3.449, allocations: 51.27 kB / 1.398 GB, free: 54.55 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 () * Number of clocked 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.001024/3.45, allocations: 446.1 kB / 1.399 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/3.45, allocations: 163.2 kB / 1.399 GB, free: 54.28 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/3.453, allocations: 1.02 MB / 1.4 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/3.453, allocations: 17.28 kB / 1.4 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/3.453, allocations: 2.812 kB / 1.4 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/3.453, allocations: 3.797 kB / 1.4 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005046/3.458, allocations: 2.945 MB / 1.403 GB, free: 53.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/3.458, allocations: 7.062 kB / 1.403 GB, free: 53.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008011/3.458, allocations: 198.2 kB / 1.403 GB, free: 53.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.307e-05/3.459, allocations: 11.84 kB / 1.403 GB, free: 53.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.049e-05/3.459, allocations: 29.69 kB / 1.403 GB, free: 53.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-05/3.459, allocations: 20.23 kB / 1.403 GB, free: 53.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/3.459, allocations: 15.53 kB / 1.403 GB, free: 53.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/3.462, allocations: 2.076 MB / 1.405 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009995/3.463, allocations: 343.7 kB / 1.405 GB, free: 52.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004754/3.463, allocations: 32.2 kB / 1.405 GB, free: 52.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/3.465, allocations: 102.6 kB / 1.405 GB, free: 52.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/3.465, allocations: 90.67 kB / 1.406 GB, free: 52.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/3.465, allocations: 49.05 kB / 1.406 GB, free: 52.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001468/3.467, allocations: 0.9249 MB / 1.407 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/3.467, allocations: 2.25 kB / 1.407 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003752/3.47, allocations: 0.894 MB / 1.407 GB, free: 51.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) * Number of clocked states: 0 () * 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.001899/3.472, allocations: 0.8782 MB / 1.408 GB, free: 51.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002869/3.475, allocations: 1.591 MB / 1.41 GB, free: 51.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/3.475, allocations: 9.438 kB / 1.41 GB, free: 51.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009577/3.476, allocations: 0.5086 MB / 1.41 GB, free: 51.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/3.479, allocations: 0.7193 MB / 1.411 GB, free: 51.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005746/3.485, allocations: 3.622 MB / 1.415 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/3.486, allocations: 1.295 MB / 1.416 GB, free: 49.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001827/3.487, allocations: 391.7 kB / 1.416 GB, free: 49.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/3.488, allocations: 122.3 kB / 1.416 GB, free: 49.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.593e-06/3.488, allocations: 0 / 1.416 GB, free: 49.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.05668/3.544, allocations: 32.9 MB / 1.448 GB, free: 47.33 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)