Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.001438/0.001438, allocations: 80.81 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.001505/0.001505, allocations: 164.5 kB / 24.96 MB, free: 8.711 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.873/0.873, allocations: 177.2 MB / 205.4 MB, free: 4.484 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.887/1.887, allocations: 389.6 MB / 0.6361 GB, free: 13.41 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.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.776 GB, free: 14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/1.986e-05, allocations: 6.25 kB / 0.776 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003885/0.003905, allocations: 3.742 MB / 0.7796 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002548/0.006452, allocations: 2.597 MB / 0.7822 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.006607, allocations: 15.88 kB / 0.7822 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006294/0.007237, allocations: 226.7 kB / 0.7824 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.00768, allocations: 389.6 kB / 0.7828 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.007939, allocations: 207.5 kB / 0.783 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000469/0.008408, allocations: 0.6264 MB / 0.7836 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.008735, allocations: 357.7 kB / 0.7839 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004267/0.009162, allocations: 447.1 kB / 0.7843 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.009424, allocations: 259.4 kB / 0.7846 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.009467, allocations: 40 kB / 0.7846 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.009692, allocations: 203.6 kB / 0.7848 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.009811, allocations: 183.5 kB / 0.785 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.009922, allocations: 155.7 kB / 0.7851 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.01034, allocations: 0.5101 MB / 0.7856 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.01034, allocations: 0 / 0.7856 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.52e-07/0.01035, allocations: 0 / 0.7856 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.01035, allocations: 0 / 0.7856 GB, free: 4.047 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008842/0.01123, allocations: 0.6355 MB / 0.7863 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.01126, allocations: 8.031 kB / 0.7863 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007894/0.01205, allocations: 232.5 kB / 0.7865 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.01236, allocations: 313.6 kB / 0.7868 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.01238, allocations: 21.03 kB / 0.7868 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.01243, allocations: 32.31 kB / 0.7868 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.01289, allocations: 440.5 kB / 0.7873 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.01291, allocations: 11.91 kB / 0.7873 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.01293, allocations: 12 kB / 0.7873 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-05/0.01298, allocations: 28.58 kB / 0.7873 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.01317, allocations: 136.5 kB / 0.7874 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.01447, allocations: 1.358 MB / 0.7888 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.01474, allocations: 161.2 kB / 0.7889 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.86e-05/0.0148, allocations: 40.86 kB / 0.789 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.01484, allocations: 11.98 kB / 0.789 GB, free: 500 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.01486, allocations: 42.5 kB / 0.789 GB, free: 448 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.01486, allocations: 0 / 0.789 GB, free: 448 kB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.001935/0.01679, allocations: 0.6878 MB / 0.7897 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.01682, allocations: 51.41 kB / 0.7897 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.01697, allocations: 290.8 kB / 0.79 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.01699, allocations: 25.7 kB / 0.79 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.01708, allocations: 212.8 kB / 0.7902 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.01711, allocations: 63.45 kB / 0.7903 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.01719, allocations: 57.86 kB / 0.7904 GB, free: 15 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.01727, allocations: 342.8 kB / 0.7907 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.028e-05/0.01734, allocations: 49.77 kB / 0.7907 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.01744, allocations: 147.1 kB / 0.7909 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.0176, allocations: 173.8 kB / 0.791 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.0176, allocations: 0 / 0.791 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005283/0.01813, allocations: 313 kB / 0.7913 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.01815, allocations: 11.98 kB / 0.7913 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.01815, allocations: 0 / 0.7913 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009464/0.0191, allocations: 371.3 kB / 0.7917 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.01927, allocations: 63.89 kB / 0.7918 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.02073, allocations: 1.425 MB / 0.7932 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.02088, allocations: 15.98 kB / 0.7932 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.0209, allocations: 15.94 kB / 0.7932 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001222/0.02102, allocations: 131.4 kB / 0.7933 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.637e-05/0.02112, allocations: 139.6 kB / 0.7934 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001517/0.02127, allocations: 159 kB / 0.7936 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.02127, allocations: 4 kB / 0.7936 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0003005/0.02158, allocations: 229 kB / 0.7938 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.02158, allocations: 12.19 kB / 0.7938 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.02159, allocations: 8 kB / 0.7938 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/0.02178, allocations: 67.62 kB / 0.7939 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.02194, allocations: 63.88 kB / 0.794 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007094/0.02265, allocations: 1.332 MB / 0.7953 GB, free: 9.629 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.02279, allocations: 24.02 kB / 0.7953 GB, free: 9.605 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.02281, allocations: 7.984 kB / 0.7953 GB, free: 9.598 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (25): * Single equations (assignments): 24 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 8.597e-05/0.0229, allocations: 200.1 kB / 0.7955 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.02294, allocations: 23.97 kB / 0.7955 GB, free: 9.371 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.02347, allocations: 288 kB / 0.7958 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.02347, allocations: 0 / 0.7958 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.02347, allocations: 0 / 0.7958 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.02348, allocations: 0 / 0.7958 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006793/0.02416, allocations: 0.5578 MB / 0.7963 GB, free: 8.488 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02416, allocations: 0 / 0.7963 GB, free: 8.488 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.02426, allocations: 40.03 kB / 0.7964 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005764/0.02484, allocations: 295.3 kB / 0.7966 GB, free: 8.156 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.02485, allocations: 11.98 kB / 0.7967 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009047/0.02576, allocations: 1.389 MB / 0.798 GB, free: 6.656 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.02576, allocations: 7.984 kB / 0.798 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.02614, allocations: 366.2 kB / 0.7984 GB, free: 6.262 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.02621, allocations: 51.78 kB / 0.7984 GB, free: 6.211 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.02623, allocations: 8 kB / 0.7984 GB, free: 6.203 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.02635, allocations: 7.984 kB / 0.7984 GB, free: 6.195 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.0264, allocations: 27.84 kB / 0.7985 GB, free: 6.168 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.02641, allocations: 4 kB / 0.7985 GB, free: 6.164 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.815e-05/0.0265, allocations: 108.6 kB / 0.7986 GB, free: 6.055 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.0265, allocations: 4 kB / 0.7986 GB, free: 6.051 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003267/0.02683, allocations: 164 kB / 0.7987 GB, free: 5.891 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000106/0.02693, allocations: 88.36 kB / 0.7988 GB, free: 5.797 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005539/0.02749, allocations: 0.5345 MB / 0.7993 GB, free: 5.23 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.02749, allocations: 4 kB / 0.7993 GB, free: 5.227 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.02792, allocations: 211.8 kB / 0.7995 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.02822, allocations: 120.8 kB / 0.7997 GB, free: 4.887 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009444/0.02917, allocations: 0.7435 MB / 0.8004 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.996e-05/0.02926, allocations: 149.2 kB / 0.8005 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001871/0.02944, allocations: 78.95 kB / 0.8006 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.02965, allocations: 125.3 kB / 0.8007 GB, free: 3.734 MB / 0.7605 GB Notification: Performance of SimCode: time 8.31e-07/0.02965, allocations: 0 / 0.8007 GB, free: 3.734 MB / 0.7605 GB Notification: Performance of Templates: time 0.3326/0.3623, allocations: 9.58 MB / 0.8101 GB, free: 34.05 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.118835794739425]