Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 192.3 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.614/1.614, allocations: 251.7 MB / 0.5088 GB, free: 3.266 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.92 kB / 0.6216 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6721/0.6735, allocations: 104.7 MB / 0.7238 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00396/0.6776, allocations: 2.372 MB / 0.7261 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.679, allocations: 0.8266 MB / 0.7269 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.6791, allocations: 4 kB / 0.7269 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005819/0.6797, allocations: 139.5 kB / 0.7271 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.6799, allocations: 55.73 kB / 0.7271 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.6801, allocations: 47.89 kB / 0.7272 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.6803, allocations: 187.4 kB / 0.7273 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.6805, allocations: 77.06 kB / 0.7274 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.6807, allocations: 59.72 kB / 0.7275 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.6808, allocations: 67.75 kB / 0.7275 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.6808, allocations: 4 kB / 0.7275 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.681, allocations: 63.86 kB / 0.7276 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.681, allocations: 43.84 kB / 0.7276 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.141e-05/0.6811, allocations: 59.67 kB / 0.7277 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.6814, allocations: 169.4 kB / 0.7279 GB, free: 8.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6814, allocations: 0 / 0.7279 GB, free: 8.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6814, allocations: 4 kB / 0.7279 GB, free: 8.926 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.6814, allocations: 0 / 0.7279 GB, free: 8.926 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008362/0.6822, allocations: 486.5 kB / 0.7283 GB, free: 8.391 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.6823, allocations: 8.031 kB / 0.7283 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.6825, allocations: 32.73 kB / 0.7284 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.6828, allocations: 224 kB / 0.7286 GB, free: 8.094 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.6828, allocations: 38.39 kB / 0.7286 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.6829, allocations: 16.12 kB / 0.7286 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.6831, allocations: 142 kB / 0.7288 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.6832, allocations: 7.938 kB / 0.7288 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.6832, allocations: 0 / 0.7288 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.6832, allocations: 11.92 kB / 0.7288 GB, free: 7.863 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.6834, allocations: 87.95 kB / 0.7289 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/0.6843, allocations: 0.6363 MB / 0.7295 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.6845, allocations: 62.5 kB / 0.7295 GB, free: 7.004 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.051e-05/0.6846, allocations: 28.91 kB / 0.7296 GB, free: 6.973 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.6846, allocations: 0 / 0.7296 GB, free: 6.973 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.6848, allocations: 146.8 kB / 0.7297 GB, free: 6.805 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.6849, allocations: 4 kB / 0.7297 GB, free: 6.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003548/0.6852, allocations: 159.3 kB / 0.7299 GB, free: 6.633 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.6853, allocations: 132.5 kB / 0.73 GB, free: 6.473 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.6855, allocations: 187.5 kB / 0.7302 GB, free: 6.281 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.6855, allocations: 25.7 kB / 0.7302 GB, free: 6.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.6856, allocations: 139.8 kB / 0.7303 GB, free: 6.109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.6856, allocations: 27.64 kB / 0.7304 GB, free: 6.082 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.6857, allocations: 33.72 kB / 0.7304 GB, free: 6.043 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6858, allocations: 326.8 kB / 0.7307 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.883e-05/0.6859, allocations: 39.97 kB / 0.7307 GB, free: 5.676 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.686, allocations: 105.4 kB / 0.7308 GB, free: 5.539 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.6863, allocations: 230.3 kB / 0.7311 GB, free: 5.262 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6863, allocations: 0 / 0.7311 GB, free: 5.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003341/0.6866, allocations: 248.9 kB / 0.7313 GB, free: 5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.6868, allocations: 63.39 kB / 0.7314 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.6868, allocations: 15.88 kB / 0.7314 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.6868, allocations: 0 / 0.7314 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.687, allocations: 31.92 kB / 0.7314 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.687, allocations: 4.312 kB / 0.7314 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.6871, allocations: 27.83 kB / 0.7314 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.6871, allocations: 8 kB / 0.7314 GB, free: 4.84 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.6873, allocations: 167.5 kB / 0.7316 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.6873, allocations: 15.81 kB / 0.7316 GB, free: 4.645 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.6873, allocations: 17.34 kB / 0.7316 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.6873, allocations: 0 / 0.7316 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.6873, allocations: 7.984 kB / 0.7316 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.6874, allocations: 3.938 kB / 0.7316 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.6875, allocations: 205.6 kB / 0.7318 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.6875, allocations: 0 / 0.7318 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.913e-05/0.6876, allocations: 11.98 kB / 0.7319 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.6876, allocations: 0 / 0.7319 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.6876, allocations: 11.94 kB / 0.7319 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6877, allocations: 0 / 0.7319 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6877, allocations: 3.984 kB / 0.7319 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.688, allocations: 214.6 kB / 0.7321 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.6881, allocations: 96.97 kB / 0.7322 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.6882, allocations: 15.92 kB / 0.7322 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.6883, allocations: 8.062 kB / 0.7322 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.6883, allocations: 7.984 kB / 0.7322 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.6883, allocations: 8 kB / 0.7322 GB, free: 3.953 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.702e-05/0.6884, allocations: 131.5 kB / 0.7323 GB, free: 3.824 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6885, allocations: 0 / 0.7323 GB, free: 3.824 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002394/0.6887, allocations: 32 kB / 0.7324 GB, free: 3.793 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001169/0.6888, allocations: 103.2 kB / 0.7325 GB, free: 3.684 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003131/0.6891, allocations: 218.8 kB / 0.7327 GB, free: 3.445 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6892, allocations: 0 / 0.7327 GB, free: 3.445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.6893, allocations: 99.39 kB / 0.7328 GB, free: 3.336 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.6895, allocations: 19.98 kB / 0.7328 GB, free: 3.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.6901, allocations: 336.4 kB / 0.7331 GB, free: 2.965 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.6905, allocations: 0.716 MB / 0.7338 GB, free: 2.223 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.662e-05/0.6906, allocations: 16.64 kB / 0.7338 GB, free: 2.207 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.6906, allocations: 11.44 kB / 0.7338 GB, free: 2.195 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.6906, allocations: 0 / 0.7338 GB, free: 2.195 MB / 0.545 GB Notification: Performance of Templates: time 0.003821/0.6944, allocations: 1.255 MB / 0.7351 GB, free: 0.957 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)