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.001156/0.001156, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001195/0.001195, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.683/1.683, allocations: 251.9 MB / 0.51 GB, free: 4.836 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.0006089/0.000609, allocations: 16 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.658/0.6586, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003491/0.6622, allocations: 1.939 MB / 0.7299 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.6637, allocations: 0.7725 MB / 0.7306 GB, free: 8.707 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.6639, allocations: 4 kB / 0.7306 GB, free: 8.703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.6641, allocations: 15.86 kB / 0.7306 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.6644, allocations: 43.86 kB / 0.7307 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.6646, allocations: 35.89 kB / 0.7307 GB, free: 8.609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.6649, allocations: 91.81 kB / 0.7308 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.6652, allocations: 185.8 kB / 0.731 GB, free: 8.309 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.6654, allocations: 55.77 kB / 0.731 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.6656, allocations: 47.78 kB / 0.7311 GB, free: 8.207 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.6656, allocations: 4 kB / 0.7311 GB, free: 8.203 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.6657, allocations: 23.98 kB / 0.7311 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.6658, allocations: 31.89 kB / 0.7311 GB, free: 8.148 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.162e-05/0.6659, allocations: 49.64 kB / 0.7312 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.6661, allocations: 121.7 kB / 0.7313 GB, free: 7.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6661, allocations: 4 kB / 0.7313 GB, free: 7.973 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6661, allocations: 3.938 kB / 0.7313 GB, free: 7.969 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.6661, allocations: 0 / 0.7313 GB, free: 7.969 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.0008318/0.6669, allocations: 474.4 kB / 0.7318 GB, free: 7.445 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.667, allocations: 8.031 kB / 0.7318 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003016/0.6673, allocations: 31.75 kB / 0.7318 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.6676, allocations: 213.6 kB / 0.732 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.6677, allocations: 41.89 kB / 0.732 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.6678, allocations: 4 kB / 0.732 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.6681, allocations: 149.7 kB / 0.7322 GB, free: 6.949 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.6681, allocations: 3.984 kB / 0.7322 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.6681, allocations: 7.938 kB / 0.7322 GB, free: 6.938 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.6682, allocations: 8.172 kB / 0.7322 GB, free: 6.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.6684, allocations: 92.52 kB / 0.7323 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.6694, allocations: 0.6412 MB / 0.7329 GB, free: 6.133 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.6697, allocations: 66.55 kB / 0.733 GB, free: 6.059 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.6697, allocations: 0 / 0.733 GB, free: 6.059 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.67, allocations: 138.9 kB / 0.7331 GB, free: 5.898 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.67, allocations: 0 / 0.7331 GB, free: 5.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004471/0.6704, allocations: 260.1 kB / 0.7334 GB, free: 5.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.187e-05/0.6705, allocations: 132.5 kB / 0.7335 GB, free: 5.453 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.6707, allocations: 175.7 kB / 0.7336 GB, free: 5.273 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.6707, allocations: 29.7 kB / 0.7337 GB, free: 5.238 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.6708, allocations: 147.7 kB / 0.7338 GB, free: 5.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.6709, allocations: 23.73 kB / 0.7338 GB, free: 5.066 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.6709, allocations: 4 kB / 0.7338 GB, free: 5.062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6711, allocations: 322.8 kB / 0.7342 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.755e-05/0.6711, allocations: 39.97 kB / 0.7342 GB, free: 4.699 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.6713, allocations: 109.4 kB / 0.7343 GB, free: 4.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.6714, allocations: 107.3 kB / 0.7344 GB, free: 4.441 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.6714, allocations: 4 kB / 0.7344 GB, free: 4.438 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00034/0.6718, allocations: 244.9 kB / 0.7346 GB, free: 4.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.6719, allocations: 75.34 kB / 0.7347 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6719, allocations: 0 / 0.7347 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.6719, allocations: 4 kB / 0.7347 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.672, allocations: 31.92 kB / 0.7347 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.672, allocations: 4 kB / 0.7347 GB, free: 4.055 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.6722, allocations: 31.83 kB / 0.7348 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.6722, allocations: 8 kB / 0.7348 GB, free: 4.016 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 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.6724, allocations: 166.1 kB / 0.7349 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.6724, allocations: 11.91 kB / 0.735 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.6724, allocations: 17.36 kB / 0.735 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6724, allocations: 0 / 0.735 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6724, allocations: 0 / 0.735 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6725, allocations: 0 / 0.735 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.6726, allocations: 221.5 kB / 0.7352 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.6727, allocations: 0 / 0.7352 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-05/0.6727, allocations: 11.98 kB / 0.7352 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6728, allocations: 4 kB / 0.7352 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.6728, allocations: 4 kB / 0.7352 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.6728, allocations: 7.891 kB / 0.7352 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6728, allocations: 4.312 kB / 0.7352 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.6732, allocations: 222.6 kB / 0.7354 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.6733, allocations: 96.95 kB / 0.7355 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.6733, allocations: 4 kB / 0.7355 GB, free: 3.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/0.6734, allocations: 15.98 kB / 0.7355 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.6735, allocations: 11.94 kB / 0.7355 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.6735, allocations: 4 kB / 0.7356 GB, free: 3.125 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001012/0.6736, allocations: 135.5 kB / 0.7357 GB, free: 2.992 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6736, allocations: 0 / 0.7357 GB, free: 2.992 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002545/0.6739, allocations: 28 kB / 0.7357 GB, free: 2.965 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 (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.0001149/0.674, allocations: 107.3 kB / 0.7358 GB, free: 2.852 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.6744, allocations: 222.6 kB / 0.736 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.6744, allocations: 4 kB / 0.736 GB, free: 2.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.6746, allocations: 108 kB / 0.7361 GB, free: 2.488 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.6748, allocations: 18.19 kB / 0.7361 GB, free: 2.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.6755, allocations: 334.1 kB / 0.7365 GB, free: 2.125 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.6759, allocations: 0.716 MB / 0.7372 GB, free: 1.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.676, allocations: 24.62 kB / 0.7372 GB, free: 1.355 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.6761, allocations: 11.44 kB / 0.7372 GB, free: 1.344 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.6761, allocations: 0 / 0.7372 GB, free: 1.344 MB / 0.545 GB Notification: Performance of Templates: time 0.00411/0.6802, allocations: 1.191 MB / 0.7384 GB, free: 176 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: