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.00625/0.00625, allocations: 101 kB / 15.73 MB, free: 6.051 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.001236/0.001236, allocations: 182.6 kB / 16.67 MB, free: 5.977 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.557/1.557, allocations: 205.1 MB / 222.6 MB, free: 4.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.758/1.758, allocations: 251.7 MB / 0.5094 GB, free: 3.09 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.001506/0.001506, allocations: 71.88 kB / 0.7257 GB, free: 9.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2593, allocations: 104.7 MB / 0.828 GB, free: 264 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003671/0.263, allocations: 2.311 MB / 0.8303 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.2644, allocations: 0.8268 MB / 0.8311 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.966e-05/0.2645, allocations: 3.938 kB / 0.8311 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006182/0.2651, allocations: 151.4 kB / 0.8312 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.2653, allocations: 59.61 kB / 0.8313 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.2655, allocations: 55.86 kB / 0.8313 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.2658, allocations: 155.5 kB / 0.8315 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.266, allocations: 101 kB / 0.8316 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.2662, allocations: 75.66 kB / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.2663, allocations: 59.75 kB / 0.8317 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.2664, allocations: 16 kB / 0.8317 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.2665, allocations: 59.88 kB / 0.8318 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.2666, allocations: 31.91 kB / 0.8318 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.2667, allocations: 75.59 kB / 0.8319 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.2669, allocations: 163.5 kB / 0.832 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.267, allocations: 4 kB / 0.832 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.885e-06/0.267, allocations: 0 / 0.832 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.267, allocations: 0 / 0.832 GB, free: 12.1 MB / 0.6544 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.0008243/0.2678, allocations: 486.5 kB / 0.8325 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2679, allocations: 12.03 kB / 0.8325 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.2681, allocations: 24.75 kB / 0.8325 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.2684, allocations: 220 kB / 0.8327 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/0.2684, allocations: 46.39 kB / 0.8328 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.2685, allocations: 20.11 kB / 0.8328 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.2688, allocations: 140.2 kB / 0.8329 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2688, allocations: 0 / 0.8329 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.2688, allocations: 11.94 kB / 0.833 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.2688, allocations: 4 kB / 0.833 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.269, allocations: 87.94 kB / 0.833 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008625/0.2699, allocations: 0.6402 MB / 0.8337 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.2701, allocations: 54.5 kB / 0.8337 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.2702, allocations: 28.91 kB / 0.8337 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2702, allocations: 4 kB / 0.8338 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.2705, allocations: 142.8 kB / 0.8339 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.2705, allocations: 4 kB / 0.8339 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003684/0.2708, allocations: 159.3 kB / 0.834 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.2709, allocations: 136.5 kB / 0.8342 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.2711, allocations: 186.5 kB / 0.8344 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.2711, allocations: 29.7 kB / 0.8344 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.861e-05/0.2712, allocations: 143.8 kB / 0.8345 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.2713, allocations: 23.66 kB / 0.8345 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.2713, allocations: 41.7 kB / 0.8346 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.2715, allocations: 326.8 kB / 0.8349 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.189e-05/0.2716, allocations: 39.97 kB / 0.8349 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.2718, allocations: 101.4 kB / 0.835 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.272, allocations: 234.3 kB / 0.8352 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.272, allocations: 4 kB / 0.8353 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003458/0.2724, allocations: 244.8 kB / 0.8355 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.2724, allocations: 66.2 kB / 0.8355 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2725, allocations: 7.938 kB / 0.8356 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2725, allocations: 4 kB / 0.8356 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.2726, allocations: 31.92 kB / 0.8356 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2726, allocations: 4 kB / 0.8356 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.2727, allocations: 23.83 kB / 0.8356 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.2728, allocations: 8 kB / 0.8356 GB, free: 8.016 MB / 0.6544 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.0001361/0.2729, allocations: 175.5 kB / 0.8358 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.2729, allocations: 11.91 kB / 0.8358 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.273, allocations: 13.34 kB / 0.8358 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.273, allocations: 4 kB / 0.8358 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.273, allocations: 0 / 0.8358 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.273, allocations: 0 / 0.8358 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.2732, allocations: 213.5 kB / 0.836 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2732, allocations: 0 / 0.836 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.769e-05/0.2733, allocations: 11.98 kB / 0.836 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2733, allocations: 4 kB / 0.836 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.2733, allocations: 11.94 kB / 0.8361 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2733, allocations: 0 / 0.8361 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2733, allocations: 0 / 0.8361 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.2737, allocations: 214.7 kB / 0.8363 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.2737, allocations: 88.95 kB / 0.8363 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.2738, allocations: 11.88 kB / 0.8364 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.2739, allocations: 16.05 kB / 0.8364 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.2739, allocations: 11.98 kB / 0.8364 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.274, allocations: 96 / 0.8364 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001078/0.2741, allocations: 131.2 kB / 0.8365 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2741, allocations: 0 / 0.8365 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002318/0.2743, allocations: 35.94 kB / 0.8365 GB, free: 6.973 MB / 0.6544 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.0001012/0.2744, allocations: 111.1 kB / 0.8366 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000303/0.2747, allocations: 214.6 kB / 0.8368 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2747, allocations: 4 kB / 0.8369 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.2749, allocations: 103.4 kB / 0.837 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.2751, allocations: 22.91 kB / 0.837 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005681/0.2757, allocations: 290.8 kB / 0.8373 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.276, allocations: 0.7158 MB / 0.8379 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.658e-05/0.2761, allocations: 20.62 kB / 0.838 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.2761, allocations: 15.44 kB / 0.838 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.2761, allocations: 0 / 0.838 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of Templates: time 0.005025/0.2811, allocations: 1.413 MB / 0.8394 GB, free: 4 MB / 0.6544 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)