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.008294/0.008294, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002103/0.002103, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.601/1.601, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.725/1.725, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001771/0.001771, allocations: 63.91 kB / 0.7257 GB, free: 9.156 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2803, allocations: 104.7 MB / 0.828 GB, free: 344 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004384/0.2848, allocations: 2.315 MB / 0.8303 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.2864, allocations: 0.819 MB / 0.8311 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.2866, allocations: 8 kB / 0.8311 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.2872, allocations: 147.3 kB / 0.8312 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.2874, allocations: 67.61 kB / 0.8313 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.2876, allocations: 47.88 kB / 0.8313 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.2879, allocations: 167.4 kB / 0.8315 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.2882, allocations: 101 kB / 0.8316 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.2883, allocations: 67.7 kB / 0.8316 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.2885, allocations: 75.69 kB / 0.8317 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.2885, allocations: 12 kB / 0.8317 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.2887, allocations: 55.88 kB / 0.8318 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.2887, allocations: 35.91 kB / 0.8318 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.363e-05/0.2888, allocations: 63.67 kB / 0.8319 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.2891, allocations: 163.5 kB / 0.832 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.2891, allocations: 4 kB / 0.832 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2891, allocations: 0 / 0.832 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.2891, allocations: 0 / 0.832 GB, free: 12.18 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.0007665/0.2899, allocations: 490.5 kB / 0.8325 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2899, allocations: 8.031 kB / 0.8325 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.2902, allocations: 32.73 kB / 0.8325 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.2904, allocations: 212 kB / 0.8327 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.2905, allocations: 42.39 kB / 0.8328 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.2905, allocations: 16.12 kB / 0.8328 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.2908, allocations: 145.5 kB / 0.8329 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.2908, allocations: 4 kB / 0.8329 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.2908, allocations: 7.984 kB / 0.8329 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.2909, allocations: 4 kB / 0.833 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.2911, allocations: 91.88 kB / 0.833 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008842/0.292, allocations: 0.6402 MB / 0.8337 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.2922, allocations: 54.56 kB / 0.8337 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.852e-05/0.2923, allocations: 28.91 kB / 0.8337 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2923, allocations: 0 / 0.8337 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.2926, allocations: 146.8 kB / 0.8339 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.895e-06/0.2926, allocations: 0 / 0.8339 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003961/0.293, allocations: 167.3 kB / 0.834 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.2931, allocations: 132.5 kB / 0.8342 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.2932, allocations: 186.5 kB / 0.8343 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2933, allocations: 29.7 kB / 0.8344 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.2934, allocations: 139.8 kB / 0.8345 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.2934, allocations: 23.66 kB / 0.8345 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.2935, allocations: 45.7 kB / 0.8346 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2936, allocations: 322.8 kB / 0.8349 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.2937, allocations: 39.98 kB / 0.8349 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.2938, allocations: 117.3 kB / 0.835 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.2941, allocations: 226.3 kB / 0.8352 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2941, allocations: 4 kB / 0.8353 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003844/0.2945, allocations: 244.7 kB / 0.8355 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.382e-05/0.2946, allocations: 63.41 kB / 0.8355 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.2946, allocations: 7.938 kB / 0.8356 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2946, allocations: 4 kB / 0.8356 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.2948, allocations: 27.92 kB / 0.8356 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.2948, allocations: 7.984 kB / 0.8356 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.2949, allocations: 23.84 kB / 0.8356 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.295, allocations: 8.25 kB / 0.8356 GB, free: 8.094 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.000167/0.2951, allocations: 176.2 kB / 0.8358 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.2952, allocations: 11.91 kB / 0.8358 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.2952, allocations: 17.33 kB / 0.8358 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.2952, allocations: 4 kB / 0.8358 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2952, allocations: 0 / 0.8358 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2952, allocations: 0 / 0.8358 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.2954, allocations: 217.5 kB / 0.836 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2954, allocations: 0 / 0.836 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.475e-05/0.2955, allocations: 15.98 kB / 0.836 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2955, allocations: 0 / 0.836 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.2956, allocations: 7.938 kB / 0.8361 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2956, allocations: 0 / 0.8361 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2956, allocations: 0 / 0.8361 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.296, allocations: 210.6 kB / 0.8363 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.2961, allocations: 88.95 kB / 0.8363 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.2961, allocations: 8 kB / 0.8363 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.626e-05/0.2962, allocations: 19.98 kB / 0.8364 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.2963, allocations: 3.984 kB / 0.8364 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.2963, allocations: 4 kB / 0.8364 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001196/0.2964, allocations: 127.2 kB / 0.8365 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2964, allocations: 3.938 kB / 0.8365 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000252/0.2967, allocations: 35.94 kB / 0.8365 GB, free: 7.059 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.0001194/0.2968, allocations: 103.3 kB / 0.8366 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.2972, allocations: 222.6 kB / 0.8368 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2972, allocations: 0 / 0.8368 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.2973, allocations: 99.39 kB / 0.8369 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.2976, allocations: 35.84 kB / 0.837 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006187/0.2982, allocations: 294.9 kB / 0.8373 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.2985, allocations: 0.708 MB / 0.8379 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.193e-05/0.2986, allocations: 24.62 kB / 0.838 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.2986, allocations: 15.44 kB / 0.838 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.2987, allocations: 0 / 0.838 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of Templates: time 0.004027/0.3027, allocations: 1.407 MB / 0.8394 GB, free: 4.078 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)