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.001502/0.001502, allocations: 79.69 kB / 21.74 MB, free: 2.512 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.001142/0.001142, allocations: 173.2 kB / 25.18 MB, free: 8.887 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.943/0.943, allocations: 177.1 MB / 205.6 MB, free: 5.062 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.892/1.892, allocations: 389.6 MB / 0.6364 GB, free: 12.21 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.623e-06/1.623e-06, allocations: 0 / 0.7755 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.014e-05, allocations: 3.469 kB / 0.7755 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002929/0.002949, allocations: 2.166 MB / 0.7776 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003974, allocations: 0.7112 MB / 0.7783 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.809e-05/0.004072, allocations: 0 / 0.7783 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.004488, allocations: 97.48 kB / 0.7784 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.004651, allocations: 74.3 kB / 0.7785 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.004802, allocations: 63.69 kB / 0.7785 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.004993, allocations: 163.4 kB / 0.7787 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.005165, allocations: 102.7 kB / 0.7788 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.00533, allocations: 91.8 kB / 0.7789 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.005466, allocations: 56.3 kB / 0.7789 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.005487, allocations: 12.75 kB / 0.7789 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.005599, allocations: 63.81 kB / 0.779 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.00565, allocations: 42.06 kB / 0.779 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.804e-05/0.005708, allocations: 47.84 kB / 0.7791 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.005899, allocations: 131.5 kB / 0.7792 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005901, allocations: 0 / 0.7792 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.32e-07/0.005902, allocations: 0 / 0.7792 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.005907, allocations: 0 / 0.7792 GB, free: 2.254 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.000423/0.00633, allocations: 394.6 kB / 0.7796 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.006362, allocations: 13.34 kB / 0.7796 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.006574, allocations: 48.89 kB / 0.7796 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.006742, allocations: 158.5 kB / 0.7798 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.006786, allocations: 56.16 kB / 0.7798 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.006809, allocations: 15.28 kB / 0.7798 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.006987, allocations: 162.1 kB / 0.78 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006995, allocations: 0 / 0.78 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.007005, allocations: 0 / 0.78 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.007023, allocations: 8 kB / 0.78 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.883e-05/0.007082, allocations: 59.36 kB / 0.7801 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.007539, allocations: 497.6 kB / 0.7805 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.007665, allocations: 64.25 kB / 0.7806 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.007696, allocations: 50.55 kB / 0.7807 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.007706, allocations: 0 / 0.7807 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.007834, allocations: 165.7 kB / 0.7808 GB, free: 428 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.007835, allocations: 0 / 0.7808 GB, free: 428 kB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001624/0.007997, allocations: 174.7 kB / 0.781 GB, free: 228 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.008044, allocations: 133.3 kB / 0.7811 GB, free: 64 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.008151, allocations: 180.6 kB / 0.7813 GB, free: 15.88 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.008162, allocations: 26.83 kB / 0.7813 GB, free: 15.84 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.008217, allocations: 135.7 kB / 0.7814 GB, free: 15.71 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.008234, allocations: 27.83 kB / 0.7815 GB, free: 15.68 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.008276, allocations: 34.42 kB / 0.7815 GB, free: 15.64 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.008351, allocations: 331.3 kB / 0.7818 GB, free: 15.31 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.715e-05/0.008388, allocations: 63.41 kB / 0.7819 GB, free: 15.23 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.825e-05/0.008456, allocations: 150.7 kB / 0.782 GB, free: 15.05 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.00858, allocations: 200.8 kB / 0.7822 GB, free: 14.8 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.008582, allocations: 0 / 0.7822 GB, free: 14.8 MB / 0.7449 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000162/0.008744, allocations: 234.8 kB / 0.7824 GB, free: 14.54 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.008779, allocations: 59.41 kB / 0.7825 GB, free: 14.47 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.008786, allocations: 5.25 kB / 0.7825 GB, free: 14.47 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.008795, allocations: 4 kB / 0.7825 GB, free: 14.46 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.008906, allocations: 42.52 kB / 0.7825 GB, free: 14.43 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.008911, allocations: 4.938 kB / 0.7825 GB, free: 14.42 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.539e-05/0.008976, allocations: 27.84 kB / 0.7826 GB, free: 14.39 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.008985, allocations: 8.469 kB / 0.7826 GB, free: 14.39 MB / 0.7449 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.881e-05/0.009074, allocations: 168 kB / 0.7827 GB, free: 14.21 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.009089, allocations: 11.98 kB / 0.7827 GB, free: 14.2 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.009111, allocations: 13.47 kB / 0.7828 GB, free: 14.18 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.009112, allocations: 0 / 0.7828 GB, free: 14.18 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.009115, allocations: 5.438 kB / 0.7828 GB, free: 14.18 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.009119, allocations: 4.031 kB / 0.7828 GB, free: 14.17 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.811e-05/0.009197, allocations: 100.7 kB / 0.7829 GB, free: 14.05 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009199, allocations: 0 / 0.7829 GB, free: 14.05 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.009256, allocations: 13.11 kB / 0.7829 GB, free: 14.04 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.009258, allocations: 0 / 0.7829 GB, free: 14.04 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.009268, allocations: 8 kB / 0.7829 GB, free: 14.04 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.00927, allocations: 0.9688 kB / 0.7829 GB, free: 14.04 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.009271, allocations: 0 / 0.7829 GB, free: 14.04 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.009456, allocations: 226.1 kB / 0.7831 GB, free: 13.78 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.009473, allocations: 15.91 kB / 0.7831 GB, free: 13.76 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.009489, allocations: 4 kB / 0.7831 GB, free: 13.76 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.009526, allocations: 9.016 kB / 0.7831 GB, free: 13.75 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.009566, allocations: 7.984 kB / 0.7831 GB, free: 13.74 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.009573, allocations: 7.938 kB / 0.7831 GB, free: 13.73 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 3.23e-05/0.009605, allocations: 46.38 kB / 0.7832 GB, free: 13.69 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.009605, allocations: 0 / 0.7832 GB, free: 13.69 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001332/0.009738, allocations: 32 kB / 0.7832 GB, free: 13.66 MB / 0.7449 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 7.816e-05/0.009817, allocations: 81.39 kB / 0.7833 GB, free: 13.57 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.009984, allocations: 274.2 kB / 0.7836 GB, free: 13.26 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.009991, allocations: 0 / 0.7836 GB, free: 13.26 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 5.922e-05/0.01005, allocations: 119.4 kB / 0.7837 GB, free: 13.12 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.01018, allocations: 19.98 kB / 0.7837 GB, free: 13.1 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.01073, allocations: 345 kB / 0.784 GB, free: 12.73 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.564e-05/0.01079, allocations: 105.2 kB / 0.7841 GB, free: 12.6 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.601e-05/0.01088, allocations: 79.36 kB / 0.7842 GB, free: 12.52 MB / 0.7449 GB Notification: Performance of SimCode: time 8.41e-07/0.01088, allocations: 0 / 0.7842 GB, free: 12.52 MB / 0.7449 GB Notification: Performance of Templates: time 0.002665/0.01354, allocations: 1.783 MB / 0.7859 GB, free: 10.82 MB / 0.7449 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 > Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.689839648082852]