Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000893/0.000893, allocations: 84.8 kB / 21.62 MB, free: 2.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 173.7 kB / 25.05 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9522/0.9522, allocations: 177.1 MB / 205.5 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.924/1.924, allocations: 389.6 MB / 0.6363 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0.9844 kB / 0.7761 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.861e-05, allocations: 3.062 kB / 0.7761 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003014/0.003043, allocations: 2.17 MB / 0.7782 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000927/0.00397, allocations: 0.7026 MB / 0.7789 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.004057, allocations: 1.094 kB / 0.7789 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.004445, allocations: 101.5 kB / 0.779 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.004588, allocations: 74.22 kB / 0.7791 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.004726, allocations: 63.73 kB / 0.7791 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.004914, allocations: 171.3 kB / 0.7793 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.005091, allocations: 89.81 kB / 0.7794 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.00525, allocations: 99.77 kB / 0.7795 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.005387, allocations: 62.55 kB / 0.7795 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.005408, allocations: 12 kB / 0.7795 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-05/0.005507, allocations: 59.77 kB / 0.7796 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.005551, allocations: 39.91 kB / 0.7796 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.005599, allocations: 47.84 kB / 0.7797 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.005781, allocations: 123.6 kB / 0.7798 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005783, allocations: 0 / 0.7798 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005784, allocations: 0 / 0.7798 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.005788, allocations: 2.344 kB / 0.7798 GB, free: 1.547 MB / 0.7292 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.0004576/0.006246, allocations: 407.7 kB / 0.7802 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.006279, allocations: 13.34 kB / 0.7802 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.006485, allocations: 44.89 kB / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.006655, allocations: 147.3 kB / 0.7804 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/0.006703, allocations: 60.84 kB / 0.7804 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.006724, allocations: 12.38 kB / 0.7804 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.006896, allocations: 162.1 kB / 0.7806 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.006905, allocations: 3.938 kB / 0.7806 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.006915, allocations: 4.5 kB / 0.7806 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.006932, allocations: 8.844 kB / 0.7806 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.554e-05/0.006988, allocations: 51.56 kB / 0.7807 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.007413, allocations: 497 kB / 0.7811 GB, free: 36 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.00756, allocations: 64.92 kB / 0.7812 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.007588, allocations: 42.56 kB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.007598, allocations: 5.438 kB / 0.7812 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.007732, allocations: 164.4 kB / 0.7814 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 6.342e-06/0.007739, allocations: 0 / 0.7814 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001646/0.007903, allocations: 171.4 kB / 0.7816 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.007953, allocations: 136.6 kB / 0.7817 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.284e-05/0.008046, allocations: 178.3 kB / 0.7819 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.008058, allocations: 29.7 kB / 0.7819 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.008113, allocations: 143.7 kB / 0.782 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.008127, allocations: 15.8 kB / 0.7821 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.008167, allocations: 42.5 kB / 0.7821 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.008244, allocations: 326.8 kB / 0.7824 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.008285, allocations: 67.39 kB / 0.7825 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.008352, allocations: 144.5 kB / 0.7826 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.008465, allocations: 208.7 kB / 0.7828 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.008468, allocations: 0.7812 kB / 0.7828 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001604/0.008628, allocations: 230 kB / 0.783 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.008665, allocations: 67.86 kB / 0.7831 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.008671, allocations: 5.062 kB / 0.7831 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.008686, allocations: 4 kB / 0.7831 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.008792, allocations: 39.86 kB / 0.7831 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.008797, allocations: 4.531 kB / 0.7831 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.00886, allocations: 28.95 kB / 0.7832 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.008869, allocations: 8 kB / 0.7832 GB, free: 13.67 MB / 0.7448 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 8.859e-05/0.008958, allocations: 155.2 kB / 0.7833 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.008974, allocations: 16.69 kB / 0.7833 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.008998, allocations: 17.45 kB / 0.7834 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.009, allocations: 1.219 kB / 0.7834 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.009002, allocations: 3.938 kB / 0.7834 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.009005, allocations: 0 / 0.7834 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.225e-05/0.009078, allocations: 96.67 kB / 0.7835 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.009079, allocations: 1.094 kB / 0.7835 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.009129, allocations: 12 kB / 0.7835 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.009132, allocations: 5.016 kB / 0.7835 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.00914, allocations: 8 kB / 0.7835 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.009141, allocations: 0 / 0.7835 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.009142, allocations: 1.469 kB / 0.7835 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.009327, allocations: 225.2 kB / 0.7837 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.009341, allocations: 11.91 kB / 0.7837 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.009356, allocations: 4 kB / 0.7837 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.255e-05/0.009388, allocations: 5.375 kB / 0.7837 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.009426, allocations: 11.98 kB / 0.7837 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.009432, allocations: 3.938 kB / 0.7837 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.087e-05/0.009463, allocations: 50.34 kB / 0.7838 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009463, allocations: 0 / 0.7838 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001277/0.009591, allocations: 31.94 kB / 0.7838 GB, free: 12.95 MB / 0.7448 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 9.063e-05/0.009682, allocations: 85.61 kB / 0.7839 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.009853, allocations: 277.5 kB / 0.7842 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.009857, allocations: 0.7812 kB / 0.7842 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.989e-05/0.009917, allocations: 117.9 kB / 0.7843 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.01003, allocations: 23.16 kB / 0.7843 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.01057, allocations: 318 kB / 0.7846 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.01061, allocations: 75.7 kB / 0.7847 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.01065, allocations: 15.2 kB / 0.7847 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.01072, allocations: 79.36 kB / 0.7848 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.01072, allocations: 0 / 0.7848 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of Templates: time 0.00324/0.01396, allocations: 1.571 MB / 0.7863 GB, free: 10.38 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.896149055100977]