Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.836/1.836, allocations: 288.4 MB / 303.4 MB, free: 8.176 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.001208/0.001208, allocations: 183.7 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.4 MB / 0.6307 GB, free: 9.965 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.0008336/0.0008335, allocations: 93.59 kB / 0.7441 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004024, allocations: 23.62 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2251, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002403/0.2276, allocations: 1.937 MB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2287, allocations: 0.7841 MB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.769e-05/0.2288, allocations: 0 / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.2289, allocations: 23.84 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.2291, allocations: 39.75 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.2293, allocations: 47.88 kB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.2295, allocations: 159.5 kB / 0.9825 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.2297, allocations: 189.8 kB / 0.9827 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.2299, allocations: 55.77 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.23, allocations: 59.75 kB / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.23, allocations: 4 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.277e-05/0.2301, allocations: 31.92 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.2302, allocations: 35.89 kB / 0.9829 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.2302, allocations: 53.64 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.2304, allocations: 123.9 kB / 0.983 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2304, allocations: 0 / 0.983 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2304, allocations: 0 / 0.983 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.2304, allocations: 0 / 0.983 GB, free: 24.06 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.0005671/0.231, allocations: 466.5 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.231, allocations: 8.031 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.2313, allocations: 31.75 kB / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.2315, allocations: 210.8 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.2315, allocations: 41.81 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.2316, allocations: 12 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.2318, allocations: 145 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2319, allocations: 0 / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.2319, allocations: 7.953 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.2319, allocations: 12.12 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.2321, allocations: 92.5 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.2328, allocations: 0.6373 MB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.233, allocations: 58.55 kB / 0.9847 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.888e-05/0.2331, allocations: 32.84 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.2331, allocations: 7.938 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.2333, allocations: 146.8 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.2333, allocations: 0 / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003219/0.2336, allocations: 171.1 kB / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2337, allocations: 136.5 kB / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2338, allocations: 182.2 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.2338, allocations: 29.7 kB / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.2339, allocations: 139.8 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.2339, allocations: 19.72 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.2339, allocations: 0 / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.234, allocations: 326.8 kB / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.2341, allocations: 39.97 kB / 0.9859 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.815e-05/0.2342, allocations: 110.3 kB / 0.986 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.2343, allocations: 107.3 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2343, allocations: 0 / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002849/0.2346, allocations: 244.7 kB / 0.9863 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.2347, allocations: 68.59 kB / 0.9864 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2347, allocations: 4 kB / 0.9864 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2347, allocations: 4 kB / 0.9864 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2348, allocations: 35.92 kB / 0.9864 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2348, allocations: 4 kB / 0.9864 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.235, allocations: 32.05 kB / 0.9864 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.235, allocations: 12 kB / 0.9865 GB, free: 20.18 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.0001159/0.2351, allocations: 175.3 kB / 0.9866 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.2351, allocations: 11.91 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.2352, allocations: 17.36 kB / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2352, allocations: 0 / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2352, allocations: 0 / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2352, allocations: 4 kB / 0.9867 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.2353, allocations: 213.6 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2353, allocations: 0 / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.147e-05/0.2354, allocations: 15.92 kB / 0.9869 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2354, allocations: 4 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.2354, allocations: 4 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.2354, allocations: 3.953 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2354, allocations: 0 / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.2358, allocations: 230.8 kB / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.2358, allocations: 85.05 kB / 0.9872 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.2359, allocations: 3.984 kB / 0.9872 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.236, allocations: 12 kB / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.236, allocations: 15.94 kB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.236, allocations: 0 / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.708e-05/0.2361, allocations: 140.3 kB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2361, allocations: 0 / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002172/0.2364, allocations: 31.91 kB / 0.9874 GB, free: 19.12 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 9.887e-05/0.2365, allocations: 103.2 kB / 0.9875 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002781/0.2367, allocations: 219.2 kB / 0.9877 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2368, allocations: 4 kB / 0.9877 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.2369, allocations: 103.4 kB / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.2371, allocations: 25.69 kB / 0.9878 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.2377, allocations: 333.8 kB / 0.9881 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.2379, allocations: 0.7236 MB / 0.9888 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.997e-05/0.238, allocations: 16.81 kB / 0.9889 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.238, allocations: 15.44 kB / 0.9889 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.238, allocations: 0 / 0.9889 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of Templates: time 0.003641/0.2416, allocations: 1.21 MB / 0.9901 GB, free: 16.32 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)