Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.002263/0.002263, allocations: 80.52 kB / 19.96 MB, free: 4.598 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.002091/0.002091, allocations: 173.2 kB / 23.23 MB, free: 1.324 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 1.554/1.554, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] 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 3.071/3.071, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 176] 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.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/2.969e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.005032/0.005061, allocations: 2.839 MB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003289/0.00835, allocations: 1.757 MB / 1.006 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.008485, allocations: 7.938 kB / 1.006 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0009897/0.009475, allocations: 231 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000808/0.01028, allocations: 210.8 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006243/0.01091, allocations: 235.1 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.01137, allocations: 330.9 kB / 1.007 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.01173, allocations: 154.4 kB / 1.007 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.01207, allocations: 187.5 kB / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.01237, allocations: 135.6 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.01242, allocations: 24 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005321/0.01295, allocations: 267.2 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.01308, allocations: 87.73 kB / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.01321, allocations: 83.8 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009595/0.01417, allocations: 462.6 kB / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.01418, allocations: 4 kB / 1.008 GB, free: 6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.362e-06/0.01418, allocations: 0 / 1.008 GB, free: 6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.01418, allocations: 0 / 1.008 GB, free: 6 MB / 0.9636 GB 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.0009807/0.01517, allocations: 0.4894 MB / 1.008 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.0152, allocations: 13.28 kB / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009008/0.01611, allocations: 112.7 kB / 1.008 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.01649, allocations: 211.9 kB / 1.009 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.01651, allocations: 12.75 kB / 1.009 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.01656, allocations: 20.38 kB / 1.009 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007842/0.01735, allocations: 416.9 kB / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.01737, allocations: 8.141 kB / 1.009 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.0174, allocations: 8.359 kB / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.919e-05/0.01747, allocations: 44.16 kB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007539/0.01822, allocations: 328.7 kB / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.02038, allocations: 1.389 MB / 1.011 GB, free: 2.816 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007815/0.02116, allocations: 320.9 kB / 1.011 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.02147, allocations: 147.7 kB / 1.011 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.02158, allocations: 11.98 kB / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.02162, allocations: 34.56 kB / 1.011 GB, free: 2.281 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.953e-06/0.02162, allocations: 0 / 1.011 GB, free: 2.281 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21): time 0.001498/0.02312, allocations: 0.5288 MB / 1.012 GB, free: 1.742 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.02318, allocations: 81.11 kB / 1.012 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.02348, allocations: 208.3 kB / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.02352, allocations: 33.7 kB / 1.012 GB, free: 1.395 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.02364, allocations: 160.2 kB / 1.012 GB, free: 1.234 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.538e-05/0.02372, allocations: 79.36 kB / 1.012 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.02384, allocations: 57.98 kB / 1.012 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.02401, allocations: 330.8 kB / 1.013 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.02436, allocations: 149.8 kB / 1.013 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.02476, allocations: 219.3 kB / 1.013 GB, free: 372 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000745/0.0255, allocations: 383.7 kB / 1.013 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.0255, allocations: 0 / 1.013 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001009/0.02651, allocations: 453.8 kB / 1.014 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.02653, allocations: 4 kB / 1.014 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.02654, allocations: 4 kB / 1.014 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.02676, allocations: 53.09 kB / 1.014 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.02715, allocations: 71.88 kB / 1.014 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.02911, allocations: 1.477 MB / 1.015 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.02947, allocations: 39.91 kB / 1.016 GB, free: 13.74 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.0295, allocations: 12 kB / 1.016 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004397/0.02994, allocations: 248.6 kB / 1.016 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004/0.03034, allocations: 218.9 kB / 1.016 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006728/0.03101, allocations: 361.2 kB / 1.016 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.03101, allocations: 0 / 1.016 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009688/0.03198, allocations: 433.8 kB / 1.017 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.03199, allocations: 10.34 kB / 1.017 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.032, allocations: 4 kB / 1.017 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/0.03217, allocations: 45.17 kB / 1.017 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.03257, allocations: 75.86 kB / 1.017 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.03419, allocations: 1.482 MB / 1.018 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.0345, allocations: 36.11 kB / 1.018 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.03453, allocations: 12 kB / 1.018 GB, free: 10.64 MB / 0.9792 GB 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.0002066/0.03474, allocations: 196.1 kB / 1.019 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.03481, allocations: 23.89 kB / 1.019 GB, free: 10.42 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008107/0.03562, allocations: 363.9 kB / 1.019 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.03562, allocations: 4 kB / 1.019 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.03563, allocations: 4 kB / 1.019 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.03563, allocations: 0 / 1.019 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.03726, allocations: 0.8684 MB / 1.02 GB, free: 9.117 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.03726, allocations: 0 / 1.02 GB, free: 9.117 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.03751, allocations: 47.95 kB / 1.02 GB, free: 9.07 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/0.03766, allocations: 48.98 kB / 1.02 GB, free: 9.02 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.03768, allocations: 0 / 1.02 GB, free: 9.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.03916, allocations: 1.386 MB / 1.021 GB, free: 7.531 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.03917, allocations: 4.031 kB / 1.021 GB, free: 7.527 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.04028, allocations: 0.534 MB / 1.022 GB, free: 6.957 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.0404, allocations: 47.77 kB / 1.022 GB, free: 6.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.04043, allocations: 8 kB / 1.022 GB, free: 6.902 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.0407, allocations: 24.11 kB / 1.022 GB, free: 6.879 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.04079, allocations: 31.88 kB / 1.022 GB, free: 6.848 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.04081, allocations: 11.94 kB / 1.022 GB, free: 6.836 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002279/0.04104, allocations: 160.1 kB / 1.022 GB, free: 6.68 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1e-07/0.04104, allocations: 0 / 1.022 GB, free: 6.68 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006442/0.04168, allocations: 116 kB / 1.022 GB, free: 6.566 MB / 0.9792 GB 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.000195/0.04188, allocations: 109.4 kB / 1.022 GB, free: 6.453 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.04351, allocations: 0.7316 MB / 1.023 GB, free: 5.695 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.04351, allocations: 0 / 1.023 GB, free: 5.695 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004662/0.04398, allocations: 267.5 kB / 1.023 GB, free: 5.422 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.04446, allocations: 38.22 kB / 1.023 GB, free: 5.387 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.04561, allocations: 0.5392 MB / 1.024 GB, free: 4.797 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.04582, allocations: 165.5 kB / 1.024 GB, free: 4.613 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003006/0.04612, allocations: 89.86 kB / 1.024 GB, free: 4.523 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.0462, allocations: 20.5 kB / 1.024 GB, free: 4.504 MB / 0.9792 GB Notification: Performance of SimCode: time 8.11e-07/0.0462, allocations: 0 / 1.024 GB, free: 4.504 MB / 0.9792 GB Notification: Performance of Templates: time 0.008916/0.05512, allocations: 3.633 MB / 1.028 GB, free: 0.9141 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.700895208865404]