Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.705/2.705, allocations: 287.3 MB / 302.3 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 182.8 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.251/2.251, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 102.4 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004749, allocations: 11.72 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2256, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004348/0.23, allocations: 1.925 MB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002328/0.2324, allocations: 0.7806 MB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.2326, allocations: 0 / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.2328, allocations: 11.92 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.2331, allocations: 43.8 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.2334, allocations: 51.88 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.2338, allocations: 83.83 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.2341, allocations: 189.8 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.2343, allocations: 47.83 kB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.2345, allocations: 51.78 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.2345, allocations: 7.938 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.2347, allocations: 23.98 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.319e-05/0.2348, allocations: 39.83 kB / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.2349, allocations: 45.64 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.2352, allocations: 123.9 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2352, allocations: 0 / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2353, allocations: 0 / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2353, allocations: 0 / 0.9815 GB, free: 24.93 MB / 0.6198 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.0009139/0.2362, allocations: 468.6 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.2363, allocations: 16.02 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/0.2367, allocations: 35.75 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.2371, allocations: 210.8 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-05/0.2372, allocations: 37.83 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.2373, allocations: 12 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.2378, allocations: 156.9 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.2379, allocations: 0 / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.2379, allocations: 0 / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.238, allocations: 4.188 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004693/0.2385, allocations: 88.45 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.24, allocations: 0.6412 MB / 0.9831 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.2405, allocations: 62.55 kB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2405, allocations: 0 / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000347/0.2409, allocations: 148.6 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 5.51e-06/0.2409, allocations: 0 / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0007827/0.2417, allocations: 252.2 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.2418, allocations: 136.5 kB / 0.9837 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.2421, allocations: 182.2 kB / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.2422, allocations: 25.7 kB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.2423, allocations: 143.8 kB / 0.984 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.2424, allocations: 19.72 kB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.2424, allocations: 4 kB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.2425, allocations: 326.8 kB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.2428, allocations: 43.97 kB / 0.9844 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.2431, allocations: 105.4 kB / 0.9845 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.2434, allocations: 107.3 kB / 0.9846 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.2434, allocations: 0 / 0.9846 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008015/0.2442, allocations: 248.7 kB / 0.9848 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.52e-05/0.2443, allocations: 65.38 kB / 0.9849 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.2443, allocations: 4 kB / 0.9849 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/0.2444, allocations: 4 kB / 0.9849 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.2447, allocations: 27.98 kB / 0.9849 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.2448, allocations: 12.25 kB / 0.9849 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.2451, allocations: 35.67 kB / 0.985 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.2452, allocations: 8 kB / 0.985 GB, free: 20.98 MB / 0.6198 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.000216/0.2454, allocations: 167.5 kB / 0.9851 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.2455, allocations: 11.91 kB / 0.9852 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.879e-05/0.2456, allocations: 17.36 kB / 0.9852 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2456, allocations: 0 / 0.9852 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-06/0.2456, allocations: 4 kB / 0.9852 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2457, allocations: 7.969 kB / 0.9852 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.2459, allocations: 209.6 kB / 0.9854 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.246, allocations: 0 / 0.9854 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.2462, allocations: 19.98 kB / 0.9854 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.2462, allocations: 0 / 0.9854 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.2463, allocations: 0 / 0.9854 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.2463, allocations: 3.953 kB / 0.9854 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.2463, allocations: 4 kB / 0.9854 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.2472, allocations: 226.5 kB / 0.9856 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.2473, allocations: 89.05 kB / 0.9857 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-05/0.2474, allocations: 7.984 kB / 0.9857 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.2476, allocations: 8 kB / 0.9857 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.2478, allocations: 20 kB / 0.9858 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.2478, allocations: 0 / 0.9858 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001887/0.248, allocations: 136.3 kB / 0.9859 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.51e-07/0.2481, allocations: 3.938 kB / 0.9859 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000573/0.2486, allocations: 31.91 kB / 0.9859 GB, free: 19.93 MB / 0.6198 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.0001711/0.2488, allocations: 107.2 kB / 0.986 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007131/0.2496, allocations: 223.2 kB / 0.9862 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.2496, allocations: 0 / 0.9862 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.2499, allocations: 103.4 kB / 0.9863 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.2503, allocations: 18.05 kB / 0.9863 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2514, allocations: 334.2 kB / 0.9867 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.2517, allocations: 0.72 MB / 0.9874 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002018/0.2519, allocations: 16.62 kB / 0.9874 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.252, allocations: 15.38 kB / 0.9874 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of SimCode: time 1.673e-06/0.252, allocations: 4 kB / 0.9874 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of Templates: time 0.007611/0.2596, allocations: 1.197 MB / 0.9886 GB, free: 17.13 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)