Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.001339/0.001339, allocations: 82.64 kB / 19.94 MB, free: 1.781 MB / 14.72 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.001406/0.001406, allocations: 163.3 kB / 23.22 MB, free: 4.902 MB / 14.72 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 1.401/1.401, allocations: 177.1 MB / 203.5 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9046/0.9046, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.5547 GB, free: 2.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.723e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.00453/0.004557, allocations: 2.832 MB / 0.5574 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.00782, allocations: 1.768 MB / 0.5591 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.008002, allocations: 4 kB / 0.5591 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009414/0.008944, allocations: 230.9 kB / 0.5594 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005897/0.009533, allocations: 214.8 kB / 0.5596 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.01017, allocations: 227.2 kB / 0.5598 GB, free: 13.35 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005044/0.01067, allocations: 326.8 kB / 0.5601 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003713/0.01104, allocations: 146.4 kB / 0.5602 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004074/0.01145, allocations: 191.5 kB / 0.5604 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.01179, allocations: 143.6 kB / 0.5606 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.608e-05/0.01184, allocations: 24 kB / 0.5606 GB, free: 12.53 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005001/0.01234, allocations: 255.4 kB / 0.5608 GB, free: 12.28 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.01247, allocations: 91.72 kB / 0.5609 GB, free: 12.19 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.01261, allocations: 75.83 kB / 0.561 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007752/0.01338, allocations: 478.5 kB / 0.5614 GB, free: 11.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01338, allocations: 0 / 0.5614 GB, free: 11.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.01339, allocations: 0 / 0.5614 GB, free: 11.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.0134, allocations: 0 / 0.5614 GB, free: 11.64 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001049/0.01445, allocations: 497.2 kB / 0.5619 GB, free: 11.12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.01449, allocations: 12.62 kB / 0.5619 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.0155, allocations: 116.6 kB / 0.562 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.01592, allocations: 210.5 kB / 0.5622 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.01594, allocations: 12.75 kB / 0.5623 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.016, allocations: 16.38 kB / 0.5623 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007854/0.01678, allocations: 420.9 kB / 0.5627 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.0168, allocations: 192 / 0.5627 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.01684, allocations: 12.38 kB / 0.5627 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/0.01688, allocations: 24.25 kB / 0.5627 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007425/0.01763, allocations: 348.6 kB / 0.563 GB, free: 9.914 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.01963, allocations: 1.401 MB / 0.5644 GB, free: 8.453 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007438/0.02038, allocations: 317 kB / 0.5647 GB, free: 8.125 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.02067, allocations: 145.6 kB / 0.5648 GB, free: 7.977 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.02078, allocations: 11.98 kB / 0.5649 GB, free: 7.965 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.02081, allocations: 30.56 kB / 0.5649 GB, free: 7.926 MB / 478.1 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.02081, allocations: 0 / 0.5649 GB, free: 7.926 MB / 478.1 MB Notification: Performance of matching and sorting (n=21): time 0.001423/0.02223, allocations: 0.53 MB / 0.5654 GB, free: 7.387 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.0223, allocations: 81.11 kB / 0.5655 GB, free: 7.289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.02258, allocations: 211.3 kB / 0.5657 GB, free: 7.074 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.02261, allocations: 25.7 kB / 0.5657 GB, free: 7.043 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.02272, allocations: 160.2 kB / 0.5659 GB, free: 6.883 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.0228, allocations: 79.38 kB / 0.5659 GB, free: 6.805 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.02291, allocations: 57.92 kB / 0.566 GB, free: 6.742 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.02306, allocations: 334.8 kB / 0.5663 GB, free: 6.406 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.02339, allocations: 145.9 kB / 0.5665 GB, free: 6.262 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.02377, allocations: 223.3 kB / 0.5667 GB, free: 6.008 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006908/0.02446, allocations: 384.2 kB / 0.567 GB, free: 5.598 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.02447, allocations: 3.938 kB / 0.567 GB, free: 5.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009971/0.02546, allocations: 449.9 kB / 0.5675 GB, free: 5.145 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.02548, allocations: 4 kB / 0.5675 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.02549, allocations: 4 kB / 0.5675 GB, free: 5.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002527/0.02574, allocations: 41.17 kB / 0.5675 GB, free: 5.094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.02612, allocations: 83.8 kB / 0.5676 GB, free: 5.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.02778, allocations: 1.481 MB / 0.569 GB, free: 3.426 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.02812, allocations: 39.91 kB / 0.5691 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.02816, allocations: 8 kB / 0.5691 GB, free: 3.379 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004209/0.02858, allocations: 248.7 kB / 0.5693 GB, free: 3.133 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000369/0.02895, allocations: 226.9 kB / 0.5695 GB, free: 2.875 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006845/0.02963, allocations: 356.1 kB / 0.5699 GB, free: 2.492 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.834e-06/0.02963, allocations: 0 / 0.5699 GB, free: 2.492 MB / 478.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009066/0.03054, allocations: 427.4 kB / 0.5703 GB, free: 2.066 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.03055, allocations: 11.94 kB / 0.5703 GB, free: 2.055 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.03056, allocations: 4 kB / 0.5703 GB, free: 2.051 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.03071, allocations: 45.34 kB / 0.5703 GB, free: 2.004 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.03108, allocations: 75.88 kB / 0.5704 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.03254, allocations: 1.478 MB / 0.5719 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.03284, allocations: 35.89 kB / 0.5719 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.03287, allocations: 12.06 kB / 0.5719 GB, free: 304 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.03301, allocations: 199.4 kB / 0.5721 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.8e-05/0.03309, allocations: 23.86 kB / 0.5721 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007297/0.03382, allocations: 354.5 kB / 0.5725 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.03383, allocations: 4 kB / 0.5725 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.03383, allocations: 3.938 kB / 0.5725 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.03384, allocations: 7.984 kB / 0.5725 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.03528, allocations: 0.8619 MB / 0.5733 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.03529, allocations: 8.062 kB / 0.5733 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.03552, allocations: 47.95 kB / 0.5734 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.03564, allocations: 37.05 kB / 0.5734 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.03566, allocations: 8 kB / 0.5734 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.03692, allocations: 1.386 MB / 0.5748 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.03693, allocations: 15.86 kB / 0.5748 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007653/0.03769, allocations: 0.5386 MB / 0.5753 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.0378, allocations: 43.81 kB / 0.5753 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.03784, allocations: 8 kB / 0.5754 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.03813, allocations: 19.97 kB / 0.5754 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/0.0382, allocations: 23.91 kB / 0.5754 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.03822, allocations: 15.98 kB / 0.5754 GB, free: 12.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.03842, allocations: 152.2 kB / 0.5756 GB, free: 12.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03842, allocations: 0 / 0.5756 GB, free: 12.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008007/0.03922, allocations: 112 kB / 0.5757 GB, free: 12.24 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001757/0.0394, allocations: 119.1 kB / 0.5758 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.04096, allocations: 0.7446 MB / 0.5765 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.04096, allocations: 0 / 0.5765 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004283/0.04139, allocations: 255.6 kB / 0.5767 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.04186, allocations: 41.36 kB / 0.5768 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.04286, allocations: 0.5393 MB / 0.5773 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.04305, allocations: 165.5 kB / 0.5775 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002605/0.04331, allocations: 93.95 kB / 0.5776 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.465e-05/0.0434, allocations: 28.48 kB / 0.5776 GB, free: 10.16 MB / 494.1 MB Notification: Performance of SimCode: time 4.1e-07/0.0434, allocations: 0 / 0.5776 GB, free: 10.16 MB / 494.1 MB Notification: Performance of Templates: time 0.008311/0.05172, allocations: 3.623 MB / 0.5811 GB, free: 6.578 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.27130788564682] Failed to read output from testmodel.py, exit status != 0: 0.06055760756134987 0.075772422 0.059170703000000005 Calling exit ...