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.0009509/0.0009509, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.001174/0.001174, allocations: 159.7 kB / 24.96 MB, free: 8.715 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.9326/0.9326, allocations: 177.1 MB / 205.4 MB, free: 5.465 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.882/1.882, allocations: 389.6 MB / 0.6362 GB, free: 12.31 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.233e-06/1.233e-06, allocations: 0 / 0.7759 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.405e-06/9.638e-06, allocations: 5.375 kB / 0.7759 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002228/0.002237, allocations: 2.174 MB / 0.778 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007883/0.003026, allocations: 0.7017 MB / 0.7787 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.003097, allocations: 4.594 kB / 0.7787 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.003423, allocations: 98.72 kB / 0.7788 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.003544, allocations: 74.61 kB / 0.7789 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.003861, allocations: 63.75 kB / 0.779 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.004031, allocations: 172.6 kB / 0.7791 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.004175, allocations: 89.75 kB / 0.7792 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.004304, allocations: 91.8 kB / 0.7793 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.004415, allocations: 56.52 kB / 0.7793 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.004432, allocations: 13.31 kB / 0.7794 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.594e-05/0.004518, allocations: 63.75 kB / 0.7794 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.004561, allocations: 43.84 kB / 0.7795 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.004603, allocations: 43.91 kB / 0.7795 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.004756, allocations: 132.4 kB / 0.7796 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.273e-06/0.004757, allocations: 0 / 0.7796 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.81e-07/0.004758, allocations: 1.406 kB / 0.7796 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.004761, allocations: 0 / 0.7796 GB, free: 1.648 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.0003835/0.005144, allocations: 399.8 kB / 0.78 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.005172, allocations: 13.88 kB / 0.78 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.005365, allocations: 45.7 kB / 0.7801 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.005511, allocations: 152.4 kB / 0.7802 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.005548, allocations: 60.16 kB / 0.7803 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.005564, allocations: 12.38 kB / 0.7803 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.005708, allocations: 157.9 kB / 0.7804 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.005715, allocations: 0.5 kB / 0.7804 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-06/0.005724, allocations: 4 kB / 0.7804 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.005739, allocations: 8.625 kB / 0.7804 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.917e-05/0.005788, allocations: 57 kB / 0.7805 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.006182, allocations: 499.8 kB / 0.781 GB, free: 144 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.006286, allocations: 61.86 kB / 0.781 GB, free: 68 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.006312, allocations: 46.55 kB / 0.7811 GB, free: 12 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.006323, allocations: 0 / 0.7811 GB, free: 12 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.006437, allocations: 157 kB / 0.7812 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.006439, allocations: 5.172 kB / 0.7812 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001318/0.006571, allocations: 166.7 kB / 0.7814 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.006613, allocations: 140.6 kB / 0.7815 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.006698, allocations: 178 kB / 0.7817 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.006709, allocations: 29.7 kB / 0.7817 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.006757, allocations: 139.7 kB / 0.7819 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.006772, allocations: 23.73 kB / 0.7819 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.006811, allocations: 42.31 kB / 0.7819 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.006882, allocations: 322.8 kB / 0.7822 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.282e-05/0.006915, allocations: 72.73 kB / 0.7823 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.209e-05/0.006977, allocations: 141.8 kB / 0.7824 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.948e-05/0.007077, allocations: 196.4 kB / 0.7826 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.00708, allocations: 4.906 kB / 0.7826 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001323/0.007212, allocations: 230 kB / 0.7828 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.007242, allocations: 59.41 kB / 0.7829 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.007247, allocations: 5.562 kB / 0.7829 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.007257, allocations: 0 / 0.7829 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.007349, allocations: 47.84 kB / 0.783 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.007352, allocations: 4 kB / 0.783 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.007409, allocations: 23.09 kB / 0.783 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.007419, allocations: 12 kB / 0.783 GB, free: 13.79 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 6.805e-05/0.007487, allocations: 154.3 kB / 0.7831 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.007503, allocations: 19.98 kB / 0.7832 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.007525, allocations: 9.469 kB / 0.7832 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.007526, allocations: 4 kB / 0.7832 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.007529, allocations: 6.969 kB / 0.7832 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.007532, allocations: 0 / 0.7832 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.371e-05/0.007596, allocations: 96.67 kB / 0.7833 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.007596, allocations: 0 / 0.7833 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.00764, allocations: 14.33 kB / 0.7833 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.007641, allocations: 0 / 0.7833 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.007649, allocations: 11.94 kB / 0.7833 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.00765, allocations: 0 / 0.7833 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007651, allocations: 0 / 0.7833 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.007798, allocations: 214.7 kB / 0.7835 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.007812, allocations: 11.91 kB / 0.7835 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.007827, allocations: 4 kB / 0.7835 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.007863, allocations: 9.109 kB / 0.7835 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.007896, allocations: 8 kB / 0.7835 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.007903, allocations: 11.86 kB / 0.7835 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.874e-05/0.007931, allocations: 41.98 kB / 0.7836 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007931, allocations: 0 / 0.7836 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001251/0.008057, allocations: 35.94 kB / 0.7836 GB, free: 13.08 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 5.709e-05/0.008114, allocations: 81.41 kB / 0.7837 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.008263, allocations: 278.9 kB / 0.784 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.008267, allocations: 4 kB / 0.784 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.347e-05/0.008321, allocations: 113.9 kB / 0.7841 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.301e-05/0.008414, allocations: 19.45 kB / 0.7841 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.008889, allocations: 316.5 kB / 0.7844 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.416e-05/0.008923, allocations: 71.78 kB / 0.7845 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.00896, allocations: 10.64 kB / 0.7845 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.009035, allocations: 80.02 kB / 0.7845 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of SimCode: time 7.62e-07/0.009036, allocations: 0.9688 kB / 0.7845 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of Templates: time 0.003124/0.01216, allocations: 1.574 MB / 0.7861 GB, free: 10.52 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.798514109104872]