Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.471/2.471, allocations: 285 MB / 292.5 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.001448, allocations: 184.8 kB / 360.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.2 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 105 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.981e-05/1.978e-05, allocations: 4 kB / 0.8509 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8106/0.8107, allocations: 115.3 MB / 0.9634 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/2.095, allocations: 416.2 MB / 1.37 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/2.096, allocations: 89.89 kB / 1.37 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.411/5.507, allocations: 0.6198 GB / 1.99 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.657e-06/5.507, allocations: 0 / 1.99 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002562/5.507, allocations: 47.53 kB / 1.99 GB, free: 159.6 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.005543/5.513, allocations: 1.775 MB / 1.992 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/5.513, allocations: 7.688 kB / 1.992 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006276/5.519, allocations: 0.6295 MB / 1.992 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005636/5.525, allocations: 1.654 MB / 1.994 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/5.525, allocations: 111.1 kB / 1.994 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003381/5.526, allocations: 60.88 kB / 1.994 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002645/5.528, allocations: 0.9278 MB / 1.995 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/5.531, allocations: 0.9936 MB / 1.996 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/5.531, allocations: 0.75 kB / 1.996 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/5.531, allocations: 0 / 1.996 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.146e-05/5.531, allocations: 29.62 kB / 1.996 GB, free: 158.3 MB / 0.9323 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.01105/5.542, allocations: 5.247 MB / 2.001 GB, free: 156 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/5.544, allocations: 0.6877 MB / 2.002 GB, free: 156 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/5.545, allocations: 436 kB / 2.002 GB, free: 156 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/5.546, allocations: 1.246 MB / 2.003 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/5.548, allocations: 0.5294 MB / 2.004 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 4.228e-06/5.548, allocations: 0 / 2.004 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.003274/5.551, allocations: 0.9127 MB / 2.005 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/5.551, allocations: 111.1 kB / 2.005 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/5.553, allocations: 1.048 MB / 2.006 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002975/5.554, allocations: 29.02 kB / 2.006 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007706/5.554, allocations: 0.6882 MB / 2.007 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003733/5.555, allocations: 222 kB / 2.007 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-05/5.555, allocations: 0 / 2.007 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.455e-05/5.555, allocations: 331.3 kB / 2.007 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000824/5.556, allocations: 348.9 kB / 2.007 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/5.557, allocations: 0.5923 MB / 2.008 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/5.559, allocations: 437.6 kB / 2.008 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/5.559, allocations: 0 / 2.008 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003483/5.562, allocations: 1.023 MB / 2.009 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002942/5.562, allocations: 1.199 MB / 2.011 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/5.562, allocations: 6.625 kB / 2.011 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.612e-05/5.563, allocations: 6.094 kB / 2.011 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002565/5.565, allocations: 281.8 kB / 2.011 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/5.565, allocations: 6.125 kB / 2.011 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/5.568, allocations: 208.5 kB / 2.011 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002815/5.569, allocations: 50.38 kB / 2.011 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/5.569, allocations: 3.25 kB / 2.011 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003185/5.572, allocations: 0.8545 MB / 2.012 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/5.572, allocations: 3.438 kB / 2.012 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/5.572, allocations: 6.656 kB / 2.012 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/5.575, allocations: 274.3 kB / 2.012 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/5.575, allocations: 12.53 kB / 2.012 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003143/5.578, allocations: 195.2 kB / 2.012 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/5.578, allocations: 49.06 kB / 2.012 GB, free: 151.8 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 () * 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.0004193/5.579, allocations: 132.6 kB / 2.013 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005164/5.579, allocations: 143.1 kB / 2.013 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00422/5.583, allocations: 1.089 MB / 2.014 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.349e-05/5.583, allocations: 11.62 kB / 2.014 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/5.583, allocations: 3.406 kB / 2.014 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002904/5.586, allocations: 0.9245 MB / 2.015 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008755/5.595, allocations: 2.991 MB / 2.018 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/5.595, allocations: 6.375 kB / 2.018 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/5.598, allocations: 248.3 kB / 2.018 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-05/5.598, allocations: 7.625 kB / 2.018 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/5.598, allocations: 20.11 kB / 2.018 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-05/5.598, allocations: 9.594 kB / 2.018 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/5.598, allocations: 7.156 kB / 2.018 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005091/5.603, allocations: 2.054 MB / 2.02 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/5.604, allocations: 470.8 kB / 2.02 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000392/5.605, allocations: 12.38 kB / 2.02 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002818/5.608, allocations: 162.1 kB / 2.021 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/5.608, allocations: 74.17 kB / 2.021 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001937/5.608, allocations: 48.64 kB / 2.021 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001863/5.61, allocations: 0.7951 MB / 2.021 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.52e-07/5.61, allocations: 0 / 2.021 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004541/5.615, allocations: 0.8253 MB / 2.022 GB, free: 149.3 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) * 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.002404/5.617, allocations: 0.8262 MB / 2.023 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0038/5.621, allocations: 1.431 MB / 2.024 GB, free: 149 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/5.621, allocations: 1.156 kB / 2.024 GB, free: 149 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/5.623, allocations: 0.4947 MB / 2.025 GB, free: 149 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005881/5.628, allocations: 0.6399 MB / 2.026 GB, free: 149 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/5.635, allocations: 1.98 MB / 2.027 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/5.636, allocations: 1.278 MB / 2.029 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004266/5.64, allocations: 470.6 kB / 2.029 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006009/5.641, allocations: 95.06 kB / 2.029 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.442e-06/5.641, allocations: 1.5 kB / 2.029 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.08325/5.724, allocations: 29.78 MB / 2.058 GB, free: 146.7 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)